[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1302510940.2388.10.camel@twins>
Date: Mon, 11 Apr 2011 10:35:40 +0200
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Lin Ming <ming.m.lin@...el.com>
Cc: Oleg Nesterov <oleg@...hat.com>, Jiri Olsa <jolsa@...hat.com>,
Ingo Molnar <mingo@...e.hu>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Stephane Eranian <eranian@...gle.com>
Subject: Re: [RFC][PATCH 2/9] perf: Clean up ctx reference counting
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists