]> git.baikalelectronics.ru Git - kernel.git/commit
mm, vmscan: show LRU name in mm_vmscan_lru_isolate tracepoint
authorMichal Hocko <mhocko@suse.com>
Wed, 22 Feb 2017 23:44:24 +0000 (15:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 23 Feb 2017 00:41:29 +0000 (16:41 -0800)
commitb61f98e2e5bbedd1c184ff90140080dc404c8c5a
treeb3fbd6cd88e5dce6706e6c43a584d05275b91e0e
parentdc9f6fdba840c649c322a34584b1ec28cd34c5ee
mm, vmscan: show LRU name in mm_vmscan_lru_isolate tracepoint

mm_vmscan_lru_isolate currently prints only whether the LRU we isolate
from is file or anonymous but we do not know which LRU this is.

It is useful to know whether the list is active or inactive, since we
are using the same function to isolate pages from both of them and it's
hard to distinguish otherwise.

Link: http://lkml.kernel.org/r/20170104101942.4860-5-mhocko@kernel.org
Signed-off-by: Michal Hocko <mhocko@suse.com>
Acked-by: Hillf Danton <hillf.zj@alibaba-inc.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Acked-by: Minchan Kim <minchan@kernel.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/mmflags.h
include/trace/events/vmscan.h
mm/vmscan.c