Re: powerpc/cell/oprofile: fix mutex locking for spu-oprofile

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Wednesday, August 20, 2008 - 5:05 am

On Wednesday 20 August 2008, Robert Richter wrote:

As an explanation, the removal of add_event_entry is the whole point
of this patch. add_event_entry must only be called with buffer_mutex
held, but buffer_mutex itself is not exported.
I'm pretty sure that no other user of add_event_entry exists, as it
was exported specifically for the SPU support and that never worked.
Any other (theoretical) code using it would be broken in the same way
and need a corresponding fix.

We can easily leave the declaration in place, but I'd recommend removing
it eventually. If you prefer to keep it, how about marking it as
__deprecated?

	Arnd <><
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
please pull cell merge branch, Arnd Bergmann, (Sat Aug 9, 6:13 am)
Re: please pull cell merge branch, Paul Mackerras, (Sun Aug 10, 4:17 pm)
Re: [Cbe-oss-dev] please pull cell merge branch, Arnd Bergmann, (Mon Aug 11, 12:18 am)
powerpc/cell/oprofile: fix mutex locking for spu-oprofile, Arnd Bergmann, (Mon Aug 11, 12:25 am)
powerpc/cell/oprofile: avoid double free of profile buffer, Arnd Bergmann, (Mon Aug 11, 12:25 am)
Re: [Cbe-oss-dev] please pull cell merge branch, Carl Love, (Mon Aug 11, 8:34 am)
Re: powerpc/cell/oprofile: fix mutex locking for spu-oprofile, Arnd Bergmann, (Wed Aug 20, 5:05 am)