Re: Common [01/19] slub: Add debugging to verify correct cache use on kmem_cache_free()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2 Aug 2012, Christoph Lameter wrote:

> This condition is pretty serious. The free action will be skipped
> and we will be continually leaking memory. I think its best to keep on
> logging this until someohne does something about the problem.
> 

Dozens of lines will be emitted to the kernel log because a stack trace is 
printed every time a bogus kmem_cache_free() is called, perhaps change the 
WARN_ON(1) to at least a WARN_ON_ONCE(1)?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]