[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <19150.24403.892990.320696@cargo.ozlabs.ibm.com>
Date: Fri, 9 Oct 2009 08:53:23 +1100
From: Paul Mackerras <paulus@...ba.org>
To: Frederic Weisbecker <fweisbec@...il.com>
Cc: Ingo Molnar <mingo@...e.hu>, LKML <linux-kernel@...r.kernel.org>,
Steven Rostedt <rostedt@...dmis.org>,
Peter Zijlstra <peterz@...radead.org>,
Li Zefan <lizf@...fujitsu.com>
Subject: Re: [PATCH 1/2] tracing: Check total refcount before releasing
bufs in profile_enable failure
Frederic Weisbecker writes:
> No, because now we only increment total_profile_count if
> nothing has failed. This is even the last thing done
> in the succeeded path. So if we fail and need to free, it
> means its values is still 0.
Ah yes, good point.
Paul.
--
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