From: viro@parcelfarce.linux.theplanet.co.uk Subject: Re: Using fs views to isolate untrusted processes: I need an assistant architect in the USA for Phase I of a DARPA funded linux kernel project Date: Thu, 26 Aug 2004 06:01:45 +0100 Sender: Message-ID: <20040826050145.GT21964@parcelfarce.linux.theplanet.co.uk> References: <410D96DC.1060405@namesys.com> <20040825205618.GA7992@hockin.org> <30958D95-F6ED-11D8-A7C9-000393ACC76E@mac.com> <412D2BD2.2090408@sun.com> <20040825180615.Z1973@build.pdx.osdl.net> <20040826042936.GR21964@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com Content-Disposition: inline In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Kyle Moffett Cc: Chris Wright , LKML , Rik van Riel , Tim Hockin , Mike Waychison , ReiserFS List , Hans Reiser On Thu, Aug 26, 2004 at 12:52:37AM -0400, Kyle Moffett wrote: > Where would I increase the hash size if I wanted to increase the number > of bindings by an order of magnitude or so? I'm very interested in > pursuing this possibility, because when combined with the procedure I > described earlier, plus a little bit of extra work with capabilities > and such > it's very easy to build incredibly flexible and basically indestructible > chroot environments with not much code. *shrug* fs/namespace.c::mnt_init(). Right now it allocates 1 page for hash table (order = 0), you can easily raise that. You might want to try and change the order of checks in lookup_mnt() loop - depending on your setup it might speed the things up, but I doubt that it would be noticable win.