lkml.org 
[lkml]   [2005]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm: poison struct page for ptlock
On Sun, 6 Nov 2005, Andrew Morton wrote:
> Hugh Dickins <hugh@veritas.com> wrote:
> >
> > Suppress split ptlock on arches which may use one page for multiple page
> > tables. Reconsider what better to do (particularly on ppc64) later on.
>
> But why is that a problem per-se? A few "pagetable pages" will share the
> same lock. Deadlocky when we take two pagetable locks?

Good point, it may not be as disastrous as I was imagining. Certainly
deadlocky in copy_page_range and mremap move at present, but that can
be easily surmounted. However, there is the slab lru issue too: if it's
convenient for an arch to use slab cache, I'd prefer not to make life
difficult for them. I'll come back to this but not tonight.

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

\
 
 \ /
  Last update: 2005-11-07 01:20    [W:0.045 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site