[prev in list] [next in list] [prev in thread] [next in thread]
List: dm-devel
Subject: Re: [dm-devel] [PATCH] RFC: dm: avoid the mutex lock in dm_bufio_shrink_count()
From: David Rientjes <rientjes () google ! com>
Date: 2016-11-29 0:56:18
Message-ID: alpine.DEB.2.10.1611281656020.107214 () chino ! kir ! corp ! google ! com
[Download RAW message or body]
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>
--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic