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

From: Nicholas Miell
Date: Sat Mar 22 2008 - 03:25:35 EST



On Sat, 2008-03-22 at 08:17 +0100, Andi Kleen wrote:
> On Fri, Mar 21, 2008 at 09:36:51PM -0700, Ulrich Drepper wrote:
> > On Fri, Mar 21, 2008 at 10:26 AM, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
> > > Concrete suggestions please.
> >
> > I already spelled it out. Add a new program header entry, point it to
> > a bit array large enough to cover all loadable segments.
>
> Ah that's easy, the program header is already supported in the kernel code
> (PT_PRESENT_BITMAP)
>
> The additional SHDR is just there for easier testing/migration.
> >
> > It is not worth creating problems with this invalid extension just for
>
> You still didn't say why it was invalid.
>
> Anyways I disagree on the value of supporting old binaries. I believe
> it is important.
>
> -Andi

Why not stick the bitmap in an xattr?

--
Nicholas Miell <nmiell@xxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/