OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 0/5] Kernel memory accounting container (v4)
Re: [PATCH 2/5] Generic notifiers for SLUB events [message #21104 is a reply to message #21043] Mon, 01 October 2007 20:39 Go to previous messageGo to previous message
Christoph Lameter is currently offline  Christoph Lameter
Messages: 123
Registered: September 2006
Senior Member
On Mon, 1 Oct 2007, Pavel Emelyanov wrote:

> > Should the default be on? Shouldn't it depend on KMEM?
> 
> Well... I think that is should be N by default and has
> noting to do with the KMEM :) Thanks for noticing.

Right.

> >> +#ifdef CONFIG_SLUB_NOTIFY
> >> +	srcu_init_notifier_head(&slub_nb);
> > 
> > Can we get rid of the #ifdef CONFIG_SLUB_NOTIFY?
> 
> I don't think this is really useful in the __init code :)

You could define some macros that avoid the #ifdefs?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Thoughts on virtualizing task containers
Next Topic: [PATCH 0/3] capabilities: per-process capbset
Goto Forum:
  


Current Time: Mon Oct 27 22:21:02 GMT 2025

Total time taken to generate the page: 0.22454 seconds