diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2016-11-23 16:52:01 -0500 |
|---|---|---|
| committer | Mike Snitzer <snitzer@redhat.com> | 2016-12-08 14:13:04 -0500 |
| commit | d12067f428c037b4575aaeb2be00847fc214c24a (patch) | |
| tree | 7998dcb07191152c9e5ce83d0e44eaece082f1e6 /net/lapb/lapb_subr.c | |
| parent | 9ea61cac0b1ad0c09022f39fd97e9b99a2cfc2dc (diff) | |
dm bufio: don't take the lock in dm_bufio_shrink_count
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>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
