Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754046AbXIPR6U (ORCPT ); Sun, 16 Sep 2007 13:58:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751526AbXIPR6I (ORCPT ); Sun, 16 Sep 2007 13:58:08 -0400 Received: from lazybastard.de ([212.112.238.170]:38853 "EHLO longford.lazybastard.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752125AbXIPR6H (ORCPT ); Sun, 16 Sep 2007 13:58:07 -0400 Date: Sun, 16 Sep 2007 19:53:52 +0200 From: =?utf-8?B?SsO2cm4=?= Engel To: Andrew Morton Cc: =?utf-8?B?SsO2cm4=?= Engel , Nick Piggin , Christoph Lameter , 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 Subject: Re: [00/41] Large Blocksize Support V7 (adds memmap support) Message-ID: <20070916175352.GB2393@lazybastard.org> References: <20070911060349.993975297@sgi.com> <200709110452.20363.nickpiggin@yahoo.com.au> <20070911121225.GE13132@lazybastard.org> <20070915014449.4f9cdb51.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070915014449.4f9cdb51.akpm@linux-foundation.org> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1475 Lines: 35 On Sat, 15 September 2007 01:44:49 -0700, Andrew Morton wrote: > On Tue, 11 Sep 2007 14:12:26 +0200 Jörn Engel wrote: > > > While I agree with your concern, those numbers are quite silly. The > > chances of 99.8% of pages being free and the remaining 0.2% being > > perfectly spread across all 2MB large_pages are lower than those of SHA1 > > creating a collision. > > Actually it'd be pretty easy to craft an application which allocates seven > pages for pagecache, then one for , then seven for pagecache, then > one for , etc. > > I've had test apps which do that sort of thing accidentally. The result > wasn't pretty. I bet! My (false) assumption was the same as Goswin's. If non-movable pages are clearly seperated from movable ones and will evict movable ones before polluting further mixed superpages, Nick's scenario would be nearly infinitely impossible. Assumption doesn't reflect current code. Enforcing this assumption would cost extra overhead. The amount of effort to make Christoph's approach work reliably seems substantial and I have no idea whether it would be worth it. Jörn -- Happiness isn't having what you want, it's wanting what you have. -- unknown - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/