highmem-2.4.7-A0 [Re: kmap() while holding spinlock]

From: Ingo Molnar (mingo@elte.hu)
Date: Thu Jul 26 2001 - 07:29:00 EST


> [...] or to do the clearing (and copying) speculatively, after
> allocating the page but before locking the pagetable lock. This might
> lead to a bit more work in the pagefault-race case, but we dont care
> about that window. It will on the other hand reduce pagetable_lock
> contention (because the clearing/copying is done outside the lock), so
> perhaps this solution is better.

the attached highmem-2.4.7-A0 patch implements this method in both
affected functions. Comments?

        Ingo



-
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/



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:26 EST