summaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2012-01-11 00:08:10 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-11 01:30:44 +0100
commitc3993076f842de3754360e5b998d6657a9d30303 (patch)
tree78c1ca3d031483932e2f236706b20064742c0b0c /security/security.c
parenttracepoint: add tracepoints for debugging oom_score_adj (diff)
downloadlinux-c3993076f842de3754360e5b998d6657a9d30303.tar.xz
linux-c3993076f842de3754360e5b998d6657a9d30303.zip
mm: page_alloc: generalize order handling in __free_pages_bootmem()
__free_pages_bootmem() used to special-case higher-order frees to save individual page checking with free_pages_bulk(). Nowadays, both zero order and non-zero order frees use free_pages(), which checks each individual page anyway, and so there is little point in making the distinction anymore. The higher-order loop will work just fine for zero order pages. Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions