diff options
author | Nick Piggin <nickpiggin@yahoo.com.au> | 2005-08-28 16:49:11 +1000 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-29 17:25:04 -0700 |
commit | d992895ba2b27cf5adf1ba0ad6d27662adc54c5e (patch) | |
tree | 65a4d1f18a93a9e89d43fe0b8e0b3009675c50f0 /include | |
parent | 40193713df2cdb9c233b3fc2029ecdccb40cb1e4 (diff) | |
download | linux-d992895ba2b27cf5adf1ba0ad6d27662adc54c5e.tar.bz2 |
[PATCH] Lazy page table copies in fork()
Defer copying of ptes until fault time when it is possible to reconstruct
the pte from backing store. Idea from Andi Kleen and Nick Piggin.
Thanks to input from Rik van Riel and Linus and to Hugh for correcting
my blundering.
Ray Fucillo <fucillo@intersystems.com> reports:
"I applied this latest patch to a 2.6.12 kernel and found that it does
resolve the problem. Prior to the patch on this machine, I was
seeing about 23ms spent in fork for ever 100MB of shared memory
segment.
After applying the patch, fork is taking about 1ms regardless of the
shared memory size."
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions