]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm-tracepoint: rename page-free events
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Wed, 16 Nov 2011 23:41:22 +0000 (10:41 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 28 Nov 2011 04:37:41 +0000 (15:37 +1100)
commit9f923b2e9efecb9123907a3417f23bd48e921e9d
treec3090d365af2c6d3da05ea20d94d225b07e06c5f
parent07d0e930840a0daeff87e53102f11522576ce026
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