[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110516170241.d918031e.kamezawa.hiroyu@jp.fujitsu.com>
Date: Mon, 16 May 2011 17:02:41 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
akpm@...ux-foundation.org, minchan.kim@...il.com, riel@...hat.com
Subject: Re: [PATCH 2/3] vmscan: implement swap token trace
On Fri, 13 May 2011 20:40:52 +0900
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com> wrote:
> This is useful for observing swap token activity.
>
> example output:
>
> zsh-1845 [000] 598.962716: update_swap_token_priority:
> mm=ffff88015eaf7700 old_prio=1 new_prio=0
> memtoy-1830 [001] 602.033900: update_swap_token_priority:
> mm=ffff880037a45880 old_prio=947 new_prio=949
> memtoy-1830 [000] 602.041509: update_swap_token_priority:
> mm=ffff880037a45880 old_prio=949 new_prio=951
> memtoy-1830 [000] 602.051959: update_swap_token_priority:
> mm=ffff880037a45880 old_prio=951 new_prio=953
> memtoy-1830 [000] 602.052188: update_swap_token_priority:
> mm=ffff880037a45880 old_prio=953 new_prio=955
> memtoy-1830 [001] 602.427184: put_swap_token:
> token_mm=ffff880037a45880
> zsh-1789 [000] 602.427281: replace_swap_token:
> old_token_mm= (null) old_prio=0 new_token_mm=ffff88015eaf7018
> new_prio=2
> zsh-1789 [001] 602.433456: update_swap_token_priority:
> mm=ffff88015eaf7018 old_prio=2 new_prio=4
> zsh-1789 [000] 602.437613: update_swap_token_priority:
> mm=ffff88015eaf7018 old_prio=4 new_prio=6
> zsh-1789 [000] 602.443924: update_swap_token_priority:
> mm=ffff88015eaf7018 old_prio=6 new_prio=8
> zsh-1789 [000] 602.451873: update_swap_token_priority:
> mm=ffff88015eaf7018 old_prio=8 new_prio=10
> zsh-1789 [001] 602.462639: update_swap_token_priority:
> mm=ffff88015eaf7018 old_prio=10 new_prio=12
>
> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists