]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm-tracepoint: rename page-free events
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Tue, 10 Jan 2012 23:07:09 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 00:30:41 +0000 (16:30 -0800)
commitb413d48aa70605701c0b395b2e350ca15f5d643a
tree6aa777c589eedfb9dc498f375d553e561e203506
parentda066ad3570b88e7dee82e76a06ee9a7adffcf0d
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/trace/events-kmem.txt
Documentation/trace/postprocess/trace-pagealloc-postprocess.pl
include/trace/events/kmem.h
mm/page_alloc.c