Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1531834
| From | David Rientjes <rientjes@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] RFC: dm: avoid the mutex lock in dm_bufio_shrink_count() |
| Date | 2016-11-29 02:00 +0100 |
| Message-ID | <sIEW5-Wo-9@gated-at.bofh.it> (permalink) |
| References | <sECpP-67V-1@gated-at.bofh.it> <sEDlU-6OX-51@gated-at.bofh.it> <sGMEp-1gq-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 23 Nov 2016, Mikulas Patocka wrote: > From: Mikulas Patocka <mpatocka@redhat.com> > > 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. > > Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Acked-by: David Rientjes <rientjes@google.com>
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] RFC: dm: avoid the mutex lock in dm_bufio_shrink_count() David Rientjes <rientjes@google.com> - 2016-11-29 02:00 +0100
csiph-web