Re: [RFC PATCH] tmpfs: support user quotas

From: Kay Sievers
Date: Mon Nov 07 2011 - 17:38:19 EST


On Mon, Nov 7, 2011 at 23:15, KOSAKI Motohiro
<kosaki.motohiro@xxxxxxxxxxxxxx> wrote:
> (11/7/2011 6:30 AM), Lennart Poettering wrote:

> If you want per-user limitation, RLIMIT is bad idea. RLIMIT is only inherited
> by fork. So, The api semantics clearly mismatch your usecase.

Like RLIMIT_NPROC?

> Instead, I suggest to implement new sysfs knob.

Where would users show up in sysfs?

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