]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Don't map the same page too much
authorHugh Dickins <hugh@veritas.com>
Tue, 11 Oct 2005 18:16:26 +0000 (19:16 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Oct 2005 19:03:47 +0000 (12:03 -0700)
commitf5154a98a1931641f0448f6512294a15279110d7
treefd5ea19514d07338f58b2df4b2f87922b9975a04
parent9149ccfa3571eaa4a4b444777d67fc4ed3ebcf27
[PATCH] Don't map the same page too much

Refuse to install a page into a mapping if the mapping count is already
ridiculously large.

You probably cannot trigger this on 32-bit architectures, but on a
64-bit setup we should protect against it.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/fremap.c