[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090529135749.3531240f@lxorguk.ukuu.org.uk>
Date: Fri, 29 May 2009 13:57:49 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Iliya <vnsavage@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: per user memory limit and LSM module
> Any suggestions on how can I quickly get or maintain a list of all the
> running tasks per user(or just the memory usage), without patching the
> kernel would be greatly appreciated.
Even if you could what would you do with it, large parts of memory don't
have a single owner and even if they did you would have to traverse tens
of thousands of objects so it would be incredibly slow.
Take a look at the containers work and OpenVZ as I suspect that is what
you need to work from.
--
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