Skip to content

mm: de-skew page_count

Nick Piggin linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mm: page refcount use atomic primitivesinclude/linux/mm.h mm/swap.c mm/vmscan.c+60 -553 replies
2/4mm: PageLRU no testsetinclude/linux/page-flags.h mm/swap.c mm/vmscan.c+16 -170 replies
3/4mm: PageActive no testsetinclude/linux/page-flags.h mm/swap.c mm/vmscan.c+5 -60 replies
4/4mm: less atomic opsinclude/linux/mm_inline.h include/linux/page-flags.h mm/swap.c+5 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/4] mm: de-skew page_count

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

Signature · 10 lines
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 [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>