Messages in this thread | | | From | Nick Piggin <> | Subject | [patch 0/4] mm: optimisations | Date | Mon, 5 Dec 2005 06:59:20 -0500 |
| |
The following patchset (against 2.6.15-rc5ish) uses the new atomic ops to do away with the offset page refcounting, and simplify the race that it was designed to cover.
This allows some nice optimisations, and we end up saving 2 atomic ops including a spin_lock_irqsave in the !PageLRU case, and 2 or 3 atomic ops in the PageLRU case in the page-release path.
It also happens to be a requirement for my lockless pagecache work, but they stand on their own as good patches.
Nick
-- SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com
- 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/
| |