Re: [RFC PATCH] tmpfs: support user quotas

Alan Cox
2011-11-07T13:57:57Z

> Right, rlimit approach guarantees a simple way of dealing with users
> across all tmpfs instances.

Which is almost certainly not what you want to happen. Think about direct
rendering.

For simple stuff tmpfs already supports size/nr_blocks/nr_inodes mount
options so you can mount private resource constrained tmpfs objects
already without kernel changes. No rlimit hacks needed - and rlimit is
the wrong API anyway.

Alan