Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758322AbYCWRFi (ORCPT ); Sun, 23 Mar 2008 13:05:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753793AbYCWRF3 (ORCPT ); Sun, 23 Mar 2008 13:05:29 -0400 Received: from one.firstfloor.org ([213.235.205.2]:39791 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753599AbYCWRF3 (ORCPT ); Sun, 23 Mar 2008 13:05:29 -0400 Date: Sun, 23 Mar 2008 18:08:27 +0100 From: Andi Kleen To: Pavel Machek Cc: Andi Kleen , Nicholas Miell , Ulrich Drepper , Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH prototype] [0/8] Predictive bitmaps for ELF executables Message-ID: <20080323170827.GB5082@one.firstfloor.org> References: <20080320090005.GA25734@one.firstfloor.org> <20080321172644.GG2346@one.firstfloor.org> <20080322071755.GP2346@one.firstfloor.org> <1206170695.2438.39.camel@entropy> <20080322091001.GA7264@one.firstfloor.org> <1206180991.2438.43.camel@entropy> <20080322142949.GB10687@one.firstfloor.org> <20080323132517.GB4580@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080323132517.GB4580@ucw.cz> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1053 Lines: 27 > Is this good idea? Attacker can send you binary with the bitmap > inverted, it is now slow on your system and signature matches. The first run will fix up any missing bits in the bitmap. Right now it cannot get rid of unnecessary pages though unless you disable early_fault. > ...might be important for benchmarks... 'here, see, Oracle is slow. > Feel free to verify the signature'. > > ...ok, I guess it is not too serious, because it is similar to > fragmentation.... It is actually far better than fragmentation because the bitmap loader does IO always in big chunks -- not much seeking will go on. The only problem is some wasted mmeory and more IO bandwidth usage (but typically binaries are not bigger than a few MB so it's not too dramatic) So in summary I don't think it's an issue. -Andi -- 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/