[lkml]   [2005]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 01/15] mm: poison struct page for ptlock
Ingo Molnar <> wrote:
> yuck. What is the real problem btw?

Well. One problem is that spinlocks now take two words...

But apart from that, the problem at hand is that we want to embed a
spinlock in struct page, and the size of the spinlock varies a lot according
to config. The only >wordsize version we really care about is
CONFIG_PREEMPT, NR_CPUS >= 4. (which distros don't ship...)

> AFAICS there's enough space for a
> 2-word spinlock in struct page for pagetables.

spinlocks get a lot bigger than that with CONFIG_DEBUG_SPINLOCK.

> We really dont want to
> rewrite spinlocks (or remove features) just to keep gcc 2.95 supported
> for some more time. In fact, is there any 2.6 based distro that uses gcc
> 2.95?

I think some of the debian derivates might. But who knows?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-11-10 13:29    [W:0.351 / U:0.456 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site