[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFPAmTSR_Lvsi2+Uid3a9RQK5bBnN3vD_cje6o02f-gBusCJHQ@mail.gmail.com>
Date: Tue, 13 Mar 2012 13:34:39 +0530
From: Kautuk Consul <consul.kautuk@...il.com>
To: Kautuk Consul <consul.kautuk@...il.com>, minchan@...nel.org,
riel@...hat.com, kosaki.motohiro@...fujitsu.com,
Zheng Liu <wenqing.lz@...bao.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: Fwd: Control page reclaim granularity
>
> Hi Kautuk,
>
> IMHO, running application with root privilege is too dangerous. We
> should avoid it.
>
I agree, but that's not my point.
All I'm saying is that we probably don't want to give normal
unprivileged usermode apps
the capability to set the mapping to AS_UNEVICTABLE as anyone can then
write an application
that hogs memory without allowing the kernel to free it through memory reclaim.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists