From: Nick Piggin Subject: Re: [00/41] Large Blocksize Support V7 (adds memmap support) Date: Tue, 11 Sep 2007 14:53:41 +1000 Message-ID: <200709111453.42650.nickpiggin@yahoo.com.au> References: <20070911060349.993975297@sgi.com> <200709111144.48743.nickpiggin@yahoo.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Mel Gorman , andrea@suse.de, torvalds@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Mel Gorman , William Lee Irwin III , David Chinner , Jens Axboe , Badari Pulavarty , Maxim Levitsky , Fengguang Wu , swin wang , totty.lu@gmail.com, hugh@veritas.com, joern@lazybastard.org To: Christoph Lameter Return-path: Received: from smtp110.mail.mud.yahoo.com ([209.191.85.220]:20582 "HELO smtp110.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932768AbXIKUfT (ORCPT ); Tue, 11 Sep 2007 16:35:19 -0400 In-Reply-To: Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Wednesday 12 September 2007 06:11, Christoph Lameter wrote: > On Tue, 11 Sep 2007, Nick Piggin wrote: > > It would be interesting to craft an attack. If you knew roughly the > > layout and size of your dentry slab for example... maybe you could stat a > > whole lot of files, then open one and keep it open (maybe post the fd to > > a unix socket or something crazy!) when you think you have filled up a > > couple of MB worth of them. Repeat the process until your movable zone is > > gone. Or do the same things with pagetables, or task structs, or radix > > tree nodes, etc.. these are the kinds of things I worry about (as well as > > just the gradual natural degredation). > > I guess you would have to run that without my targeted slab reclaim > patchset? Otherwise the slab that are in the way could be reclaimed and > you could not produce your test case. I didn't realise you had patches to move pinned dentries, radix tree nodes, task structs, page tables etc. Did I miss them in your last patchset?