[PATCH] unpaged: ZERO_PAGE in VM_UNPAGED
authorHugh Dickins <hugh@veritas.com>
Tue, 22 Nov 2005 05:32:19 +0000 (21:32 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 22 Nov 2005 17:13:42 +0000 (09:13 -0800)
commitf57e88a8d83de8d844b57e16b84d2f762fe9f092
tree32fee3ab5c177bc0f47827dd18ad4471be3b2a74
parentee498ed730283e9cdfc8913f12b90a2246f1a8cc
[PATCH] unpaged: ZERO_PAGE in VM_UNPAGED

It's strange enough to be looking out for anonymous pages in VM_UNPAGED areas,
let's not insert the ZERO_PAGE there - though whether it would matter will
depend on what we decide about ZERO_PAGE refcounting.

But whereas do_anonymous_page may (exceptionally) be called on a VM_UNPAGED
area, do_no_page should never be: just BUG_ON.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/mem.c
mm/memory.c