summaryrefslogtreecommitdiffstats
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorAndrea Arcangeli <andrea@suse.de>2005-10-29 18:16:48 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-29 21:40:43 -0700
commit1a44e149084d772a1bcf4cdbdde8a013a8a1cfde (patch)
treeb3f682ce8df89edb9740fdd5c178df5accc49736 /mm/truncate.c
parent2e9b367c2273ed21c9852a04d90944d472c4f3e6 (diff)
downloadop-kernel-dev-1a44e149084d772a1bcf4cdbdde8a013a8a1cfde.zip
op-kernel-dev-1a44e149084d772a1bcf4cdbdde8a013a8a1cfde.tar.gz
[PATCH] .text page fault SMP scalability optimization
We had a problem on ppc64 where with more than 4 threads a large system wouldn't scale well while faulting in the .text (most of the time was spent in the kernel despite it was an userland compute intensive app). The reason is the useless overwrite of the same pte from all cpu. I fixed it this way (verified on an older kernel but the forward port is almost identical). This will benefit all archs not just ppc64. Signed-off-by: Andrea Arcangeli <andrea@suse.de> Cc: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud