lkml.org 
[lkml]   [2014]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] mm/zswap.c: add lock helper
On Fri, May 02, 2014 at 06:35:10PM +0200, Fabian Frederick wrote:
> &tree->lock is used all over the place
>
[..]
> + spinlock_t *lock = &tree->lock;
>
> if (!tree)
> return;
>

Rather fishy, although I'm unsure if this is a real problem.

--
Mateusz Guzik


\
 
 \ /
  Last update: 2014-05-02 21:01    [W:0.330 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site