Skip to content

mm: de-skew page refcount

Nick Piggin linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 of 4 patches 10 repliesIn review

3 of 4 patches are in this archive. The cover letter announces 4.

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+56 -550 replies
2/4mm: PageLRU no testsetinclude/linux/page-flags.h mm/swap.c mm/vmscan.c+18 -182 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 refcount

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

--
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>