summaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-gru
diff options
context:
space:
mode:
authorMel Gorman2009-06-17 00:31:53 +0200
committerLinus Torvalds2009-06-17 04:47:32 +0200
commitb3c466ce512923298ae8c0121d3e9f397a3f1210 (patch)
treeca6f360a6dbaaa0a71b9375fb57d544364532254 /drivers/misc/sgi-gru
parentpage allocator: replace __alloc_pages_internal() with __alloc_pages_nodemask() (diff)
downloadkernel-qcow2-linux-b3c466ce512923298ae8c0121d3e9f397a3f1210.tar.gz
kernel-qcow2-linux-b3c466ce512923298ae8c0121d3e9f397a3f1210.tar.xz
kernel-qcow2-linux-b3c466ce512923298ae8c0121d3e9f397a3f1210.zip
page allocator: do not sanity check order in the fast path
No user of the allocator API should be passing in an order >= MAX_ORDER but we check for it on each and every allocation. Delete this check and make it a VM_BUG_ON check further down the call path. [akpm@linux-foundation.org: s/VM_BUG_ON/WARN_ON_ONCE/] Signed-off-by: Mel Gorman <mel@csn.ul.ie> Reviewed-by: Christoph Lameter <cl@linux-foundation.org> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Cc: Dave Hansen <dave@linux.vnet.ibm.com> Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/sgi-gru')
0 files changed, 0 insertions, 0 deletions