ftp://ftp.nc.orc.ru/pub/Linux/people/saw/kernel/userbean.5
This patch was exactly for per-user resource accounting.
In particular it accounts and imposes limits on the total amount of memory
mlock()ed by processes of a particular user.
As far as I can see it's safe with the patch to allow unprivileged users to
mlock() certain amount of memory with the proper limits configured.
Best regards
Andrey V.
Savochkin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/