diff options
author | 2005-11-21 21:32:17 -0800 | |
---|---|---|
committer | 2005-11-22 09:13:42 -0800 | |
commit | 920fc356f58d0e455bdfa53451f1c58eb211a846 (patch) | |
tree | cb5fe90bc74ad9dd95191bb3c105aadd833197f2 /kernel/fork.c | |
parent | [PATCH] unpaged: VM_NONLINEAR VM_RESERVED (diff) | |
download | linux-rng-920fc356f58d0e455bdfa53451f1c58eb211a846.tar.xz linux-rng-920fc356f58d0e455bdfa53451f1c58eb211a846.zip |
[PATCH] unpaged: COW on VM_UNPAGED
Remove the BUG_ON(vma->vm_flags & VM_UNPAGED) from do_wp_page, and let it do
Copy-On-Write without touching the VM_UNPAGED's page counts - but this is
incomplete, because the anonymous page it inserts will itself need to be
handled, here and in other functions - next patch.
We still don't copy the page if the pfn is invalid, because the
copy_user_highpage interface does not allow it. But that's not been a problem
in the past: can be added in later if the need arises.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions