On Tue, 12 Mar 2002, Martin J. Bligh wrote:
> >>>> Linus:
> >>>> Anyway, some obvious LRU lock improvements are clearly available:
> >>>> activate_page_nolock() shouldn't even need to take the lru lock if the
> >>>> page is already active.
> Your suggestion seems to improve the pagemap_lru_lock contention a little:
> (make bzImage , 16 way NUMA-Q, 5 runs each)
I'm surprised it made any difference at all, I think the patch mainly
adds more tests: activate_page is only called from mark_page_accessed
(after testing !PageActive) and from fail_writepage (where usually
!PageActive). I don't think many !PageLRU pages can get there.
Or is activate_page being called from other places in your tree?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
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 : Fri Mar 15 2002 - 22:00:15 EST