diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2016-11-23 16:52:01 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-11 16:03:51 +0200 |
| commit | 5be6e45d184c8a9dfa35626092b7a71e42ef5ee2 (patch) | |
| tree | 40fc2b8a82df2ab2bd998de8a5a50bbe312c33ec /mm/page_alloc.c | |
| parent | bf4e6336ccbc57bb8898c6fadd904139dd9bd927 (diff) | |
dm bufio: don't take the lock in dm_bufio_shrink_count
commit d12067f428c037b4575aaeb2be00847fc214c24a upstream.
dm_bufio_shrink_count() is called from do_shrink_slab to find out how many
freeable objects are there. The reported value doesn't have to be precise,
so we don't need to take the dm-bufio lock.
Suggested-by: David Rientjes <rientjes@google.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions
