2007-08-01 19:24:48

by Andi Kleen

[permalink] [raw]
Subject: smaller kernel with no real time futexes

Adrian,

You said earlier you're looking at smaller allnoconfig kernels.
One thing I noticed recently that realtime pi futexes are always
enabled and that pulls in a lot of other code (like the plists)

Userland needs to handle them not being available anyways for older
kernels.

Might be worth looking into turning that into a CONFIG.

-Andi


2007-08-01 23:11:57

by Jakub Jelinek

[permalink] [raw]
Subject: Re: smaller kernel with no real time futexes

On Wed, Aug 01, 2007 at 09:24:34PM +0200, Andi Kleen wrote:
> Adrian,
>
> You said earlier you're looking at smaller allnoconfig kernels.
> One thing I noticed recently that realtime pi futexes are always
> enabled and that pulls in a lot of other code (like the plists)
>
> Userland needs to handle them not being available anyways for older
> kernels.
>
> Might be worth looking into turning that into a CONFIG.

That's a very bad idea. glibc configured for 2.6.18 and higher kernels
assumes PI futexes are present.

Jakub