lkml.org 
[lkml]   [2014]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/3] FS-Cache: Reduce cookie ref count if submit fails.
Date
Milosz Tanski <milosz@adfin.com> wrote:

> + wake_cookie = __fscache_unuse_cookie(cookie);
> spin_unlock(&cookie->lock);
> + if (wake_cookie)
> + __fscache_wake_unused_cookie(cookie);

Why do __fscache_unuse_cookie() with cookie->lock held?

David


\
 
 \ /
  Last update: 2014-07-29 18:21    [W:0.070 / U:2.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site