]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - mm/vmscan.c
mm: change mm_vmscan_lru_shrink_inactive() proto types
authoryalin wang <yalin.wang2010@gmail.com>
Thu, 14 Jan 2016 23:18:48 +0000 (15:18 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commitba5e9579433aefcdccdec207601e124d3bdf2a71
tree3477b4a41ae4f8c8a092d46d070ee8dabd051620
parent8ef5849fa8a2c7894885e27ee8c8fe06e21a88fd
mm: change mm_vmscan_lru_shrink_inactive() proto types

Move node_id zone_idx shrink flags into trace function, so thay we don't
need caculate these args if the trace is disabled, and will make this
function have less arguments.

Signed-off-by: yalin wang <yalin.wang2010@gmail.com>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/trace/events/vmscan.h
mm/vmscan.c