]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm-tracepoint: rename page-free events
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Thu, 8 Dec 2011 04:38:52 +0000 (15:38 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 Dec 2011 05:48:02 +0000 (16:48 +1100)
commit99f4d65f54eb49a8b2c08ff19ff132795c516e00
tree0fef7d9566377a18218a9b4f7153f6dc9e941a2c
parent40cce210ae759fd10aa8306fe688c9eaa672a6ca
mm-tracepoint: rename page-free events

Rename mm_page_free_direct into mm_page_free and mm_pagevec_free into
mm_page_free_batched

Since v2.6.33-5426-gc475dab the kernel triggers mm_page_free_direct for
all freed pages, not only for directly freed.  So, let's name it properly.
 For pages freed via page-list we also trigger mm_page_free_batched event.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/trace/events-kmem.txt
Documentation/trace/postprocess/trace-pagealloc-postprocess.pl
include/trace/events/kmem.h
mm/page_alloc.c