linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 0/4] mm: de-skew page refcount
@ 2006-01-18 10:40 Nick Piggin
  2006-01-18 10:40 ` [patch 1/4] mm: page refcount use atomic primitives Nick Piggin
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Nick Piggin @ 2006-01-18 10:40 UTC (permalink / raw)
  To: Linux Memory Management, Linux Kernel Mailing List
  Cc: Hugh Dickins, Andrew Morton, Andrea Arcangeli, Nick Piggin,
	Linus Torvalds, David Miller

The following patchset (against 2.6.16-rc1 + migrate race fixes) 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 in the page freeing path 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.

Andrew's previous feedback has been incorporated (less BUG_ONs in fastpaths
and more detail in changelogs).

Anyone spot any holes or races?

Thanks,
Nick

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [patch 0/4] mm: de-skew page_count
@ 2006-01-08  5:23 Nick Piggin
  2006-01-08  5:24 ` [patch 2/4] mm: PageLRU no testset Nick Piggin
  0 siblings, 1 reply; 22+ messages in thread
From: Nick Piggin @ 2006-01-08  5:23 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 

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [patch 0/4] mm: optimisations
@ 2005-12-05 11:59 Nick Piggin
  2005-12-05 11:59 ` [patch 2/4] mm: PageLRU no testset Nick Piggin
  0 siblings, 1 reply; 22+ messages in thread
From: Nick Piggin @ 2005-12-05 11:59 UTC (permalink / raw)
  To: 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 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 

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

end of thread, other threads:[~2006-01-19 23:42 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-18 10:40 [patch 0/4] mm: de-skew page refcount Nick Piggin
2006-01-18 10:40 ` [patch 1/4] mm: page refcount use atomic primitives Nick Piggin
2006-01-18 10:40 ` [patch 2/4] mm: PageLRU no testset Nick Piggin
2006-01-19 17:48   ` Nikita Danilov
2006-01-19 18:10     ` Nick Piggin
2006-01-18 10:40 ` [patch 3/3] mm: PageActive " Nick Piggin
2006-01-18 14:13   ` Marcelo Tosatti
2006-01-19 14:50     ` Nick Piggin
2006-01-19 16:52       ` Marcelo Tosatti
2006-01-19 20:02         ` Nick Piggin
2006-01-19 21:41           ` Marcelo Tosatti
2006-01-18 10:41 ` [patch 4/4] mm: less atomic ops Nick Piggin
2006-01-18 16:38 ` [patch 0/4] mm: de-skew page refcount Linus Torvalds
2006-01-18 17:05   ` Nick Piggin
2006-01-18 19:27     ` Linus Torvalds
2006-01-19 14:00       ` Nick Piggin
2006-01-19 16:36         ` Linus Torvalds
2006-01-19 17:06           ` Nick Piggin
2006-01-19 17:27             ` Linus Torvalds
2006-01-19 17:38               ` Nick Piggin
  -- strict thread matches above, loose matches on Subject: below --
2006-01-08  5:23 [patch 0/4] mm: de-skew page_count Nick Piggin
2006-01-08  5:24 ` [patch 2/4] mm: PageLRU no testset Nick Piggin
2005-12-05 11:59 [patch 0/4] mm: optimisations Nick Piggin
2005-12-05 11:59 ` [patch 2/4] mm: PageLRU no testset Nick Piggin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).