Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1531834 > unrolled thread

Re: [PATCH] RFC: dm: avoid the mutex lock in dm_bufio_shrink_count()

Started byDavid Rientjes <rientjes@google.com>
First post2016-11-29 02:00 +0100
Last post2016-11-29 02:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] RFC: dm: avoid the mutex lock in  dm_bufio_shrink_count() David Rientjes <rientjes@google.com> - 2016-11-29 02:00 +0100

#1531834 — Re: [PATCH] RFC: dm: avoid the mutex lock in dm_bufio_shrink_count()

FromDavid Rientjes <rientjes@google.com>
Date2016-11-29 02:00 +0100
SubjectRe: [PATCH] RFC: dm: avoid the mutex lock in dm_bufio_shrink_count()
Message-ID<sIEW5-Wo-9@gated-at.bofh.it>
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>

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web