diff options
| author | Mel Gorman <[email protected]> | 2009-06-16 15:31:53 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-06-16 19:47:32 -0700 |
| commit | b3c466ce512923298ae8c0121d3e9f397a3f1210 (patch) | |
| tree | ca6f360a6dbaaa0a71b9375fb57d544364532254 /tools/perf/scripts/python | |
| parent | d239171e4f6efd58d7e423853056b1b6a74f1446 (diff) | |
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.
[[email protected]: s/VM_BUG_ON/WARN_ON_ONCE/]
Signed-off-by: Mel Gorman <[email protected]>
Reviewed-by: Christoph Lameter <[email protected]>
Reviewed-by: KOSAKI Motohiro <[email protected]>
Reviewed-by: Pekka Enberg <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Lee Schermerhorn <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions