linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [patch 0/4] mm: de-skew page_count
@ 2006-01-08  5:19 Nick Piggin
  2006-01-08  5:20 ` [patch 1/4] mm: page refcount use atomic primitives Nick Piggin
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Nick Piggin @ 2006-01-08  5:19 UTC (permalink / raw)
  To: linux-mm, linux-kernel; +Cc: Nick Piggin, Andrew Morton

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 1 or 2 atomic ops
in the PageLRU case in the page-release path.

It also happens to be a requirement for my lockless pagecache work, but
stands on its own as good patches.

Nick

-- 
SUSE Labs, Novell Inc.


Send instant messages to your online friends http://au.messenger.yahoo.com 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-01-08 21:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-08  5:19 [patch 0/4] mm: de-skew page_count Nick Piggin
2006-01-08  5:20 ` [patch 1/4] mm: page refcount use atomic primitives Nick Piggin
2006-01-08  5:54   ` Andrew Morton
2006-01-08 20:40     ` Nick Piggin
2006-01-08 21:43       ` Andrew Morton
2006-01-08  5:20 ` [patch 2/4] mm: PageLRU no testset Nick Piggin
2006-01-08  5:21 ` [patch 3/4] mm: PageActive " Nick Piggin
2006-01-08  5:21 ` [patch 4/4] mm: less atomic ops Nick Piggin
2006-01-08  5:42 ` [patch 0/4] mm: de-skew page_count Nick Piggin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox