mm: Add min_free_order_shift tunable.
authorArve Hjønnevåg <arve@android.com>
Tue, 17 Feb 2009 22:51:02 +0000 (14:51 -0800)
committerColin Cross <ccross@android.com>
Tue, 14 Feb 2012 19:25:47 +0000 (11:25 -0800)
commitbdae58317df5f1a25de82ff684347badc76ba006
tree34911f9d8229d0c99e20bb47491f9d99b7703cbd
parentca4333c55419e8c2e453611598b30e54760a2001
mm: Add min_free_order_shift tunable.

By default the kernel tries to keep half as much memory free at each
order as it does for one order below. This can be too agressive when
running without swap.

Change-Id: I5efc1a0b50f41ff3ac71e92d2efd175dedd54ead
Signed-off-by: Arve Hjønnevåg <arve@android.com>
kernel/sysctl.c
mm/page_alloc.c