[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A8A0B0D.6080400@redhat.com>
Date: Tue, 18 Aug 2009 09:59:41 +0800
From: Amerigo Wang <amwang@...hat.com>
To: Christoph Lameter <cl@...ux-foundation.org>
CC: Pekka Enberg <penberg@...helsinki.fi>, Ingo Molnar <mingo@...e.hu>,
linux-kernel@...r.kernel.org,
Vegard Nossum <vegard.nossum@...il.com>,
Eduard - Gabriel Munteanu <eduard.munteanu@...ux360.ro>,
Thomas Gleixner <tglx@...utronix.de>, linux-mm@...ck.org,
David Rientjes <rientjes@...gle.com>,
Matt Mackall <mpm@...enic.com>,
Arjan van de Ven <arjan@...ux.intel.com>
Subject: Re: [Patch] proc: drop write permission on 'timer_list' and 'slabinfo'
Christoph Lameter wrote:
> On Mon, 17 Aug 2009, Pekka Enberg wrote:
>
>
>>> slab needs the write permissions for tuning!
>>>
>> Oh, crap, you're right, I had forgotten about that. It's probably best to keep
>> slub permissions as-is, no?
>>
Oops! I misread the code... sorry.
>
> slub perms can be changed. The patch is okay for that. But there is no
> write method in slub. Effectively it makes no difference. Just the
> display is nicer in /proc.
>
>
>
Ah, ok, I update this part of patch, attached.
Thanks!
Signed-off-by: WANG Cong <amwang@...hat.com>
View attachment "proc-file-write-permission-fix2.diff" of type "text/plain" (423 bytes)
Powered by blists - more mailing lists