All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 0/4] mm: de-skew page_count
@ 2006-01-08  5:23 ` Nick Piggin
  0 siblings, 0 replies; 18+ 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] 18+ messages in thread

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

Thread overview: 18+ 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:23 ` Nick Piggin
2006-01-08  5:20 ` [patch 1/4] mm: page refcount use atomic primitives Nick Piggin
2006-01-08  5:23   ` Nick Piggin
2006-01-08  5:54   ` Andrew Morton
2006-01-08  5:54     ` Andrew Morton
2006-01-08 20:40     ` Nick Piggin
2006-01-08 20:40       ` Nick Piggin
2006-01-08 21:43       ` Andrew Morton
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:24   ` Nick Piggin
2006-01-08  5:21 ` [patch 3/4] mm: PageActive " Nick Piggin
2006-01-08  5:24   ` Nick Piggin
2006-01-08  5:21 ` [patch 4/4] mm: less atomic ops Nick Piggin
2006-01-08  5:25   ` Nick Piggin
2006-01-08  5:42 ` [patch 0/4] mm: de-skew page_count Nick Piggin
2006-01-08  5:42   ` Nick Piggin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.