OSDN Git Service

[PATCH] i386: fix overflow in vmap on an x86 system which has more than 4GB memory.
authorMichael Chen <micche@ati.com>
Sat, 23 Sep 2006 17:26:26 +0000 (18:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 Sep 2006 21:20:38 +0000 (23:20 +0200)
commitd4a1380db55cbf262bcc24b448b5061fab65113d
treeced08c72b5c6aea817209ddd48cd2d9f6e4d8943
parent55cf1ddbffe17586bdb585647e53c44c92e900b1
[PATCH] i386: fix overflow in vmap on an x86 system which has more than 4GB memory.

(max_mapnr << PAGE_SHIFT) would overflow on a system which has
4GB memory or more, and so could cause vmap to fail every time.

Signed-off-by: Michael Chen <micche@ati.com>
Signed-off-by: Hugh Dickins <hugh@veritas.com>
mm/vmalloc.c