lkml.org 
[lkml]   [2011]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH 2/9] perf: Clean up ctx reference counting
From
Date
On Mon, 2011-04-11 at 14:05 +0800, Lin Ming wrote:

> > + put_ctx(ctx);
>
> You moved the get_ctx(), so it seems that this put_ctx is missing its
> relevant get_ctx.

Yeah, its cheating since we initialize the refcount on 1.


\
 
 \ /
  Last update: 2011-04-11 10:39    [W:1.874 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site