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

From: Pavel Emelianov
Date: Wed Apr 18 2007 - 02:59:17 EST


Pekka Enberg wrote:
> On 4/17/07, Pavel Emelianov <xemul@xxxxx> 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@xxxxxxxxxxxxxx>
>

-
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/