mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
Revert "ANDROID: mm: fix up removal of vm_total_pages problem"
This reverts commit aa9752dec8.
Removing out-of-tree patch.
Bug: 109664768
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I1f7d83697d08067e75a4b575a669b4dfe49eed59
This commit is contained in:
@@ -8023,7 +8023,7 @@ static void __setup_per_zone_wmarks(void)
|
||||
tmp = (u64)pages_min * zone_managed_pages(zone);
|
||||
do_div(tmp, lowmem_pages);
|
||||
low = (u64)pages_low * zone_managed_pages(zone);
|
||||
do_div(low, nr_free_zone_pages(gfp_zone(GFP_HIGHUSER_MOVABLE)));
|
||||
do_div(low, vm_total_pages);
|
||||
if (is_highmem(zone)) {
|
||||
/*
|
||||
* __GFP_HIGH and PF_MEMALLOC allocations usually don't
|
||||
|
||||
Reference in New Issue
Block a user