Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 24d0cad2 authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Martijn Coenen
Browse files

BACKPORT: dm bufio: call adjust_total_allocated from __link_buffer and __unlink_buffer



Move the call to adjust_total_allocated() to __link_buffer() and
__unlink_buffer() so that only used buffers are counted.  Reserved
buffers are not.

Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
(cherry picked from commit 26d2ef0cd0f7c12aa331b502c1c1460b85ebd04f)

Bug: 136247322
Change-Id: Ia47e99082a4c1a2acf5f5b5aab1a21fd8b6300df
Signed-off-by: default avatarMartijn Coenen <maco@android.com>
parent bba6a59f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment