[Devel] Re: [PATCH] Show slab memory usage on OOM and SysRq-M (v2)

Pavel Emelianov xemul at sw.ru
Wed Apr 18 00:03:05 PDT 2007


Pekka Enberg wrote:
> On 4/17/07, Pavel Emelianov <xemul at sw.ru> wrote:
>> The out_of_memory() function and SysRq-M handler call
>> show_mem() to show the current memory usage state.
> 
> I am still somewhat unhappy about the spinlock, but I don't really

What's wrong with the spinlock? It exists there without my
patch, I just make ++/-- of unatomic variable under this lock :)

> have a better suggestion either. Other than that, looks good to me.
> 
> Acked-by: Pekka Enberg <penberg at cs.helsinki.fi>
> 




More information about the Devel mailing list