[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080323170827.GB5082@one.firstfloor.org>
Date: Sun, 23 Mar 2008 18:08:27 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Pavel Machek <pavel@....cz>
Cc: Andi Kleen <andi@...stfloor.org>,
Nicholas Miell <nmiell@...cast.net>,
Ulrich Drepper <drepper@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH prototype] [0/8] Predictive bitmaps for ELF executables
> 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@...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