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)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:37:50 +0000 (21:37 -0800)
commita841be8af78880e00c8ae57f8440b67a1d128365
tree4031c4abc43038ff28f19cb1c81da489e4db1f84
parentfe6c31c6f60272e8eda705fdc4428c3b5f06dbc5
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