[lkml]   [2016]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] RFC: dm: avoid the mutex lock in dm_bufio_shrink_count()
On Wed, 23 Nov 2016, Mikulas Patocka wrote:

> From: Mikulas Patocka <>
> 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 <>

Acked-by: David Rientjes <>

 \ /
  Last update: 2016-11-29 01:56    [W:0.066 / U:2.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site