hugetlb: try to search again if it is really needed
authorXiao Guangrong <[email protected]>
Wed, 21 Mar 2012 23:33:55 +0000 (16:33 -0700)
committerLinus Torvalds <[email protected]>
Thu, 22 Mar 2012 00:54:56 +0000 (17:54 -0700)
commitcbde83e21c4fd50bfc4240408355c1e5d393063d
tree21899d4db2dadcdaea04b019c7d9f1d62344f5b4
parent4bfc130d5afa28395288d1b57092906349604b41
hugetlb: try to search again if it is really needed

Search again only if some holes may be skipped in the first pass.

[[email protected]: clean up crazy compound definition]
Signed-off-by: Xiao Guangrong <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Hillf Danton <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/x86/mm/hugetlbpage.c