[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080819115317.GD1488@erda.amd.com>
Date: Tue, 19 Aug 2008 13:53:18 +0200
From: Robert Richter <robert.richter@....com>
To: Arnd Bergmann <arnd@...db.de>
CC: linuxppc-dev@...abs.org, cbe-oss-dev@...abs.org,
linux-kernel <linux-kernel@...r.kernel.org>,
oprofile-list@...ts.sourceforge.net,
Paul Mackerras <paulus@...ba.org>, cel <cel@...ux.vnet.ibm.com>
Subject: Re: powerpc/cell/oprofile: avoid double free of profile buffer
On 11.08.08 09:25:43, Arnd Bergmann wrote:
> From: Carl Love <cel@...ibm.com>
>
> If an error occurs on opcontrol start, the event and per cpu buffers
> are released. If later opcontrol shutdown is called then the free
> function will be called again to free buffers that no longer
> exist. This results in a kernel oops. The following changes
> prevent the call to delete buffers that don't exist.
>
> Signed-off-by: Carl Love <carll@...ibm.com>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Acked-by: Robert Richter <robert.richter@....com>
-Robert
--
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@....com
--
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