]> Git Repo - linux.git/commit
pagemap: avoid splitting thp when reading /proc/pid/pagemap
authorNaoya Horiguchi <[email protected]>
Wed, 21 Mar 2012 23:33:57 +0000 (16:33 -0700)
committerLinus Torvalds <[email protected]>
Thu, 22 Mar 2012 00:54:56 +0000 (17:54 -0700)
commit5aaabe831eb527e0d9284f0745d830a755f70393
tree2efdfe775da1c727c60ef5bd2d865d2150f68381
parentb716ad953a2bc4a543143c1d9836b7007a4b182f
pagemap: avoid splitting thp when reading /proc/pid/pagemap

Thp split is not necessary if we explicitly check whether pmds are mapping
thps or not.  This patch introduces this check and adds code to generate
pagemap entries for pmds mapping thps, which results in less performance
impact of pagemap on thp.

Signed-off-by: Naoya Horiguchi <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Wu Fengguang <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/proc/task_mmu.c
This page took 0.055424 seconds and 4 git commands to generate.