Re: kmemleak: Protect the seq start/next/stop sequence byrcu_read_lock()

From: Linus Torvalds
Date: Wed Aug 12 2009 - 11:32:58 EST




On Wed, 12 Aug 2009, Catalin Marinas wrote:
>
> If the object size is bigger than a predefined value (4K in this case),
> release the object lock during scanning and call cond_resched().

What guarantees that the object isn't released during this?

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/