Re: smaller kernel with no real time futexes

2007-08-01 Thread Jakub Jelinek
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


smaller kernel with no real time futexes

2007-08-01 Thread Andi Kleen
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


smaller kernel with no real time futexes

2007-08-01 Thread Andi Kleen
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
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: smaller kernel with no real time futexes

2007-08-01 Thread Jakub Jelinek
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
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/