Messages in this thread | | | Subject | Re: [BUILD_FAILURE] next-20090115 - s390x - mm/kmemleak.c | From | Catalin Marinas <> | Date | Thu, 15 Jan 2009 17:00:38 +0000 |
| |
On Thu, 2009-01-15 at 13:05 +0100, Heiko Carstens wrote: > Btw. you have > > /* > * Stop the automatic memory scanning thread. This function must be called > * with the kmemleak_mutex held. > */ > void stop_scan_thread(void) > { > ... > > but call the function unlocked from kmemleak_write. Looks like a bug ;)
kmemleak_write() is called with the kmemleak_mutex acquired in the kmemleak_open() function (and released in kmemleak_release()).
-- Catalin
| |