On Thu, Apr 17, 2008 at 11:28:45AM -0700, Linus Torvalds wrote: > > > On Thu, 17 Apr 2008, Peter Zijlstra wrote: > > > > D'0h - clearly not my day today... > > Ok, I'm acking this one ;) > > And yes, it would be nice if the gup patches would go in early, since I > wouldn't be entirely surprised if other architectures didn't have some > other subtle issues here. We've never accessed the page tables without > locking before, so we've only had races with hardware, never software. Well I'd love them to go in 2.6.26. Andrew will be sending you some precursor patches soon, and then I can rediff the x86 fast_gup. We actually do access the page tables without the traditional linux vm locking in architectures like powerpc that do software pagetable walks. That's why their pagetables are RCUed for example. So the concept is actually more foreign to x86 than it is to some others. BTW. we do have powerpc patches for fast_gup. The "problem" with that is that it requires my speculative page references from the lockless pagecache patches (basically fast_gup for powerpc is exactly like lockless pagecache but substitute the pagecache radix tree for the page tables). But that might have to wait for 2.6.27. At least we'll have the x86 fast_gup. But the upshot is that I now have "real world" benchmark results to justify adding the complexity of speculative references. After that, adding lockless pagecache is more or less a noop ;) Everything's falling into place, mwa ha ha. -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html