login
Header Space

 
 

Re: [PATCH prototype] [0/8] Predictive bitmaps for ELF executables

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pavel Machek <pavel@...>
Cc: Andi Kleen <andi@...>, Nicholas Miell <nmiell@...>, Ulrich Drepper <drepper@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, <linux-mm@...>
Date: Sunday, March 23, 2008 - 1:08 pm

> Is this good idea? Attacker can send you binary with the bitmap

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.


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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH prototype] [8/8] Add mmap_full_slurp support, Andi Kleen, (Mon Mar 17, 9:09 pm)
[PATCH prototype] [1/8] Give ELF shdr types a name, Andi Kleen, (Mon Mar 17, 9:09 pm)
Re: [PATCH prototype] [0/8] Predictive bitmaps for ELF execu..., Andi Kleen, (Sun Mar 23, 1:08 pm)
speck-geostationary