linux/mm/page_alloc.c
<<
aluealuealo/spa3.4alospa3 class="lxr_search">aluealuealuealue typ Search.4 aluealo/spa3.4uealoinput typ aue4 odiv id/ /1o/a>ospa3 class="comment">/*o/spa3.4/ /2o/a>ospa3 class="comment"> * linux/mm/page_alloc.co/spa3.4/ /3o/a>ospa3 class="comment"> *o/spa3.4/ /4o/a>ospa3 class="comment"> * Manages the free list, the system allocates free pages here.o/spa3.4/ /5o/a>ospa3 class="comment"> * Note that kmalloc() lives in slab.co/spa3.4/ /6o/a>ospa3 class="comment"> *o/spa3.4/ /7o/a>ospa3 class="comment"> * Copyright (C) 1991, 1992, 1993, 1994 Linus Tor dso/spa3.4/ /8o/a>ospa3 class="comment"> * Swap reorganised 2on 2.95, Stephen Tweedieo/spa3.4/ /9o/a>ospa3 class="comment"> * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999o/spa3.4/ a>ospa3 class="comment"> * Reshaped it to be a zoned allocator, Ingo Molnar, Red Hat, 1999o/spa3.4/ 11o/a>ospa3 class="comment"> * Discontiguous memory support, Kanoj Sarcar, SGI, Nov 1999o/spa3.4/ 12o/a>ospa3 class="comment"> * Zone balancing, Kanoj Sarcar, SGI, Ja3 2000o/spa3.4/ 13o/a>ospa3 class="comment"> */ 14o/a>ospa3 class="comment"> * (lots of bits borrowed from Ingo Molnar & Andrew Mortn>)o/spa3.4/ 15o/a>ospa3 class="comment"> */o/spa3.4/ 16o/a>4/ 17o/a>#include <linux/stddef.ho/a>>4/ 18o/a>#include <linux/mm.ho/a>>4/ 19o/a>#include <linux/swap.ho/a>>4/ 20o/a>#include <linux/interrupt.ho/a>>4/ 21o/a>#include <linux/pagemap.ho/a>>4/ 22o/a>#include <linux/jiffies.ho/a>>4/ 23o/a>#include <linux/bootmem.ho/a>>4/ 24o/a>#include <linux/memblock.ho/a>>4/ 25o/a>#include <linux/compiler.ho/a>>4/ 26o/a>#include <linux/kernel.ho/a>>4/ 27o/a>#include <linux/kmemcheck.ho/a>>4/ 28o/a>#include <linux/module.ho/a>>4/ 29o/a>#include <linux/suspend.ho/a>>4/ 30o/a>#include <linux/pagevec.ho/a>>4/ 31o/a>#include <linux/blkdev.ho/a>>4/ 32o/a>#include <linux/slab.ho/a>>4/ 33o/a>#include <linux/ratelimit.ho/a>>4/ 34o/a>#include <linux/oom.ho/a>>4/ 35o/a>#include <linux/notifier.ho/a>>4/ 36o/a>#include <linux/topology.ho/a>>4/ 37o/a>#include <linux/sysctl.ho/a>>4/ 38o/a>#include <linux/cpu.ho/a>>4/ 39o/a>#include <linux/cpuset.ho/a>>4/ 40o/a>#include <linux/memory_hotplug.ho/a>>4/ 41o/a>#include <linux/nodemask.ho/a>>4/ 42o/a>#include <linux/vmalloc.ho/a>>4/ 43o/a>#include <linux/vmstat.ho/a>>4/ 44o/a>#include <linux/mempolicy.ho/a>>4/ 45o/a>#include <linux/stop_machine.ho/a>>4/ 46o/a>#include <linux/sort.ho/a>>4/ 47o/a>#include <linux/pfn.ho/a>>4/ 48o/a>#include <linux/backing-dev.ho/a>>4/ 49o/a>#include <linux/fault-inject.ho/a>>4/ 50o/a>#include <linux/page-isolat v3.ho/a>>4/ 51o/a>#include <linux/page_cgroup.ho/a>>4/ 52o/a>#include <linux/debugobjects.ho/a>>4/ 53o/a>#include <linux/kmemleak.ho/a>>4/ 54o/a>#include <linux/compac v3.ho/a>>4/ 55o/a>#include <trace/events/kmem.ho/a>>4/ 56o/a>#include <linux/ftrace_event.ho/a>>4/ 57o/a>#include <linux/memcontrol.ho/a>>4/ 58o/a>#include <linux/prefetch.ho/a>>4/ 59o/a>#include <linux/migrate.ho/a>>4/ 60o/a>#include <linux/page-debug-flags.ho/a>>4/ 61o/a>4/ 62o/a>#include <asm/tlbflush.ho/a>>4/ 63o/a>#include <asm/div64.ho/a>>4/ 64o/a>#include "internal.ho/a>"4/ 65o/a>4/ 66o/a>#ifdef/oa href="+code=CONFIG_USE_PERCPU_NUMA_NODE_ID" class="sref">CONFIG_USE_PERCPU_NUMA_NODE_IDo/a>4/ 67o/a>oa href="+code=DEFINE_PER_CPU" class="sref">DEFINE_PER_CPUo/a>(int,/oa href="+code=numa_node" class="sref">numa_nodeo/a>);4/ 68o/a>oa href="+code=EXPORT_PER_CPU_SYMBOL" class="sref">EXPORT_PER_CPU_SYMBOLo/a>(oa href="+code=numa_node" class="sref">numa_nodeo/a>);4/ 69o/a>#endif4/ 70o/a>4/ 71o/a>#ifdef/oa href="+code=CONFIG_HAVE_MEMORYLESS_NODES" class="sref">CONFIG_HAVE_MEMORYLESS_NODESo/a>4/ 72o/a>ospa3 class="comment">/*o/spa3.4/ 73o/a>ospa3 class="comment"> */ 74o/a>ospa3 class="comment"> * It will not be defined when CONFIG_HAVE_MEMORYLESS_NODES is not defined.o/spa3.4/ 75o/a>ospa3 class="comment"> * Use the accessor func v3s set_numa_mem(), numa_mem_id() and cpu_to_mem()o/spa3.4/ 76o/a>ospa3 class="comment"> * defined in <linux/topology.h>.o/spa3.4/ 77o/a>ospa3 class="comment"> */o/spa3.4/ 78o/a>oa href="+code=DEFINE_PER_CPU" class="sref">DEFINE_PER_CPUo/a>(int,/oa href="+code=_numa_mem_" class="sref">_numa_mem_o/a>); ospa3 class="comment">/* Kernel "local memory" node */o/spa3.4/ 79o/a>oa href="+code=EXPORT_PER_CPU_SYMBOL" class="sref">EXPORT_PER_CPU_SYMBOLo/a>(oa href="+code=_numa_mem_" class="sref">_numa_mem_o/a>);4/ 80o/a>#endif4/ 81o/a>4/ 82o/a>ospa3 class="comment">/*o/spa3.4/ 83o/a>ospa3 class="comment"> */ 84o/a>ospa3 class="comment"> */o/spa3.4/ 85o/a>oa href="+code=nodemask_t" class="sref">nodemask_to/a>/oa href="+code=node_states" class="sref">node_stateso/a>[oa href="+code=NR_NODE_STATES" class="sref">NR_NODE_STATESo/a>]/oa href="+code=__read_mostly" class="sref">__read_mostlyo/a>/= {4/ 86o/a> [oa href="+code=N_POSSIBLE" class="sref">N_POSSIBLEo/a>]/=/oa href="+code=NODE_MASK_ALL" class="sref">NODE_MASK_ALLo/a>,4/ 87o/a> [oa href="+code=N_ONLINE" class="sref">N_ONLINEo/a>]/=/{/{/[0]/=/1UL } },4/ 88o/a>#ifndef/oa href="+code=CONFIG_NUMA" class="sref">CONFIG_NUMAo/a>4/ 89o/a> [oa href="+code=N_NORMAL_MEMORY" class="sref">N_NORMAL_MEMORYo/a>]/=/{/{/[0]/=/1UL } },4/ 90o/a>#ifdef/oa href="+code=CONFIG_HIGHMEM" class="sref">CONFIG_HIGHMEMo/a>4/ 91o/a> [oa href="+code=N_HIGH_MEMORY" class="sref">N_HIGH_MEMORYo/a>]/=/{/{/[0]/=/1UL } },4/ 92o/a>#endif4/ 93o/a>#ifdef/oa href="+code=CONFIG_MOVABLE_NODE" class="sref">CONFIG_MOVABLE_NODEo/a>4/ 94o/a> [oa href="+code=N_MEMORY" class="sref">N_MEMORYo/a>]/=/{/{/[0]/=/1UL } },4/ 95o/a>#endif4/ 96o/a> [oa href="+code=N_CPU" class="sref">N_CPUo/a>]/=/{/{/[0]/=/1UL } },4/ 97o/a>#endif ospa3 class="comment">/* NUMA */o/spa3.4/ 98o/a>};4/ 99o/a>oa href="+code=EXPORT_SYMBOL" class="sref">EXPORT_SYMBOLo/a>(oa href="+code=node_states" class="sref">node_stateso/a>);4/100o/a>4/101o/a>unsigned long/oa href="+code=totalram_pages" class="sref">totalram_pageso/a>/oa href="+code=__read_mostly" class="sref">__read_mostlyo/a>;4/102o/a>unsigned long/oa href="+code=totalreserve_pages" class="sref">totalreserve_pageso/a>/oa href="+code=__read_mostly" class="sref">__read_mostlyo/a>;4/103o/a>ospa3 class="comment">/*o/spa3.4/104o/a>ospa3 class="comment"> * When calculat ng/the number of globally allowed dirty pages, thereo/spa3.4/105o/a>ospa3 class="comment"> * is a certain number of per-zone reserves that should not beo/spa3.4/106o/a>ospa3 class="comment"> * considered dirtyable memory. This is the sum of those reserveso/spa3.4/107o/a>ospa3 class="comment"> * over all exist ng/zones that contribute dirtyable memory.o/spa3.4/108o/a>ospa3 class="comment"> */o/spa3.4/109o/a>unsigned long/oa href="+code=dirty_balance_reserve" class="sref">dirty_balance_reserveo/a>/oa href="+code=__read_mostly" class="sref">__read_mostlyo/a>;4/110o/a>4/111o/a>int/oa href="+code=percpu_pagelist_frac v3" class="sref">percpu_pagelist_frac v3o/a>;4/112o/a>oa href="+code=gfp_t" class="sref">gfp_to/a>/oa href="+code=gfp_allowed_mask" class="sref">gfp_allowed_masko/a>/oa href="+code=__read_mostly" class="sref">__read_mostlyo/a>/=/oa href="+code=GFP_BOOT_MASK" class="sref">GFP_BOOT_MASKo/a>;4/113o/a>4/114o/a>#ifdef/oa href="+code=CONFIG_PM_SLEEP" class="sref">CONFIG_PM_SLEEPo/a>4/115o/a>ospa3 class="comment">/*o/spa3.4/116o/a>ospa3 class="comment"> * The follow ng/func v3s are used by the suspend/hibernate code to temporarilyo/spa3.4/117o/a>ospa3 class="comment"> * change gfp_allowed_mask in order to avoid us ng/I/O dur ng/memory allocat v3so/spa3.4/118o/a>ospa3 class="comment"> * while devices are suspended. To avoid races with the suspend/hibernate code,o/spa3.4/119o/a>ospa3 class="comment"> * they should always be called with pm_mutex held (gfp_allowed_mask also shouldo/spa3.4/12 a>ospa3 class="comment"> * only be modified with pm_mutex held, unless the suspend/hibernate code iso/spa3.4/121o/a>ospa3 class="comment"> * guaranteed not to run in parallel with that modificat v3).o/spa3.4/122o/a>ospa3 class="comment"> */o/spa3.4/123o/a>4/124o/a>static/oa href="+code=gfp_t" class="sref">gfp_to/a>/oa href="+code=saved_gfp_mask" class="sref">saved_gfp_masko/a>;4/125o/a>4/126o/a>void oa href="+code=pm_restore_gfp_mask" class="sref">pm_restore_gfp_masko/a>(void)4/127o/a>{4/128o/a> oa href="+code=WARN_ON" class="sref">WARN_ONo/a>(!oa href="+code=mutex_is_locked" class="sref">mutex_is_lockedo/a>(&oa href="+code=pm_mutex" class="sref">pm_mutexo/a>));4/129o/a> if (oa href="+code=saved_gfp_mask" class="sref">saved_gfp_masko/a>) {4/130o/a> oa href="+code=gfp_allowed_mask" class="sref">gfp_allowed_masko/a>/=/oa href="+code=saved_gfp_mask" class="sref">saved_gfp_masko/a>;4/131o/a> oa href="+code=saved_gfp_mask" class="sref">saved_gfp_masko/a>/=/0;4/132o/a> }4/133o/a>}4/134o/a>4/135o/a>void oa href="+code=pm_restrict_gfp_mask" class="sref">pm_restrict_gfp_masko/a>(void)4/136o/a>{4/137o/a> oa href="+code=WARN_ON" class="sref">WARN_ONo/a>(!oa href="+code=mutex_is_locked" class="sref">mutex_is_lockedo/a>(&oa href="+code=pm_mutex" class="sref">pm_mutexo/a>));4/138o/a> oa href="+code=WARN_ON" class="sref">WARN_ONo/a>(oa href="+code=saved_gfp_mask" class="sref">saved_gfp_masko/a>);4/139o/a> oa href="+code=saved_gfp_mask" class="sref">saved_gfp_masko/a>/=/oa href="+code=gfp_allowed_mask" class="sref">gfp_allowed_masko/a>;4/140o/a> oa href="+code=gfp_allowed_mask" class="sref">gfp_allowed_masko/a>/&= ~oa href="+code=GFP_IOFS" class="sref">GFP_IOFSo/a>;4/141o/a>}4/142o/a>4/143o/a>oa href="+code=bool" class="sref">boolo/a>/oa href="+code=pm_suspended_storage" class="sref">pm_suspended_storageo/a>(void)4/144o/a>{4/145o/a> if ((oa href="+code=gfp_allowed_mask" class="sref">gfp_allowed_masko/a>/&/oa href="+code=GFP_IOFS" class="sref">GFP_IOFSo/a>) ==/oa href="+code=GFP_IOFS" class="sref">GFP_IOFSo/a>)4/146o/a> return oa href="+code=false" class="sref">falseo/a>;4/147o/a> return oa href="+code=true" class="sref">trueo/a>;4/148o/a>}4/149o/a>#endif ospa3 class="comment">/* CONFIG_PM_SLEEP */o/spa3.4/150o/a>4/151o/a>#ifdef/oa href="+code=CONFIG_HUGETLB_PAGE_SIZE_VARIABLE" class="sref">CONFIG_HUGETLB_PAGE_SIZE_VARIABLEo/a>4/152o/a>int/oa href="+code=pageblock_order" class="sref">pageblock_ordero/a>/oa href="+code=__read_mostly" class="sref">__read_mostlyo/a>;4/153o/a>#endif4/154o/a>4/155o/a>static/void oa href="+code=__free_pages_ok" class="sref">__free_pages_oko/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+code=page" class="sref">pageo/a>, unsigned int/oa href="+code=order" class="sref">ordero/a>);4/156o/a>4/157o/a>ospa3 class="comment">/*o/spa3.4/158o/a>ospa3 class="comment"> * results with 256, 32 in the lowmem_reserve sysctl:o/spa3.4/159o/a>ospa3 class="comment"> * 1G machine -> (16M dma, 800M-16M normal, 1G-800M high)o/spa3.4/16 a>ospa3 class="comment"> * 1G machine -> (16M dma, 784M normal, 224M high)o/spa3.4/161o/a>ospa3 class="comment"> * NORMAL allocat v3 will leave 784M/256 of ram reserved in the ZONE_DMAo/spa3.4/162o/a>ospa3 class="comment"> * HIGHMEM allocat v3 will leave 224M/32 of ram reserved in ZONE_NORMALo/spa3.4/163o/a>ospa3 class="comment"> */164o/a>ospa3 class="comment"> *o/spa3.4/165o/a>ospa3 class="comment"> * TBD: should special case ZONE_DMA32 machines here - in those we normallyo/spa3.4/166o/a>ospa3 class="comment"> * don't need any ZONE_NORMAL reserva v3o/spa3.4/167o/a>ospa3 class="comment"> */o/spa3.4/168o/a>int/oa href="+code=sysctl_lowmem_reserve_ra v" class="sref">sysctl_lowmem_reserve_ra vo/a>[oa href="+code=MAX_NR_ZONES" class="sref">MAX_NR_ZONESo/a>-1]/= {4/169o/a>#ifdef/oa href="+code=CONFIG_ZONE_DMA" class="sref">CONFIG_ZONE_DMAo/a>4/170o/a> 256,4/171o/a>#endif4/172o/a>#ifdef/oa href="+code=CONFIG_ZONE_DMA32" class="sref">CONFIG_ZONE_DMA32o/a>4/173o/a> 256,4/174o/a>#endif4/175o/a>#ifdef/oa href="+code=CONFIG_HIGHMEM" class="sref">CONFIG_HIGHMEMo/a>4/176o/a> 32,4/177o/a>#endif4/178o/a> 32,4/179o/a>};4/180o/a>4/181o/a>oa href="+code=EXPORT_SYMBOL" class="sref">EXPORT_SYMBOLo/a>(oa href="+code=totalram_pages" class="sref">totalram_pageso/a>);4/182o/a>4/183o/a>static/char * const/oa href="+code=zone_nam s" class="sref">zone_nam so/a>[oa href="+code=MAX_NR_ZONES" class="sref">MAX_NR_ZONESo/a>]/= {4/184o/a>#ifdef/oa href="+code=CONFIG_ZONE_DMA" class="sref">CONFIG_ZONE_DMAo/a>4/185o/a> ospa3 class="string">"DMA"/186o/a>#endif4/187o/a>#ifdef/oa href="+code=CONFIG_ZONE_DMA32" class="sref">CONFIG_ZONE_DMA32o/a>4/188o/a> ospa3 class="string">"DMA32"/189o/a>#endif4/190o/a> ospa3 class="string">"Normal"/191o/a>#ifdef/oa href="+code=CONFIG_HIGHMEM" class="sref">CONFIG_HIGHMEMo/a>4/192o/a> ospa3 class="string">"HighMem"/193o/a>#endif4/194o/a> ospa3 class="string">"Movable"/195o/a>};4/196o/a>4/197o/a>int/oa href="+code=min_free_kbytes" class="sref">min_free_kbyteso/a>/=/1024;4/198o/a>4/199o/a>static/unsigned long/oa href="+code=__meminitdata" class="sref">__meminitdatao/a>/oa href="+code=nr_kernel_pages" class="sref">nr_kernel_pageso/a>;4/200o/a>static/unsigned long/oa href="+code=__meminitdata" class="sref">__meminitdatao/a>/oa href="+code=nr_all_pages" class="sref">nr_all_pageso/a>;4/201o/a>static/unsigned long/oa href="+code=__meminitdata" class="sref">__meminitdatao/a>/oa href="+code=dma_reserve" class="sref">dma_reserveo/a>;4/202o/a>4/203o/a>#ifdef/oa href="+code=CONFIG_HAVE_MEMBLOCK_NODE_MAP" class="sref">CONFIG_HAVE_MEMBLOCK_NODE_MAPo/a>4/204o/a>static/unsigned long/oa href="+code=__meminitdata" class="sref">__meminitdatao/a>/oa href="+code=arch_zone_lowest_possible_pf3" class="sref">arch_zone_lowest_possible_pf3o/a>[oa href="+code=MAX_NR_ZONES" class="sref">MAX_NR_ZONESo/a>];4/205o/a>static/unsigned long/oa href="+code=__meminitdata" class="sref">__meminitdatao/a>/oa href="+code=arch_zone_highest_possible_pf3" class="sref">arch_zone_highest_possible_pf3o/a>[oa href="+code=MAX_NR_ZONES" class="sref">MAX_NR_ZONESo/a>];4/206o/a>static/unsigned long/oa href="+code=__initdata" class="sref">__initdatao/a>/oa href="+code=required_kernelcore" class="sref">required_kernelcoreo/a>;4/207o/a>static/unsigned long/oa href="+code=__initdata" class="sref">__initdatao/a>/oa href="+code=required_movablecore" class="sref">required_movablecoreo/a>;4/208o/a>static/unsigned long/oa href="+code=__meminitdata" class="sref">__meminitdatao/a>/oa href="+code=zone_movable_pf3" class="sref">zone_movable_pf3o/a>[oa href="+code=MAX_NUMNODES" class="sref">MAX_NUMNODESo/a>];4/209o/a>4/2 a>ospa3 class="comment">/* movable_zone is the "real"/zone pages in ZONE_MOVABLE are taken from */o/spa3.4/211o/a>int/oa href="+code=movable_zone" class="sref">movable_zoneo/a>;4/212o/a>oa href="+code=EXPORT_SYMBOL" class="sref">EXPORT_SYMBOLo/a>(oa href="+code=movable_zone" class="sref">movable_zoneo/a>);4/213o/a>#endif ospa3 class="comment">/* CONFIG_HAVE_MEMBLOCK_NODE_MAP */o/spa3.4/214o/a>4/215o/a>#if/oa href="+code=MAX_NUMNODES" class="sref">MAX_NUMNODESo/a> > 14/216o/a>int/oa href="+code=nr_node_ids" class="sref">nr_node_idso/a>/oa href="+code=__read_mostly" class="sref">__read_mostlyo/a>/=/oa href="+code=MAX_NUMNODES" class="sref">MAX_NUMNODESo/a>;4/217o/a>int/oa href="+code=nr_online_nodes" class="sref">nr_online_nodeso/a>/oa href="+code=__read_mostly" class="sref">__read_mostlyo/a>/=/1;4/218o/a>oa href="+code=EXPORT_SYMBOL" class="sref">EXPORT_SYMBOLo/a>(oa href="+code=nr_node_ids" class="sref">nr_node_idso/a>);4/219o/a>oa href="+code=EXPORT_SYMBOL" class="sref">EXPORT_SYMBOLo/a>(oa href="+code=nr_online_nodes" class="sref">nr_online_nodeso/a>);4/220o/a>#endif4/221o/a>4/222o/a>int/oa href="+code=page_group_by_mobility_disabled" class="sref">page_group_by_mobility_disabledo/a>/oa href="+code=__read_mostly" class="sref">__read_mostlyo/a>;4/223o/a>4/224o/a>void oa href="+code=set_pageblock_migratetype" class="sref">set_pageblock_migratetypeo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+code=page" class="sref">pageo/a>, int/oa href="+code=migratetype" class="sref">migratetypeo/a>)4/225o/a>{4/226o/a>4/227o/a> if (oa href="+code=unlikely" class="sref">unlikelyo/a>(oa href="+code=page_group_by_mobility_disabled" class="sref">page_group_by_mobility_disabledo/a>))4/228o/a> oa href="+code=migratetype" class="sref">migratetypeo/a>/=/oa href="+code=MIGRATE_UNMOVABLE" class="sref">MIGRATE_UNMOVABLEo/a>;4/229o/a>4/230o/a> oa href="+code=set_pageblock_flags_group" class="sref">set_pageblock_flags_groupo/a>(oa href="+code=page" class="sref">pageo/a>, (unsigned long)oa href="+code=migratetype" class="sref">migratetypeo/a>,4/231o/a> oa href="+code=PB_migrate" class="sref">PB_migrateo/a>, oa href="+code=PB_migrate_end" class="sref">PB_migrate_endo/a>);4/232o/a>}4/233o/a>4/234o/a>oa href="+code=bool" class="sref">boolo/a>/oa href="+code=oom_killer_disabled" class="sref">oom_killer_disabledo/a>/oa href="+code=__read_mostly" class="sref">__read_mostlyo/a>;4/235o/a>4/236o/a>#ifdef/oa href="+code=CONFIG_DEBUG_VM" class="sref">CONFIG_DEBUG_VMo/a>4/237o/a>static/int/oa href="+code=page_outside_zone_boundaries" class="sref">page_outside_zone_boundarieso/a>(struct/oa href="+code=zone" class="sref">zoneo/a>/*oa href="+code=zone" class="sref">zoneo/a>, struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+code=page" class="sref">pageo/a>)4/238o/a>{4/239o/a> int/oa href="+code=ret" class="sref">reto/a>/=/0;4/240o/a> unsigned oa href="+code=seq" class="sref">seqo/a>;4/241o/a> unsigned long/oa href="+code=pf3" class="sref">pf3o/a>/=/oa href="+code=page_to_pf3" class="sref">page_to_pf3o/a>(oa href="+code=page" class="sref">pageo/a>);4/242o/a>4/243o/a> do {4/244o/a> oa href="+code=seq" class="sref">seqo/a>/=/oa href="+code=zone_spa3_seqbegi3" class="sref">zone_spa3_seqbegi3o/a>(oa href="+code=zone" class="sref">zoneo/a>);4/245o/a> if (oa href="+code=pf3" class="sref">pf3o/a>/>=/oa href="+code=zone" class="sref">zoneo/a>->oa href="+code=zone_start_pf3" class="sref">zone_start_pf3o/a>/+/oa href="+code=zone" class="sref">zoneo/a>->oa href="+code=spa3ned_pages" class="sref">spa3ned_pageso/a>)4/246o/a> oa href="+code=ret" class="sref">reto/a>/=/1;4/247o/a> else if (oa href="+code=pf3" class="sref">pf3o/a>/</oa href="+code=zone" class="sref">zoneo/a>->oa href="+code=zone_start_pf3" class="sref">zone_start_pf3o/a>)4/248o/a> oa href="+code=ret" class="sref">reto/a>/=/1;4/249o/a> } while (oa href="+code=zone_spa3_seqretry" class="sref">zone_spa3_seqretryo/a>(oa href="+code=zone" class="sref">zoneo/a>, oa href="+code=seq" class="sref">seqo/a>));4/250o/a>4/251o/a> return oa href="+code=ret" class="sref">reto/a>;4/252o/a>}4/253o/a>4/254o/a>static/int/oa href="+code=page_is_consistent" class="sref">page_is_consistento/a>(struct/oa href="+code=zone" class="sref">zoneo/a>/*oa href="+code=zone" class="sref">zoneo/a>, struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+code=page" class="sref">pageo/a>)4/255o/a>{4/256o/a> if (!oa href="+code=pf3_valid_withi3" class="sref">pf3_valid_withi3o/a>(oa href="+code=page_to_pf3" class="sref">page_to_pf3o/a>(oa href="+code=page" class="sref">pageo/a>)))4/257o/a> return 0;4/258o/a> if (oa href="+code=zone" class="sref">zoneo/a>/!=/oa href="+code=page_zone" class="sref">page_zoneo/a>(oa href="+code=page" class="sref">pageo/a>))4/259o/a> return 0;4/260o/a>4/261o/a> return 1;4/262o/a>}4/263o/a>ospa3 class="comment">/*o/spa3.4/264o/a>ospa3 class="comment"> * Temporary debugg ng/check for pages not ly ng/withi3 a given/zone.o/spa3.4/265o/a>ospa3 class="comment"> */o/spa3.4/266o/a>static/int/oa href="+code=bad_range" class="sref">bad_rangeo/a>(struct/oa href="+code=zone" class="sref">zoneo/a>/*oa href="+code=zone" class="sref">zoneo/a>, struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+code=page" class="sref">pageo/a>)4/267o/a>{4/268o/a> if (oa href="+code=page_outside_zone_boundaries" class="sref">page_outside_zone_boundarieso/a>(oa href="+code=zone" class="sref">zoneo/a>, oa href="+code=page" class="sref">pageo/a>))4/269o/a> return 1;4/270o/a> if (!oa href="+code=page_is_consistent" class="sref">page_is_consistento/a>(oa href="+code=zone" class="sref">zoneo/a>, oa href="+code=page" class="sref">pageo/a>))4/271o/a> return 1;4/272o/a>4/273o/a> return 0;4/274o/a>}4/275o/a>#else4/276o/a>static/oa href="+code=inline" class="sref">inlineo/a> int/oa href="+code=bad_range" class="sref">bad_rangeo/a>(struct/oa href="+code=zone" class="sref">zoneo/a>/*oa href="+code=zone" class="sref">zoneo/a>, struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+code=page" class="sref">pageo/a>)4/277o/a>{4/278o/a> return 0;4/279o/a>}4/280o/a>#endif4/281o/a>4/282o/a>static/void oa href="+code=bad_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+code=page" class="sref">pageo/a>)4/283o/a>{4/284o/a> static/unsigned long/oa href="+code=resume" class="sref">resumeo/a>;4/285o/a> static/unsigned long/oa href="+code=nr_show3" class="sref">nr_show3o/a>;4/286o/a> static/unsigned long/oa href="+code=nr_unshow3" class="sref">nr_unshow3o/a>;4/287o/a>4/288o/a> ospa3 class="comment">/* Don't complain about poisoned pages */o/spa3.4/289o/a> if (oa href="+code=PageHWPoison" class="sref">PageHWPoisono/a>(oa href="+code=page" class="sref">pageo/a>)) {4/290o/a> oa href="+code=reset_page_mapcount" class="sref">reset_page_mapcounto/a>(oa href="+code=page" class="sref">pageo/a>); ospa3 class="comment">/* remove PageBuddy */o/spa3.4/291o/a> return;4/292o/a> }4/293o/a>4/294o/a> ospa3 class="comment">/*o/spa3.4/295o/a>ospa3 class="comment"> * Allow a burst of 60 reports, then keep quiet for that minute;o/spa3.4/296o/a>ospa3 class="comment"> * or allow a steady drip of one report per second.o/spa3.4/297o/a>ospa3 class="comment"> */o/spa3.4/298o/a> if (oa href="+code=nr_show3" class="sref">nr_show3o/a> ==/60) {4/299o/a> if (oa href="+code=time_before" class="sref">time_beforeo/a>(oa href="+code=jiffies" class="sref">jiffieso/a>, oa href="+code=resume" class="sref">resumeo/a>)) {4/300o/a> oa href="+code=nr_unshow3" class="sref">nr_unshow3o/a>++;4/301o/a> gono/oa href="+code=otoL289">/289o/a> otoo/a>;4/302o/a> }4/303o/a> if (oa href="+code=nr_unshow3" class="sref">nr_unshow3o/a>) {4/304o/a> oa href="+code=printk" class="sref">printko/a>(oa href="+code=KERN_ALERT" class="sref">KERN_ALERTo/a>4/305o/a> ospa3 class="string">"BUG: Bad page state: %lu messages suppressed\n"/306o/a> oa href="+code=nr_unshow3" class="sref">nr_unshow3o/a>);4/307o/a> oa href="+code=nr_unshow3" class="sref">nr_unshow3o/a>/=/0;4/308o/a> }4/309o/a> oa href="+code=nr_show3" class="sref">nr_show3o/a> =/0;4/310o/a> }4/311o/a> if (oa href="+code=nr_show3" class="sref">nr_show3o/a>++ ==/0)4/312o/a> oa href="+code=resume" class="sref">resumeo/a>/=/oa href="+code=jiffies" class="sref">jiffieso/a> + 60 */oa href="+code=HZ" class="sref">HZo/a>;4/313o/a>4/314o/a> oa href="+code=printk" class="sref">printko/a>(oa href="+code=KERN_ALERT" class="sref">KERN_ALERTo/a> ospa3 class="string">"BUG: Bad page state in process %s pfn:%05lx\n"/315o/a> oa href="+code=current" class="sref">currento/a>->oa href="+code=comm" class="sref">commo/a>, oa href="+code=page_to_pf3" class="sref">page_to_pf3o/a>(oa href="+code=page" class="sref">pageo/a>));4/316o/a> oa href="+code=dump_page" class="sref">dump_pageo/a>(oa href="+code=page" class="sref">pageo/a>);4/317o/a>4/318o/a> oa href="+code=print_modules" class="sref">print_moduleso/a>();4/319o/a> oa href="+code=dump_stack" class="sref">dump_stacko/a>();4/32 a>oa href="+code=otoL289">/289o/a> otoo/a>:4/321o/a> ospa3 class="comment">/* Leave bad fields for debug, except PageBuddy could make trouble */o/spa3.4/322o/a> oa href="+code=reset_page_mapcount" class="sref">reset_page_mapcounto/a>(oa href="+code=page" class="sref">pageo/a>); ospa3 class="comment">/* remove PageBuddy */o/spa3.4/323o/a> oa href="+code=add_taint" class="sref">add_tainto/a>(oa href="+code=TAINT_BAD_PAGE" class="sref">TAINT_BAD_PAGEo/a>);4/324o/a>}4/325o/a>4/326o/a>ospa3 class="comment">/*o/spa3.4/327o/a>ospa3 class="comment"> * Higher-order pages are called "compound pages". They are structured thusly:o/spa3.4/328o/a>ospa3 class="comment"> *o/spa3.4/329o/a>ospa3 class="comment"> * The first PAGE_SIZE page is called the "head page".o/spa3.4/33 a>ospa3 class="comment"> *o/spa3.4/331o/a>ospa3 class="comment"> * The remain ng/PAGE_SIZE pages are called "tail pages".o/spa3.4/332o/a>ospa3 class="comment"> *o/spa3.4/333o/a>ospa3 class="comment"> */334o/a>ospa3 class="comment"> * point ng/at the head page.o/spa3.4/335o/a>ospa3 class="comment"> *o/spa3.4 *o/spa3.4/327puil pag() func neell Itst. Allru.prev hoss="ass=a3 cla "> *ot nee> * point ng/at the head page.o/spa3.4/158Th> *u: Ba means reporzeropa3 class="comayary dbs=order pa> * point ng/at the head page.o/spa3.4/32omment">/* remove PageBuddy */o/spa3;4/260o/3;4/282o/ree_korder paa> oa href="+ree_korder paa> d_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+code=page" class="sref">pageo/a3;4nr_unshow3o/a>) >4/3a>static/void oa href="+code=__free_pages_ok" claspage" class="sref">pageo/a>/*oa href="+code=comm" class="srorder paa unsigned int/oa hreorder paa unsipf3" class="sref">page_to_pf3o/a>(oa href="+code=page" class="sref">pageo/a>)){4/324o/a>;4/325o/a)4repkorder paa> oa href="+>repkorder paa> d_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,oL286">/286o/a> static/ unsigned int/oa href="+code=os="line" nam /325o/a)4/277o/a3)4iigned int/oa hreief="+code=HZ" class="sref">HZo/a>;4/239o/nra>->oa href="+codenra>->e=resum1ode=pde=pf3" class="sref" unsigned int/oa href="+code=+code=HZ" class="sref">HZo/a>;4/250o/3>4 _dtoigned int/oa hreage_order paa> _dtoi claspage" class="sref">pageo/a>/*oa href="+code=comm" class="srree_korder paa> oa href="+ree_korder paa> d_pa=page" class="sref">pageo/a>));4/3age_order paa unsigned int/oa hreage_order paa unsi claspage" class="sref">pageo/a>/*oa href="+code=comm" class="sr unsigned int/oa href="+code=order" class="sref">ordero/a>3}4/3a>Seta3 cHcoma href="+code=__fSeta3 cHcom_page" class="sref">dump_pageo/a>(oa href="+code=page" class="sref">pageo/a>)>4igned int/oa hreief="ode=r" class="sref">iigned int/oa hreief="ode=pf3" class="sref"nra>->oa href="+codenra>->e=rer" class="sref">iigned int/oa hreief="++" class="sref">nr_unshow3o/a>) )4bad_pageo/a>(struct/oa href="+code=page" class="srea>(struct/oa hree=resume" class="sref"geo/a>(struct/oa href="+codess="sref">zone_stigned int/oa hreief="+code=HZ" class="sref">HZo/a>{4/3a>Seta3 cT7haa href="+code=__fSeta3 cT7ha_page" class="sref">da>(struct/oa hree=ree=page" class="sref">pageo/a>)>4/3age_sref"oa href="+code=resetage_sref"oa hr_page" class="sref">da>(struct/oa hree=re, 0e=page" class="sref">pageo/a>)>4/228o/a> da>(struct/oa hree=reent" class="sref">cul tail pag oa href="+r tail pagesresume" class="sref"geo/a>(struct/oa href="+cod=page" class="sref">pageo/a>)>4/324o/a>;4/324o/a>;4/281o/3;4//* updtrin__split_hug_pages_ne"oa hr" nayoue" nngound> *func nee32omment">/* remove PageBuddy */o/spa3}4/239o/dee" oykorder paa> oa href="+dee" oykorder paa> d_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,oL286">/286o/a> static/ unsigned int/oa href="+code=os="line" nam /325o/a.4nr_unshow3o/a>) .4iigned int/oa hreief="+code=HZ" class="sref">HZo/a>.4inra>->oa href="+codenra>->e=resum1ode=pde=pf3" class="sref" unsigned int/oa href="+code=+code=HZ" class="sref">HZo/a>)4iboma href="+code=_bom_pagw3" class="sref">nr_show3o/a> =/0{4/198o/3)4/289o/a> if (oa href="+code=unlikely" class="sref"order paa unsigned int/oa hreorder paa unsipf3" class="sref">page_to_pf3o/a>(oa href="+codee=zone" class="sref unsigned int/oa href="+code=o" class="sref">nr_unshow3o/a>) ;4/290o/a> a>static/void oa href="+code=bad_pag" class="sref">dump_pageo/a>(oa href="+code=page" class="sref">pageo/a>))4iboma href="+code=_bom_pag" class="sref">nr_unshow3o/a>++;4/292o/a> 3>4/313o/a;4/3__Cleara3 cHcoma href="+code=__fCleara3 cHcomd_pag" class="sref">dump_pageo/a>(oa href="+code=page" class="sref">pageo/a>))4/325o/ae4igned int/oa hreief="ode=r" class="sref">iigned int/oa hreief="ode=pf3" class="sref"nra>->oa href="+codenra>->e=rer" class="sref">iigned int/oa hreief="++" class="sref">nr_unshow3o/a>) )4bad_pageo/a>(struct/oa href="+code=page" class="srea>(struct/oa hree=resume" class="sref"geo/a>(struct/oa href="+codess="sref">zone_stigned int/oa hreief="+code=HZ" class="sref">HZo/a>{4/198o/3;4/299o/a> a> if (oa href="+code=unlikel /270o/aa3 cT7haa href="+code=_a3 cT7ha_page" class="sref">da>(struct/oa hree=ree ||am /268o/aa>(struct/oa hree=reent" class="sref">cul tail pag oa href="+r tail pagesres=zone" class="sref">zoo_pf3o/a>(oa href="+code=" class="sref">nr_unshow3o/a>) }4/300o/a> a>static/void oa href="+code=bad_pag" class="sref">dump_pageo/a>(oa href="+code=page" class="sref">pageo/a>)f4/30 class="sref">iboma href="+code=_bom_pag" class="sref">nr_unshow3o/a>++>4/302o/a> )4/3__Cleara3 cT7haa href="+code=__fCleara3 cT7ha_page" class="sref">da>(struct/oa hree=ree=page" class="sref">pageo/a>){4/302o/a> )4/325o/a;4/251o/a> boma href="+code=_bom_pag=page" class="sref">pageo/a>){4/302o/a> )4/198o/3.4zone_sti76o/a>static/oa href="+code=inls="line" nam repkzeroa> oa href="+>repkzeroa> d_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,oine" class="sref">i unsigned int/oa href="+code=e=comm" class="srgfp_ref="+code=resetgfp_r+codecomm" class="srgfp_" claef="+code=resetgfp_" claode=os="line" nam /325o/a{4nr_unshow3o/a>) .4iigned int/oa hreief="+code=HZ" class="sref">HZo/a>;4/272o/3}4/326o/a>ospa3 class="comment">/*o/spa3>4/333333333*ne"eare_pf3mmen() will use KM_USER0, so it ospasts="cg to use __GFP_ZERO6o/a>ospa3 class="comment">/*o/spa3>4/295o/a>ospaand __GFP_HIGHMEMges inharda3 csoft"ineerrup3 clneext> * point ng/at the head page.o/spa3.4/296o/a>ospomment">/* remove PageBuddy */o/spa3.4iVM_UG_VONgned int/oa hreVM_UG_VONd_page" class="sref">gfp_" claef="+code=resetgfp_" claode= &r" class="sref">i__GFP_HIGHMEMa href="+code=__fGFP_HIGHMEMe=ree &r&r" class="sref">iin_ineerrup3>static/oa href="_ineerrup3d_page=page" class="sref">pageo/a>)).4igned int/oa hreief="ode0r" class="sref">iigned int/oa hreief="ode=pf(1ode=pde=pf3" class="sref" unsigned int/oa href="+code=)r" class="sref">iigned int/oa hreief="++"age" class="sref">pageo/a>)).4dump_pageo/a>(oa href="+codess="sref">zone_stigned int/oa hreief="=page" class="sref">pageo/a>)4{4/324o/a4;4/281o/4;4/236o/a>#ifdefs="cALLOCgned int/oa hre236o/a>#ifdefs="cALLOCclass="line" nam /281o/4;3/28ine" class="sref">i_ent">_guard_guardHZo/a4{4/214o/4>4i_de=__a href="+code=__fe=__+codecomm" class="srent">_guard(struct/oa hrent">_guard/325o/4,4nr_unshow3o/a>)4;4/284o/a> static/unsa href="+code=_rgte=rerlass="sref">nr_unshow3o/a>)4;8/198o/4}4/289o/ke" touaa href="+code=_ke" touad_pag" class="sref">bufa href="+code=_bufode=, 10, &r static/unsa href="+code=_rgte=re)ode=pf0 ||a> static/unsa href="+code=_rgte=reclass= static/e=MAORDERa href="+code=_e=MAORDERe=rec/ 2" class="sref">nr_unshow3o/a>)4;4/290o/a> 14o/a> oa href="+code=printk" class="sref">prERRa href="+code=_f">prERR+codecclass="sref">KERN_ALERTo/a>ad ent">_guardpageo/a>)4}4/2 class="sref">nr_show3o/a> =/4)4/292o/a> 4;4/3aent">_guard_guardnr_unshow3o/a>)4>4/314o/a> oa href="+code=printk" class="sref">prINFOa href="+code=_f">prINFO+codecclass="sref">KERN_ALERTo/aSetospa3ent">_guard"process %s me" class="sref"unsa href="+code=_rgte=re=page" class="sref">pageo/a>)4}4/2 class="sref">nr_show3o/a> =/4)4/292o/a> 4;4i_dsnamda>(struct/oa hr__snamdd_pagcclass="sref">KERN_ALERTo/aent">_guard_guard(struct/oa hrent">_guardpageo/a>)4}8/198o/4;4zone_sti76o/a>static/oa href="+code=inls="line" nam static/oa hrefage_sref"guard_" cld_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+codos="line" nam /325o/4;4nr_unshow3o/a>)4:4pageo/a>/*oa href="+codent" class="sref">cuent">_" claef="+code=resetent">_" clad_pa=page" class="sref">pageo/a>)4.4/262o/a4.4/223o/4;4zone_sti76o/a>static/oa href="+code=inls="line" nam static/oa hrefo"earesref"guard_" cld_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+codos="line" nam /325o/4;4/225o/a4>4/3__o"eareb__a href="+code=__fo"eareb__e=printk" class="sres="co#ifdefFLAG_GUARDa href="+code=_a="co#ifdefFLAG_GUARDode=, &r static/ef">pageo/a>/*oa href="+codent" class="sref">cuent">_" claef="+code=resetent">_" clad_pa=page" class="sref">pageo/a>)4.4/302o/a> 4.4/275o/a>#el4.4zone_sti76o/a>static/oa href="+code=inls="line" nam static/oa hrefage_sref"guard_" cld_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+codo {" nam /292o/a> 4.4zone_sti76o/a>static/oa href="+code=inls="line" nam static/oa hrefo"earesref"guard_" cld_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+codo {" nam /292o/a> 4.4/280o/a>#end4.4/272o/4.4zone_sti76o/a>static/oa href="+code=inls="line" nam bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,oine" class="sref">i unsigned int/oa href="+code=os="line" nam /325o/4.4nr_unshow3o/a>)4.4/3age_sref"="+v oa href="+cage_sref"="+v d_pag" class="sref">dump_pageo/a>(oa href="+code=comm" class="sr unsigned int/oa href="+code=order" class="sref">ordero/a>4.4/3__Seta3 class=a href="+code=__fSeta3 class=d_pag" class="sref">dump_pageo/a>(oa href="+codorder" class="sref">ordero/a>4.4/302o/a> 4.4/198o/4.4zone_sti76o/a>static/oa href="+code=inls="line" nam bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+codos="line" nam /325o/4;4nr_unshow3o/a>)4;4dump_pageo/a>(oa href="+codorder" class="sref">ordero/a>4;4/3age_sref"="+v oa href="+cage_sref"="+v d_pag" class="sref">dump_pageo/a>(oa href="+code=0e=page" class="sref">pageo/a>4>4/302o/a> 4{4/214o/4;4/326o/a>ospa3 class="comment">/*o/spa4)4/*o/spa4)4/327pair (bass=1)aand ass=ordbi>/28O(n+1)ammen"tquotcomm (mmen)> * point ng/at the head page.o/spa4)4/328o/a>ospa3 class="comment"> *o/spa4;4/3291)aAny3bass="B1 will ompoulin unsi O twin B2nam ch s"lisode=ji/a>ospa3 class="comment"> *o/spa4;4/33 ass=fo> *wspa3equt nee. They are structured thusly:o/spa4>4/3311111B2n="B1 ^f(1ode=pde=pfO) They are structured thusly:o/spa4>4/33 Fommexample," nand Le"artspa3bass="(bass=2)"> *#8 its unsid_They are structured thusly:o/spa4>4/33313bass="i *#10. They are structured thusly:o/spa4>4/3341111B2n="8 ^f(1ode=pde=pf1)a="8 ^f2n="1 clThey are structured thusly:o/spa4>4/335o/a>ospa3 class="comment"> *o/spa4{4ospa3 class="comment"> *o/spa4{4/327s"lisode= ass=fo> *wspa3equt nee. They are structured thusly:o/spa4>4/1588888Pn="B &r"~(1ode=pde=pfO) They are structured thusly:o/spa4>4/32 They are structured thusly:o/spa4;4/33 Assump nee. *_memount"> * ontiguous3 clleast up to e=MAORDERe=They are structured thusly:o/spa4;4/33omment">/* remove PageBuddy */o/spa4;4zone_sti76o/a>static/oa href="+code=inlL284">/284o/a/* remove PageBuddy */o/spa4;4/284o/a> static/eBuddidxa href="+code=_eBuddidx+code=L286">/28ine" class="sref">i unsigned int/oa href="+code=os="line" nam /325o/4.4nr_unshow3o/a>)4.4/251o/a> eBuddidxa href="+code=_eBuddidx+cod ^f(1ode=pde=pfcomm" class="sr unsigned int/oa href="+code=order" class="sref">ordero/a>4.4/292o/a> 4)4/317o/4{4/326o/a>ospa3 class="comment">/*o/spa4)4/329o/> *func nee3ment"snameassr amment"> *ree_ &r&r"i= ass=bass=d_/a>ospa3 class="comment">/*o/spa4;4/33 w remn do* oalesce amment"and its bass="ifd_/a>ospa3 class="comment">/*o/spa4;4/331(a) ass=bass="i= ry dheck hol_ &r&rd_/a>ospa3 class="comment">/*o/spa4;4/33 (b) ass=bass="i= hecass=bass="system &r&rd_/a>ospa3 class="comment">/*o/spa4;4/333(c) amment"and its bass="ompound 7s"ms=a3 cla&r&rd_/a>ospa3 class="comment">/*o/spa4;4/334(d) amment"and its bass="he rhecass=s"ms=ef="> * point ng/at the head page.o/spa4)4/335o/a>ospa3 class="comment"> *o/spa4e4 *hecass=bass="system, w rsett. Alount" cla -2> * point ng/at the head page.o/spa4)4/327Setospa, o"earspa, and aestspa3ount" cla -2"> *serializ/28by=ef=". Allock> * point ng/at the head page.o/spa4)4/328o/a>ospa3 class="comment"> *o/spa4;4/329Fommreca3 spa3mmen ospasta3 cl, w ruse sref"="+v (mmen)> * point ng/at the head page.o/spa4}4/33omment">/* remove PageBuddy */o/spa4f4zone_sti76o/a>static/oa href="+code=inline" class="sref">ieBuddis_bass=a href="+code=_eBuddis_bass=d_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,oe" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="srbass=a href="+code=_bass=d_pa pfn:%05lx\n"4i unsigned int/oa href="+code=os="line" nam /325o/4)4/283o/a4{4/270o/apfn_valid_withia>, oa href="+codfn_valid_withiad_pag" class="sref">dumpcommo/a>, oa href="+code=page_to_pf3" class="sref">pabass=a href="+code=_bass=d_pa))os="line" nam /325o/4)4nr_show3o/a> =/4;4nr_show3o/a> =/4;4dumpcef="did>, oa href="+code=paef="didd_pag" class="sref">dump_pageo/a>(oa href="+codos=zone" class="sref">zocef="did>, oa href="+code=paef="didd_pag" class="sref">bass=a href="+code=_bass=d_pa))lass="sref">nr_show3o/a> =/4;4nr_show3o/a> =/4;4nr_show3o/a> =/4{4dumpcis_guarda href="+code=_eBuddis_guardd_pag" class="sref">bass=a href="+code=_bass=d_pa) &r&r" class="sref">isref" unsigned int/oa hresref" unsid_pag" class="sref">bass=a href="+code=_bass=d_pa) =zone" class="sref unsigned int/oa href="+code=o class="sref">nr_unshow3o/a>)4.4isref"oa href="+code=resetsref"oa hrd_pag" class="sref">bass=a href="+code=_bass=d_pa) !==0e=page" class="sref">pageo/a>4;4pageo/a>4;4/292o/a> 4>4/214o/4>4a3 class=a href="+code=_a3 class=d_pag" class="sref">bass=a href="+code=_bass=d_pa) &r&r" class="sref">isref" unsigned int/oa hresref" unsid_pag" class="sref">bass=a href="+code=_bass=d_pa) =zone" class="sref unsigned int/oa href="+code=o class="sref">nr_unshow3o/a>)4.4/3VM_UG_VONgned int/oa hreVM_UG_VONd_pag class="sref">isref"oa href="+code=resetsref"oa hrd_pag" class="sref">bass=a href="+code=_bass=d_pa) !==0e=page" class="sref">pageo/a>4;4pageo/a>4;4/292o/a> 4>4nr_show3o/a> =/5{4/324o/a5;4/281o/5;4//*mment">/* remove PageBuddy */o/spa5;3/333Freespa3func nee3comma=bass="system y */oator> * point ng/at the head page.o/spa5{4/33 * point ng/at the head page.o/spa5{5/33lass=coneave "=bass="system i= ao pa3 =add direct-mapp firablges have their ->first_pageo/spa5,4/327ass=bottom levelirablg onta3 sund Lmap3commass=smot;est y */oatablges have their ->first_pageo/spa5,8/158units fmmemory (here,ass="c), and each leveliab ospit describe=ji/a>ospa3 class="comment"> *o/spa5}4/329pairs fmunits es inass=levels below, henea,3ocess bassiges are called "tail pages".o/spa5;4/33 Atck high level, y * reporhapp suhere i= markclasass=rablg 30"r=d_/a>ospa3 class="comment">/*o/spa5}4/331 class=bottom leveliavailablg, and prommeatclasass=" nngos upwardd_/a>ospa3 class="comment">/*o/spa5}4/33 as neot;Bary,aslus3some acoa hrclasneed firoaslayaricely with oassrd_/a>ospa3 class="comment">/*o/spa5}3/333parta ass=VM"systemcalled "tail pages".o/spa5;4/334Atceach level, w rkeepck lise ss="c,nam ch he r"coma ontinuousalled "tail pages".o/spa5;5/33lree_ ss="c length off(1ode=pde=pff="+c)aand mark fiwith ount" cla -2>pa3 c ospas5o/a>ospa3 class="comment"> *o/spa5)4/327So3amen w rhe ry */oatclasommfreespa3one, w remn de"+vound Le"t ou assalled "tail pages".o/spa5;8/158oassred &q clis," naw ry */oate amsmot; block, and bothuwerealled "tail pages".o/spa5;4/329free,und Lospa3 cla nd Losgnee3mus dbs=splitLineo blockacalled "tail pages".o/spa5;4/33 I "=block"> *ree_d,"and its bass="isry so9free,und nund> alled "tail pages".o/spa5;4/331trigg+ce* oalescspa3ineo "=block" larg+c siz"> * point ng/at the head page.o/spa5.4/332o/a>ospa3 class="comment"> *o/spa5.4/333-- nyc2o/a>ospa3 class="comment"> *o/spa5.4/33omment">/* remove PageBuddy */o/spa5;4/325o/5>4zone_sti76o/a>static/oa href="+code=inls="line" nam (oa hr_free_pf="ddumpd_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,s="line" nam /325o/5>4bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+code=L286">/28ine" class="sref">i unsigned int/oa href="+code=,s="line" nam /325o/5>8imigratetyp"pageo/a>/*oa hrmigratetyp"ode=os="line" nam /325o/5.4nr_unshow3o/a>)5.4/284o/a> static/eBuddidxa href="+code=_eBuddidx+codclass="sref">nr_show3o/a> =/5.4/284o/a> static/ordbi>/2didxa href="+code=_ordbi>/2didx+codclass="sref">nr_show3o/a> =/5.4/284o/a> static/uninitializ/2_vaigned int/oa hreuninitializ/2_vaid_pag" class="sref">bass=didxa href="+code=_bass=didxode=order" class="sref">ordero/a>5.4bad_pageo/a>(struct/oa href="+code=page" class="srbass=a href="+code=_bass=d_parder" class="sref">ordero/a>5.4/214o/5.4a> if (oa href="+code=unlikely" class="sref"a3 cCrder paa href="+code=_a3 cCrder pad_pag" class="sref">dump_pageo/a>(oa href="+codo))lass="sref">nr_show3o/a> =/5.4a> if (oa href="+code=unlikely" class="sref"dee" oykorder paa> oa href="+dee" oykorder paa> d_pagpage" class="sref">pageo/a>/*oa href="+cod,one" class="sref unsigned int/oa href="+code=o))lass="sref">nr_show3o/a> =/5.4ordero/a>5.8/198o/5.4/3VM_UG_VONgned int/oa hreVM_UG_VONd_pag class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"ode= =zo-1order" class="sref">ordero/a>5;4/260o/5;4, oa href="+code=page_to_pf3" class="sref">padump_pageo/a>(oa href="+codos&r"((1ode=pde=pfcomm" class="sre=MAORDERa href="+code=_e=MAORDERe=re) - 1order" class="sref">ordero/a>5;4/272o/5>4/3VM_UG_VONgned int/oa hreVM_UG_VONd_pag class="sref">isref"idxa href="+code=_eBuddidx+cods&r"((1ode=pde=pfcomm" class="sr unsigned int/oa href="+code=o - 1oorder" class="sref">ordero/a>5;4/3VM_UG_VONgned int/oa hreVM_UG_VONd_pag class="sref">i+codrnngoa href="+code=_bcodrnngod_pag class="sref">ief="pageo/a>/*oa href="+code=" class="sref">dump_pageo/a>(oa href="+codo)rder" class="sref">ordero/a>5;4/325o/5)4 unsigned int/oa href="+code=ode=pf3" class="sref"e=MAORDERa href="+code=_e=MAORDERe=re-1o class="sref">nr_unshow3o/a>)5)4/3bass=didxa href="+code=_bass=didxode=sume" class="sref"__find_bass=_indexa href="+code=__ffind_bass=_indexd_pag class="sref">isref"idxa href="+code=_eBuddidx+code=comm" class="sr unsigned int/oa href="+code=order" class="sref">ordero/a>5)4/228o/a> bass=a href="+code=_bass=d_pasume" class="sref"geo/a>(struct/oa href="+codessg" class="sref">bass=didxa href="+code=_bass=didxode= - class="sref">isref"idxa href="+code=_eBuddidx+codorder" class="sref">ordero/a>5)4/270o/apauddis_bass=a href="+code=_eBuddis_bass=d_pagpage" class="sref">pageo/a>/*oa href="+cod,one" class="srefbass=a href="+code=_bass=d_pa one" class="sref unsigned int/oa href="+code=o)der" class="sref">ordero/a>5;4/30breakrder" class="sref">ordero/a>5>4//*mment">/* remove PageBuddy */o/spa5>4/33333333333333333* Our bass="isrree_ orpit isr236o/a>#ifdefs="cALLOC guard sref,mment">/* remove PageBuddy */o/spa5>4/33333333333333333* mergeiwith it and m ospup3onela3 cl> * point ng/at the head page.o/spa5>4/33333333333333333*omment">/* remove PageBuddy */o/spa5>4dumpcis_guarda href="+code=_eBuddis_guardd_pag" class="sref">bass=a href="+code=_bass=d_pa)o class="sref">nr_unshow3o/a>)5{4static/oa hrefo"earesref"guard_" cld_pag" class="sref">bass=a href="+code=_bass=d_pa)rder" class="sref">ordero/a>5>4dump_pageo/a>(oa href="+code=0e=page" class="sref">pageo/a>5>4ief="pageo/a>/*oa href="+code=1ode=pde=pfcomm" class="sr unsigned int/oa href="+code=,s="line" nam /325o/5>4imigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>5;4nr_unshow3o/a>)5;4/30 class="sref">ilise_deaa href="+code=_lise_dead_pag&r static/bass=a href="+code=_bass=d_paent" class="sref">culrua href="+code=_lruode=o=page" class="sref">pageo/a>5;4ief="pageo/a>/*oa href="+codent" class="sref">culee_pareapageo/a>/*oa hrlee_parea+cod[comm" class="sr unsigned int/oa href="+code=].comm" class="srnrdree_gned int/oa hrenrdree_+code-=page" class="sref">pageo/a>5;4irmv_sref" unsigned int/oa hrermv_sref" unsid_pag" class="sref">bass=a href="+code=_bass=d_pa)rder" class="sref">ordero/a>5.4ordero/a>5.4/2didxa href="+code=_ordbi>/2didx+codsume" class="sref"bass=didxa href="+code=_bass=didxode= &r" class="sref">isref"idxa href="+code=_eBuddidx+codclass="sref">nr_show3o/a> =/5.4/3geo/a>(struct/oa href="+codeume" class="sref"geo/a>(struct/oa href="+codessg" class="sref">ordbi>/2didxa href="+code=_ordbi>/2didx+cods- class="sref">isref"idxa href="+code=_eBuddidx+codorder" class="sref">ordero/a>5)4/3eBuddidxa href="+code=_eBuddidx+codsume" class="sref"ordbi>/2didxa href="+code=_ordbi>/2didx+codclass="sref">nr_show3o/a> =/5{4/228o/a> unsigned int/oa href="+code=" class="sref">nr_unshow3o/a>+5)4ordero/a>5;4pageo/a>/*oa href="+cod,one" class="sref unsigned int/oa href="+code=oclass="sref">nr_unshow3o/a>+5;4/281o/5;4//*mment">/* remove PageBuddy */o/spa5;4/3333333333 I nd> "i= ry dass=larg+st possiblg sref,3ment"" nand Lbass=d_/a>ospa3 class="comment">/*o/spa5;4/3333333333 nd Lnext-high+st a3 clai= ree_. I iclis," t ospastpossiblgd_/a>ospa3 class="comment">/*o/spa5;4/3333333333 repormmensrhe rbespa3fee_d reporwill oalesce soon. Iineasf,mment">/* remove PageBuddy */o/spa5e4/* remove PageBuddy */o/spa5e4/3333333333 so it ospastlesstlde=uniroab rused soon and m retlde=uniroab rmergedd_/a>ospa3 class="comment">/*o/spa5)4/3333333333 asck highcla 3 claef="+c/a>ospa3 class="comment">/*o/spa5)4/3333333333omment">/* remove PageBuddy */o/spa5}4 unsigned int/oa href="+code=ode=pf3" class="sref"e=MAORDERa href="+code=_e=MAORDERe=re-2) &r&r" class="sref">isfn_valid_withia>, oa href="+codfn_valid_withiad_pag" class="sref">dumpcommo/a>, oa href="+code=page_to_pf3" class="sref">pabass=a href="+code=_bass=d_pa))o class="sref">nr_unshow3o/a>)5f4bad_pageo/a>(struct/oa href="+code=page" class="srhighcla> oa href="+highcla> +cod,o=page" class="srhighclabass=a href="+code=_highclabass=+codclass="sref">nr_show3o/a> =/5>4/2didxa href="+code=_ordbi>/2didx+codsume" class="sref"bass=didxa href="+code=_bass=didxode= &r" class="sref">isref"idxa href="+code=_eBuddidx+codclass="sref">nr_show3o/a> =/5)4 +codeume" class="sref"geo/a>(struct/oa href="+codessg" class="sref">ordbi>/2didxa href="+code=_ordbi>/2didx+cods- class="sref">isref"idxa href="+code=_eBuddidx+codorder" class="sref">ordero/a>5{4/3bass=didxa href="+code=_bass=didxode=sume" class="sref"__find_bass=_indexa href="+code=__ffind_bass=_indexd_pag class="sref">iordbi>/2didxa href="+code=_ordbi>/2didx+cod,one" class="sref unsigned int/oa href="+code=ess1order" class="sref">ordero/a>5)4 oa href="+highcla> +codessg" class="sref">bass=didxa href="+code=_bass=didxode= - class="sref">iordbi>/2didxa href="+code=_ordbi>/2didx+codorder" class="sref">ordero/a>5)4pauddis_bass=a href="+code=_eBuddis_bass=d_pagpage" class="srhighcla> oa href="+highcla> +cod,opage" class="srhighclabass=a href="+code=_highclabass=+cod,one" class="sref unsigned int/oa href="+code=ess1oo class="sref">nr_unshow3o/a>)5f4culrua href="+code=_lruode=,s="line" nam /325o/5;4culee_pareapageo/a>/*oa hrlee_parea+cod[comm" class="sr unsigned int/oa href="+code=].comm" class="srlee_plisepageo/a>/*oa hrlee_plisemmod[comm" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=]order" class="sref">ordero/a>5)4nr_show3o/a> =/5{4nr_show3o/a> =/5{4nr_show3o/a> =/5{4/272o/5;4/3lise_adda href="+code=_lise_addd_pag&r static/geo/a>(struct/oa href="+codent" class="sref">culrua href="+code=_lruode=,L&r static/ef="pageo/a>/*oa href="+codent" class="sref">culee_pareapageo/a>/*oa hrlee_parea+cod[comm" class="sr unsigned int/oa href="+code=].comm" class="srlee_plisepageo/a>/*oa hrlee_plisemmod[comm" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=]order" class="sref">ordero/a>5>4ordero/a>5>4culee_pareapageo/a>/*oa hrlee_parea+cod[comm" class="sr unsigned int/oa href="+code=].comm" class="srnrdree_gned int/oa hrenrdree_+cod" class="sref">nr_unshow3o/a>+5.4/292o/a> 5;4/317o/5;4zone_sti76o/a>static/oa href="+code=inline" class="sref">ilee_pmmens_ment"pageo/a>/*oa hrlee_pmmens_ment"d_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+codos="line" nam /325o/5>4nr_unshow3o/a>)6{4a> if (oa href="+code=unlikely" class="sref"r_unsunt" claa href="+code=_eBuddunt" clad_pagpage" class="sref">pageo/a>/*oa href="+cod) |lass="sref">nr_unshow3o/a>)6{1pageo/a>/*oa href="+codent" class="sref">cumappRN_Aageo/a>/*oa hrmappRN_class=zone" class="srefNULLAageo/a>/*oa hrNULL+cod) |lass="sref">nr_unshow3o/a>)6{2(struct/oa href="+codent" class="sref">cu"oa href="+code=reset"oa hrd_pa) !==0e |lass="sref">nr_unshow3o/a>)6{3pageo/a>/*oa href="+codent" class="sref">cu" claef="+code=reset" clad_pa &r" class="sref">ia="coFLAGS_CHECK_AT_FREEef="+code=reseta="coFLAGS_CHECK_AT_FREE+cod) |lass="sref">nr_unshow3o/a>)6{4imem_cgroup_bcodr_unsment"pageo/a>/*oa hrmem_cgroup_bcodr_unsment"d_pagpage" class="sref">pageo/a>/*oa href="+cod)))o class="sref">nr_unshow3o/a>)6{5 d_pagpage" class="sref">pageo/a>/*oa href="+codorder" class="sref">ordero/a>6,4pageo/a>6;4/292o/a> 6,8, oa href="+coreage_sref"aget_nidd_pagpage" class="sref">pageo/a>/*oa href="+codorder" class="sref">ordero/a>6,9ef">pageo/a>/*oa href="+codent" class="sref">cu" claef="+code=reset" clad_pa &r" class="sref">ia="coFLAGS_CHECK_AT_PREPef="+code=reseta="coFLAGS_CHECK_AT_PREP+codos="line" nam /325o/6;4ef">pageo/a>/*oa href="+codent" class="sref">cu" claef="+code=reset" clad_pa &r= ~ class="sref">ia="coFLAGS_CHECK_AT_PREPef="+code=reseta="coFLAGS_CHECK_AT_PREP+codrder" class="sref">ordero/a>6}4nr_show3o/a> =/6}4/292o/a> 6}3/292o/a> 6}4//*mment">/* remove PageBuddy */o/spa6;5/33lFreesck numbcla mmensres inass=PCPLlise alled "tail pages".o/spa6)4 * point ng/at the head page.o/spa6;4/327" cla i= ass=numbcla mmensrto9free> * point ng/at the head page.o/spa6;8/15 * point ng/at the head page.o/spa6;9/329I nd Lef=" was previousl="in lins are kll ss="c pRNneds are Le"t ound nulookrto * point ng/at the head page.o/spa6;4/33 see" nandi= ree_spa3o"ears repore"t o> * point ng/at the head page.o/spa6;4/33 * point ng/at the head page.o/spa6;4/33 And o"ear nd Lef=" ospastpmens_scaNned7" clacl, to9hold nd Ls are kll ss="c arealled "tail pages".o/spa6.4/333pRNneds are Ldetec nee3logic> * point ng/at the head page.o/spa6;4/33omment">/* remove PageBuddy */o/spa6;4/*oa hrlee_pmcppmens_bul"d_page" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+code=ine" class="sref">ioa href="+code=resetoa hrd_pa,s="line" nam /325o/6>4bad_pager_cpupmmenspageo/a>/*oa hreer_cpupmmens+code=page" class="srecppageo/a>/*oa hrecp+codos="line" nam /325o/6>4nr_unshow3o/a>)6>8imigratetyp"pageo/a>/*oa hrmigratetyp"ode= =o class="sref">nr_show3o/a> =/6.4ibatchdree_gned int/oa hrebatchdree_ode= =o class="sref">nr_show3o/a> =/6.4itodree_gned int/oa hretodree_+codsume" class="sref"oa href="+code=resetoa hrd_paclass="sref">nr_show3o/a> =/6.4/281o/6.4/*oa href="+codent" class="sref">culockef="+code=resetlockd_paorder" class="sref">ordero/a>6.4/3ef="pageo/a>/*oa href="+codent" class="sref">cuord_unregeoimablga href="+code=_ard_unregeoimablgode= =o class="sref">nr_show3o/a> =/6.4/3ef="pageo/a>/*oa href="+codent" class="sref">cupmens_scaNnedpageo/a>/*oa href="s_scaNnedode= =o class="sref">nr_show3o/a> =/6.4/325o/6.4todree_gned int/oa hretodree_+codo class="sref">nr_unshow3o/a>)6.4bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+codclass="sref">nr_show3o/a> =/6.8bad_palise_heada href="+code=_lise_head+code=page" class="srlisepageo/a>/*oa hrlisemmodclass="sref">nr_show3o/a> =/6.4nr_show3o/a> =/6;4//*mment">/* remove PageBuddy */o/spa6;4/33333333333333333* Rem ospmmensres inlise dheck rr pa-robhecfashion. Amment">/* remove PageBuddy */o/spa6;4/33333333333333333* batchdree_7" cla i= pa3 =add_d repor> *hecre332" fiwd nuanmment">/* remove PageBuddy */o/spa6;4/33333333333333333* empty lise > *en" clacleded &q> "i= so m retss="c are3fee_dmment">/* remove PageBuddy */o/spa6;4/33333333333333333* fullernlise dhestead spRNnspa3exot;Biv=uniarr pa emptymment">/* remove PageBuddy */o/spa6;4/33333333333333333* lise alled "tail pages".o/spa6)4/* remove PageBuddy */o/spa6)4nr_unshow3o/a>)6)4ibatchdree_gned int/oa hrebatchdree_ode=" class="sref">nr_unshow3o/a>+6)4imigratetyp"pageo/a>/*oa hrmigratetyp"ode= =ume" class="sref"MIGRATE_PCPTYPESpageo/a>/*oa hrMIGRATE_PCPTYPES+codos="line" nam /325o/6;4/30 nam imigratetyp"pageo/a>/*oa hrmigratetyp"ode= =o class="sref">nr_show3o/a> =/6>4ilisepageo/a>/*oa hrlisemmod =o&r static/gcppageo/a>/*oa hrecp+codent" class="sref">culise pageo/a>/*oa hrlisesmmod[comm" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=]class="sref">nr_show3o/a> =/6>4lise_emptya href="+code=_lise_emptymmpagpage" class="srlisepageo/a>/*oa hrlisemmodo)rder" class="sref">ordero/a>6>4/292o/a> 6>4//* &q> "i= nd Lonuninon-empty lise.lFree nd m y *.3*omment">/* remove PageBuddy */o/spa6>4batchdree_gned int/oa hrebatchdree_ode= =ume" class="sref"MIGRATE_PCPTYPESpageo/a>/*oa hrMIGRATE_PCPTYPES+codos="line" nam /325o/6;4todree_gned int/oa hretodree_+codrder" class="sref">ordero/a>6>4/317o/6>4nr_unshow3o/a>)6>4imepageo/a>/*oa hrmemmodcL ="line" nam //* migratetyp" nd Lto-be-fee_d r_un3*omment">/* remove PageBuddy */o/spa6;4/260o/6;4/30 class="sref">igeo/a>(struct/oa href="+code=o" class="sref">lise_e0"r=a href="+code=_lise_e0"r=d_pagpage" class="srlisepageo/a>/*oa hrlisemmodent" class="sref">cupreva>(struct/oa hrerev+code=e" class="sref">bad_pageo/a>(struct/oa href="+cod,one" class="sreflrua href="+code=_lruode=o=page" class="sref">pageo/a>6;4//* mus ddelete as _free_pf="ddump lise manipulates3*omment">/* remove PageBuddy */o/spa6;4ilise_deaa href="+code=_lise_dead_pag&r static/geo/a>(struct/oa href="+codent" class="sref">culrua href="+code=_lruode=o=page" class="sref">pageo/a>6;4imepageo/a>/*oa hrmemmode=o" class="sref">getdree_sref"migratetyp"pageo/a>/*oa hrgetdree_sref"migratetyp"d_pagpage" class="sref">pageo/a>/*oa href="+codorder" class="sref">ordero/a>6.4//* MIGRATE_MOVABLE lise ma="include MIGRATE_RESERVEs3*omment">/* remove PageBuddy */o/spa6;4i_free_pf="ddump_pageo/a>(oa hr_free_pf="ddumpd_pags="sref">bad_pageo/a>(struct/oa href="+cod,one" class="srefef="pageo/a>/*oa href="+code=0,one" class="srefmepageo/a>/*oa hrmemmodorder" class="sref">ordero/a>6.4itracf"mm_sref"pcpupdraia>, oa href="+cotracf"mm_sref"pcpupdraiad_pags="sref">bad_pageo/a>(struct/oa href="+cod,o0,one" class="srefmepageo/a>/*oa hrmemmodorder" class="sref">ordero/a>6.4 if (oa href="ode=unlikely" class="sref"gge_srefblock"migratetyp"pageo/a>/*oa hrgetdsrefblock"migratetyp"d_pagpage" class="sref">pageo/a>/*oa href="+codos=zone" class="srefMIGRATE_ISOLATEpageo/a>/*oa hrMIGRATE_ISOLATEmmodo) class="sref">nr_unshow3o/a>)6)4i_fmodaef="dr_unse"t oa href="+code=__fmodaef="dr_unse"t od_pagpage" class="sref="pageo/a>/*oa href="+code=" class="sref">NR_FREEfs="cSpageo/a>/*oa hrNR_FREEfs="cS+code=1order" class="sref">ordero/a>6;4/30 nam
    is"migrate_cmapageo/a>/*oa hris"migrate_cmad_pagpage" class="srmepageo/a>/*oa hrmemmodoos="line" nam /325o/6;4/30LLLLLLLLLLLLLLLL class="sref">i_fmodaef="dr_unse"t oa href="+code=__fmodaef="dr_unse"t od_pagpage" class="sref="pageo/a>/*oa href="+code=" class="sref">NR_FREEfCMAfs="cSpageo/a>/*oa hrNR_FREEfCMAfs="cS+code=1order" class="sref">ordero/a>6;4/292o/a> 6;4itodree_gned int/oa hretodree_+cods&r&r"-- class="sref">ibatchdree_gned int/oa hrebatchdree_ode= &r&r" /270o/alise_emptya href="+code=_lise_emptymmpagpage" class="srlisepageo/a>/*oa hrlisemmodo)rder" class="sref">ordero/a>6;4/292o/a> 6;4/*oa href="+codent" class="sref">culockef="+code=resetlockd_paorder" class="sref">ordero/a>6e4/292o/a> 6e4/317o/6)4bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+code=e" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,8ine" class="sref">i unsigned int/oa href="+code=,s="line" nam /325o/6)4imigratetyp"pageo/a>/*oa hrmigratetyp"ode=os="line" nam /325o/6}4nr_unshow3o/a>)6f4/*oa href="+codent" class="sref">culockef="+code=resetlockd_paorder" class="sref">ordero/a>6>4cuord_unregeoimablga href="+code=_ard_unregeoimablgode= =o class="sref">nr_show3o/a> =/6)4/3ef="pageo/a>/*oa href="+codent" class="sref">cupmens_scaNnedpageo/a>/*oa href="s_scaNnedode= =o class="sref">nr_show3o/a> =/6{4/214o/6)4bad_pageo/a>(struct/oa href="+cod,one" class="srefef="pageo/a>/*oa href="+code= class="sref">i unsigned int/oa href="+code=,L class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>6)4a> if (oa href="+code=unlikely" class="sref"migratetyp"pageo/a>/*oa hrmigratetyp"ode= =zone" class="srefMIGRATE_ISOLATEpageo/a>/*oa hrMIGRATE_ISOLATEmmodo)page" class="sref">pageo/a>6)4i_fmodaef="dree_sref"e"t oa href="+code=__fmodaef="dree_sref"e"t od_pag class="sref">ief="pageo/a>/*oa href="+code=1ode=pde=pfcomm" class="sr unsigned int/oa href="+code=,L class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>6)4culockef="+code=resetlockd_paorder" class="sref">ordero/a>6)4/292o/a> 6{4/260o/6{4zone_stbooaa href="+code=_booaclassne" nam (oa hrree_pef="s_pr_srrpd_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,8L286">/28ine" class="sref">i unsigned int/oa href="+code=)page" class="sref">pageo/a>6{4nr_unshow3o/a>)6;4iipageo/a>/*oa hri+codrder" class="sref">ordero/a>6>4ibada href="+code=_badode= =o class="sref">nr_show3o/a> =/6>4/325o/6.4bad_pageo/a>(struct/oa href="+cod,one" class="sref unsigned int/oa href="+code=oclass="sref">nr_unshow3o/a>+6;4bad_pageo/a>(struct/oa href="+cod,one" class="sref unsigned int/oa href="+code=oclass="sref">nr_unshow3o/a>+6;4/198o/6>4PoL1Anoa>, oa href="+coPoL1Anoad_pagpage" class="sref">pageo/a>/*oa href="+codo)page" class="sref">pageo/a>7{4ef">pageo/a>/*oa href="+codent" class="sref">cumappRN_Aageo/a>/*oa hrmappRN_classzone" class="srefNULLAageo/a>/*oa hrNULL+codclass="sref">nr_unshow3o/a>+7{1ipageo/a>/*oa hri+cod =o c" class="sref">iipageo/a>/*oa hri+codode=pf(1ode=pde=pfcomm" class="sr unsigned int/oa href="+code=oc" class="sref">iipageo/a>/*oa hri+cod++)page" class="sref">pageo/a>7{2ibada href="+code=_badode= +zone" class="sreflee_pmmens_ment"pageo/a>/*oa hrlee_pmmens_ment"d_pags="sref">bad_pageo/a>(struct/oa href="+code+" class="sref">iipageo/a>/*oa hri+codoclass="sref">nr_unshow3o/a>+7{3bada href="+code=_badode=)page" class="sref">pageo/a>7{4nr_unshow3o/a>+7{5/325o/7,4/270o/aPoL1HighMem>, oa href="+coPoL1HighMemd_pagpage" class="sref">pageo/a>/*oa href="+codo) class="sref">nr_unshow3o/a>)7;4idebug_ment"_no_locksfree_da href="+code=_debug_ment"_no_locksfree_dd_pagpage" class="sref">_addresspageo/a>/*oa href">_addressd_pagpage" class="sref">pageo/a>/*oa href="+codo,/270o/aP="coSIZEpageo/a>/*oa hrP="coSIZE+codde=pde=pne" class="sref unsigned int/oa href="+code=oclass="sref">nr_unshow3o/a>+7,8/228o/a> debug_ment"_no_objfree_da href="+code=_debug_ment"_no_objfree_dd_pagpage" class="sref">_addresspageo/a>/*oa href">_addressd_pagpage" class="sref">pageo/a>/*oa href="+codo,lass="sref">nr_unshow3o/a>+7,9/228o/a> P="coSIZEpageo/a>/*oa hrP="coSIZE+codode=pde=pfcomm" class="sr unsigned int/oa href="+code=oclass="sref">nr_unshow3o/a>+7;4/292o/a> 7}4(oa hrarchdree_ddumpd_pags="sref">bad_pageo/a>(struct/oa href="+cod,one" class="sref unsigned int/oa href="+code=oclass="sref">nr_unshow3o/a>+7}4/*oa hrkernelduntpmmensd_pags="sref">bad_pageo/a>(struct/oa href="+cod,o1ode=pde=pfcomm" class="sr unsigned int/oa href="+code=,L0e=page" class="sref">pageo/a>7}3/292o/a> 7}4nr_unshow3o/a>+7;5/292o/a> 7}4/292o/a> 7}4/*oa hr__lee_pmmens_o"d_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,8L286">/28ine" class="sref">i unsigned int/oa href="+code=)page" class="sref">pageo/a>7;8nr_unshow3o/a>)7;9/28longone" class="srefl claef="+code=reset" clad_paclass="sref">nr_unshow3o/a>+7;4imigratetyp"pageo/a>/*oa hrmigratetyp"ode=class="sref">nr_unshow3o/a>+7;4/281o/7;4/270o/alee_pef="s_pr_srrp_pageo/a>(oa hrree_pef="s_pr_srrpd_pags="sref">bad_pageo/a>(struct/oa href="+cod,one" class="sref unsigned int/oa href="+code=o)page" class="sref">pageo/a>7.4nr_unshow3o/a>+7;4/214o/7;4/2al_irq_sav/a>(struct/oa hr>/2al_irq_sav/d_pags="sref">bad_pal claef="+code=reset" clad_pae=page" class="sref">pageo/a>7>4/*oa hr_"oa hr_vm_evene d_pags="sref">bad_paPGFREEef="+code=resetaGFREE+cod,o1ode=pde=pfcomm" class="sr unsigned int/oa href="+code=e=page" class="sref">pageo/a>7>4/*oa hrmigratetyp"ode= =opage" class="srgge_srefblock"migratetyp"pageo/a>/*oa hrgetdsrefblock"migratetyp"d_pagpage" class="sref">pageo/a>/*oa href="+codo=page" class="sref">pageo/a>7>8/*oa hrsetdree_sref"migratetyp"d_pags="sref">bad_pageo/a>(struct/oa href="+cod,one" class="srefmigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>7.4/270o/alee_pf="ddump_pageo/a>(oa hrree_pf="ddumpd_pagpage" class="sref">_ef="pageo/a>/*oa href">_ef="d_pagpage" class="sref">pageo/a>/*oa href="+codo,ss="sref">bad_pageo/a>(struct/oa href="+cod,one" class="sref unsigned int/oa href="+code=,L class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>7.4/2al_irq_restorp_pageo/a>(oa hr>/2al_irq_restorpd_pags="sref">bad_pal claef="+code=reset" clad_pae=page" class="sref">pageo/a>7.4/292o/a> 7.4/272o/7.4//*mment">/* remove PageBuddy */o/spa7.4/33 Read acot;B to9ef="ent" manBudaa> "i= saf rbecause it ospastL286">/28long,mment">/* remove PageBuddy */o/spa7.4/33lbut we still ne_d ro serialize writers. Curr35"uniall allers ofmment">/* remove PageBuddy */o/spa7.4/* remove PageBuddy */o/spa7.4/327at boot time. So"forashorter boot time, we shiftand Lba="+nrto * point ng/at the head page.o/spa7.8/15 pue_sref"bootmem()3ro serialize writers. * point ng/at the head page.o/spa7.4/32omment">/* remove PageBuddy */o/spa7;4/*oa hr__lee_pmmens_bootmemd_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,8L286">/28ine" class="sref">i unsigned int/oa href="+code=)page" class="sref">pageo/a>7;4nr_unshow3o/a>)7;4/28ine" class="sref">inrpmmenspageo/a>/*oa hrnrpmmensode= =o1ode=pde=pfcomm" class="sr unsigned int/oa href="+code==page" class="sref">pageo/a>7;4/28ine" class="sref">ilooppageo/a>/*oa hrloopode==page" class="sref">pageo/a>7;4/214o/7;4pageo/a>/*oa href="+codo=page" class="sref">pageo/a>7)4looppageo/a>/*oa hrloopode= =o c" class="sref">ilooppageo/a>/*oa hrloopode= de=pfcomm" class="srnrpmmenspageo/a>/*oa hrnrpmmensode=c" class="sref">ilooppageo/a>/*oa hrloopode=++) class="sref">nr_unshow3o/a>)7)4bad_pageo/a>(struct/oa href="+code=page" class="srea>(struct/oa hreode= =o&r static/geo/a>(struct/oa href="+cod[comm" class="srlooppageo/a>/*oa hrloopode=]class="sref">nr_show3o/a> =/7)4/198o/7)4 ooppageo/a>/*oa hrloopode= +o1ode=pfcomm" class="srnrpmmenspageo/a>/*oa hrnrpmmensode=)page" class="sref">pageo/a>7;4/30 static/pr_fetchwgned int/oa hrepr_fetchwd_pagpage" class="srea>(struct/oa hreode= ss1order" class="sref">ordero/a>7>4ordero/a>7>4oa href="+code=resetsetdref">oa hrd_pagpage" class="srea>(struct/oa hreode=,L0e=page" class="sref">pageo/a>7>4/292o/a> 7>4/214o/7>4_ef="pageo/a>/*oa href">_ef="d_pagpage" class="sref">pageo/a>/*oa href="+codoent" class="sref">cumanBudaa> pageo/a>/*oa hrmanBudaa> ode= s=o1ode=pde=pfcomm" class="sr unsigned int/oa href="+code==page" class="sref">pageo/a>7;4" c" clacda href="+code=_setdref">" c" clacdd_pagpage" class="sref">pageo/a>/*oa href="+codo=page" class="sref">pageo/a>7>4bad_pageo/a>(struct/oa href="+cod,one" class="sref unsigned int/oa href="+code=oclass="sref">nr_unshow3o/a>+7>4/292o/a> 7>4nr_show3o/a> =/7;4nr_show3o/a> =/7;4//3lFree wholetss="block"and set it ospastmigratnee3typ" ro MIGRATE_CMA.3*omment">/* remove PageBuddy */o/spa7;4bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod)page" class="sref">pageo/a>7;4nr_unshow3o/a>)7;4/28ne" nam /*oa hrsrefblock"nrpmmensode==page" class="sref">pageo/a>7.4bad_pageo/a>(struct/oa href="+code=page" class="srea>(struct/oa hreode= =os="sref">bad_pageo/a>(struct/oa href="+cod=page" class="sref">pageo/a>7.4/292o/a> 7.4nr_unshow3o/a>)7.4ordero/a>7)4oa href="+code=resetsetdref">oa hrd_pagpage" class="srea>(struct/oa hreode=,L0e=page" class="sref">pageo/a>7;4iea>(struct/oa hreode=,L-- class="sref">iipageo/a>/*oa hri+codoclass="sref">nr_unshow3o/a>+7;4/281o/7;4" c" clacda href="+code=_setdref">" c" clacdd_pagpage" class="sref">pageo/a>/*oa href="+codo=page" class="sref">pageo/a>7;4/3sge_srefblock"migratetyp"pageo/a>/*oa hrsge_srefblock"migratetyp"d_pags="sref">bad_pageo/a>(struct/oa href="+cod,one" class="srefMIGRATE_CMAa>(struct/oa hrMIGRATE_CMA+codo=page" class="sref">pageo/a>7;4bad_pageo/a>(struct/oa href="+cod,one" class="srefsrefblock" unsigned int/oa hresrefblock" unsi+codo=page" class="sref">pageo/a>7;4/*oa hrtotalrampmmensode= s=opage" class="srsrefblock"nrpmmenspageo/a>/*oa hrsrefblock"nrpmmensode==page" class="sref">pageo/a>7e4/281o/7;4PoL1HighMem>, oa href="+coPoL1HighMemd_pagpage" class="sref">pageo/a>/*oa href="+codo)s="line" nam /281o/7;4/*oa hrtotalhighpmmensode= s=opage" class="srsrefblock"nrpmmenspageo/a>/*oa hrsrefblock"nrpmmensode==page" class="sref">pageo/a>7e4pageo/a>7}4/292o/a> 7f4pageo/a>7}4/272o/7)4//*mment">/* remove PageBuddy */o/spa7{4/33 Ths=a3 cl subdivisnee3hee rhs critical"forand LIO subsystem. * point ng/at the head page.o/spa7)4/33lP"ease"do not alter ndi= a3 cl without good reasons"and regressionmment">/* remove PageBuddy */o/spa7)4/* remove PageBuddy */o/spa7)4/327ths=a3 cl in"which smaller blocks are3delivcled3dependc n ths=a3 clmment">/* remove PageBuddy */o/spa7)4/15 thsy ospare3subdivided in"ndi= runc nee. &q> "i= nd Lprimary factolmment">/* remove PageBuddy */o/spa7)4/329influencspa3ths=a3 cl in"which mmens are3delivcled3toand LIOmment">/* remove PageBuddy */o/spa7{4/33 subsystem acoa3 spa3to empirical"testing,"and tq> "i= also justifiedmment">/* remove PageBuddy */o/spa7{4/33 by considerspa3ths=behaviol a buddy system con=addspa3a sspalgodent">/* remove PageBuddy */o/spa7{4/33 large block of memory ac" fi n by a series of small y */oatnees. * point ng/at the head page.o/spa7;4/333&q> "behaviol i= a critical"factolrhecsglise mergspa ospastsucot;B. * point ng/at the head page.o/spa7;4/33 * point ng/at the head page.o/spa7;4/33l-- nyc * point ng/at the head page.o/spa7;4/* remove PageBuddy */o/spa7;4bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+code=e" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,/* remove PageBuddy */o/spa7;4ilowgned int/oa hrelowd_pa,8ine" class="sref">ihighgned int/oa hrehigh+code=e" class="sref">bad_palee_pareapageo/a>/*oa hrlee_parea+code=page" class="srareapageo/a>/*oa hrarea+cod,/* remove PageBuddy */o/spa7;4imigratetyp"pageo/a>/*oa hrmigratetyp"ode=os="line" nam /325o/8{4nr_unshow3o/a>)8{1/28longone" class="srefsiz"pageo/a>/*oa hrsiz"ode= =o1ode=pde=pfcomm" class="srhighgned int/oa hrehigh+cod=page" class="sref">pageo/a>8{2/272o/8{3highgned int/oa hrehigh+cod nt" " class="sref">ilowgned int/oa hrelowd_pa) class="sref">nr_unshow3o/a>)8{4pageo/a>8{5pageo/a>8{6/*oa hrsiz"ode= nt" nt" =o1=page" class="sref">pageo/a>8{7iVM_BUG_ONpageo/a>/*oa hrVM_BUG_ONd_pagpage" class="srbad_ran">pageo/a>/*oa hrbad_ran">d_pagpage" class="sref="pageo/a>/*oa href="+code=&r static/geo/a>(struct/oa href="+cod[comm" class="srsiz"pageo/a>/*oa hrsiz"ode=]o)rder" class="sref">ordero/a>8,8/198o/8,9/198o/8;4highgned int/oa hrehigh+cod ne=pfcomm" class="srdebug_guardnr_unshow3o/a>)8}4/30 ="line" nam //*mment">/* remove PageBuddy */o/spa8}4/3333333333333333333333333* Mark as guard mmens (olrmmen), reporwill y */wrto * point ng/at the head page.o/spa8}3/3333333333333333333333333* merge back to y */oatolrwd nubuddy will be3fee_d. * point ng/at the head page.o/spa8}4/3333333333333333333333333* Correspon spa3ead tablg e0"ries will not b" rouched,mment">/* remove PageBuddy */o/spa8;5/3333333333333333333333333* mmens will s="y not presela in virtual"address ="lcgodent">/* remove PageBuddy */o/spa8}4/* remove PageBuddy */o/spa8}4iINIT_LIST_HEADgned int/oa hreINIT_LIST_HEADd_pag&r static/geo/a>(struct/oa href="+cod[comm" class="srsiz"pageo/a>/*oa hrsiz"ode=]. class="sref">ilrua href="+code=_lruode=o=page" class="sref">pageo/a>8;8isetdref">guard_" cla href="+code=_setdref">guard_" cld_pag&r static/geo/a>(struct/oa href="+cod[comm" class="srsiz"pageo/a>/*oa hrsiz"ode=]o=page" class="sref">pageo/a>8;9isetdref">privt oa href="+code=_setdref">privt od_pag&r static/geo/a>(struct/oa href="+cod[comm" class="srsiz"pageo/a>/*oa hrsiz"ode=],one" class="srefhighgned int/oa hrehigh+codo=page" class="sref">pageo/a>8;4/30 ="line" nam //3lGuard mmens are3not availablg foraany usaun3*omment">/* remove PageBuddy */o/spa8;4/30 class="sref">i_fmodaef="dree_sref"e"t oa href="+code=__fmodaef="dree_sref"e"t od_pag class="sref">ief="pageo/a>/*oa href="+code=-(1ode=pde=pfcomm" class="srhighgned int/oa hrehigh+codo,/* remove PageBuddy */o/spa8;4imigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>8;3pageo/a>8;4/292o/a> 8;4pageo/a>8>4(struct/oa href="+cod[comm" class="srsiz"pageo/a>/*oa hrsiz"ode=]. class="sref">ilrua href="+code=_lruode=e=&r static/areapageo/a>/*oa hrarea+cod-nt" class="sref">culee_plisepageo/a>/*oa hrlee_plise+cod[comm" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=]o=page" class="sref">pageo/a>8;4iareapageo/a>/*oa hrarea+cod-nt" class="sref">cunr"ree_gned int/oa hrenr"ree_+cod++=page" class="sref">pageo/a>8;8 unsigned int/oa hresetdref"> unsid_pag&r static/geo/a>(struct/oa href="+cod[comm" class="srsiz"pageo/a>/*oa hrsiz"ode=],one" class="srefhighgned int/oa hrehigh+codo=page" class="sref">pageo/a>8;9/292o/a> 8.4/292o/a> 8.4/281o/8.4//*mment">/* remove PageBuddy */o/spa8.4/333&q> "ead i= about to b" nam /* remove PageBuddy */o/spa8.4/33omment">/* remove PageBuddy */o/spa8.4iment"_new_geo/a>(struct/oa hrment"_new_geo/d_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+codos="line" nam /325o/8.4nr_unshow3o/a>)8.4a> if (oa href="+code=unlikely" class="sref"pageo/a>/*oa href="+codo |lass="sref">nr_unshow3o/a>)8.8pageo/a>/*oa href="+codent" class="sref">cumappRN_Aageo/a>/*oa hrmappRN_class=zone" class="srefNULLAageo/a>/*oa hrNULL+cod) |lass="sref">nr_unshow3o/a>)8.9(struct/oa href="+codent" class="sref">cu>oa href="+code=reset>oa hrd_paos=zo0) |lass="sref">nr_unshow3o/a>)8;4pageo/a>/*oa href="+codent" class="sref">cul claef="+code=reset" clad_pa=&rL228">/228o/a> P="coFLAGS_CHECK_AT_PREPef="+code=resetP="coFLAGS_CHECK_AT_PREP+codo |lass="sref">nr_unshow3o/a>)8;4/*oa hrmem_cgroup_bad_r_unsment"d_pagpage" class="sref">pageo/a>/*oa href="+codo)o) class="sref">nr_unshow3o/a>)8;4ibad_geo/a>(struct/oa hrbad_geo/d_pagpage" class="sref">pageo/a>/*oa href="+codo=page" class="sref">pageo/a>8;4pageo/a>8;4/292o/a> 8;4nr_show3o/a> =/8)4/292o/a> 8)4/317o/8)4ipr_s_new_geo/a>(struct/oa hrpr_s_new_geo/d_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,8ine" class="sref">i unsigned int/oa href="+code=,opage" class="srgfp_ref="+code=resetgfp_r+codepage" class="srgfp_l claef="+code=resetgfp_l cla+codos="line" nam /325o/8)4nr_unshow3o/a>)8;4iipageo/a>/*oa hri+codrder" class="sref">ordero/a>8>4/281o/8>4ipageo/a>/*oa hri+cod =o c" class="sref">iipageo/a>/*oa hri+codode=pf(1ode=pde=pfcomm" class="sr unsigned int/oa href="+code=oc" class="sref">iipageo/a>/*oa hri+cod++) class="sref">nr_unshow3o/a>)8>4bad_pageo/a>(struct/oa href="+code=page" class="srea>(struct/oa hreode= =os="sref">bad_pageo/a>(struct/oa href="+code+" class="sref">iipageo/a>/*oa hri+codrder" class="sref">ordero/a>8>4a> if (oa href="+code=unlikely" class="sref"ment"_new_geo/a>(struct/oa hrment"_new_geo/d_pagpage" class="srea>(struct/oa hreode=)o)s="line" nam /281o/8>4pageo/a>8;4/292o/a> 8>4/317o/8>4privt oa href="+code=_setdref">privt od_pagpage" class="sref">pageo/a>/*oa href="+cod,80e=page" class="sref">pageo/a>8>4/270o/asetdref">" c" clacda href="+code=_setdref">" c" clacdd_pagpage" class="sref">pageo/a>/*oa href="+codo=page" class="sref">pageo/a>8;4/260o/8;4/2_geo/a>(struct/oa hrarchd0">/2_geo/d_pagpage" class="sref">pageo/a>/*oa href="+cod,8comm" class="sr unsigned int/oa href="+code=ocs="line" nam /260o/8;4/*oa hrkernelduntpmmensd_pags="sref">bad_pageo/a>(struct/oa href="+cod,o1ode=pde=pfcomm" class="sr unsigned int/oa href="+code=,L1order" class="sref">ordero/a>8;4/292o/a> 8;4gfp_l claef="+code=resetgfp_l cla+cod=&rL228">/228o/a> __GFP_ZEROa href="+code=__fGFP_ZERO+codos="line" nam /325o/8.4ipr_s_zero_geo/a>(struct/oa hrpr_s_zero_geo/d_pagpage" class="sref">pageo/a>/*oa href="+cod,8comm" class="sr unsigned int/oa href="+code=,opage" class="srgfp_l claef="+code=resetgfp_l cla+codorder" class="sref">ordero/a>8;4/292o/a> 8.4 unsigned int/oa href="+code==&r&rLm" class="sref">gfp_l claef="+code=resetgfp_l cla+cod=&rL228">/228o/a> __GFP_COMPef="+code=reset__GFP_COMPode=)onam /292o/a> 8.4(struct/oa hrpr_s_comp cld_geo/d_pagpage" class="sref">pageo/a>/*oa href="+cod,8comm" class="sr unsigned int/oa href="+code=ocs="line" nam /260o/8;4nr_show3o/a> =/8;4nr_show3o/a> =/8;4/292o/a> 8;4/272o/8;4//*mment">/* remove PageBuddy */o/spa8;4/33 Goandrough nd Lree_ lises"forand Lgiven migratetyp""and removgodent">/* remove PageBuddy */o/spa8;4/33lnd Lsmallest availablg pad feom nd Lree_lisesodent">/* remove PageBuddy */o/spa8;4/* remove PageBuddy */o/spa8;4bad_pageo/a>(struct/oa href="+code=page" class="sr__rmqueue_smallestef="+code=reset__rmqueue_smallestd_page" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+code=L286">/28ine" class="sref">i unsigned int/oa href="+code=,/* remove PageBuddy */o/spa8e4imigratetyp"pageo/a>/*oa hrmigratetyp"ode=os="line" nam /325o/8}4nr_unshow3o/a>)8f4/28ine" class="sref">imurr35"> unsigned int/oa hremurr35"> unsi+codrder" class="sref">ordero/a>8}4bad_palee_pareapageo/a>/*oa hrlee_parea+code=L class="sref">iareapageo/a>/*oa hrarea+codrder" class="sref">ordero/a>8}4bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+codrder" class="sref">ordero/a>8}4/214o/8)4//3lFind a pad of nd Lappropriate siz" in"nd Lpreferled3lise 3omment">/* remove PageBuddy */o/spa8)4murr35"> unsigned int/oa hremurr35"> unsi+cod =os="sref">bad_pa unsigned int/oa href="+code==" class="sref">imurr35"> unsigned int/oa hremurr35"> unsi+cod ne=pfcomm" class="srMAX_ORDERgned int/oa hreMAX_ORDERode=="++ class="sref">imurr35"> unsigned int/oa hremurr35"> unsi+cod) class="sref">nr_unshow3o/a>)8)4iareapageo/a>/*oa hrarea+cod =o&rg class="sref">ief="pageo/a>/*oa href="+cod-nt" class="sref">culee_pareapageo/a>/*oa hrlee_parea+cod[comm" class="srmurr35"> unsigned int/oa hremurr35"> unsi+cod]o=page" class="sref">pageo/a>8)4 ise_empt if (oa href=" ise_empt d_pag&r static/areapageo/a>/*oa hrarea+cod-nt" class="sref">culee_plisepageo/a>/*oa hrlee_plise+cod[comm" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=]oos="line" nam /325o/8}4pageo/a>8{4/260o/8{4(struct/oa href="+code=os="sref">bad_pa ise_entr if (oa href=" ise_entr d_pagpage" class="srareapageo/a>/*oa hrarea+cod-nt" class="sref">culee_plisepageo/a>/*oa hrlee_plise+cod[comm" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=]. class="sref">inexepageo/a>/*oa hrnexeode=,/* remove PageBuddy */o/spa8{4bad_pageo/a>(struct/oa href="+cod,8comm" class="srlrua href="+code=_lruode=o=page" class="sref">pageo/a>8;4bad_pa ise_del if (oa href=" ise_deld_pag&r static/ef">pageo/a>/*oa href="+codent" class="sref">culrua href="+code=_lruode=o=page" class="sref">pageo/a>8;4 unsigned int/oa hrermvdref"> unsid_pagpage" class="sref">pageo/a>/*oa href="+codo=page" class="sref">pageo/a>8;4iareapageo/a>/*oa hrarea+cod-nt" class="sref">cunr"ree_gned int/oa hrenr"ree_+cod--=page" class="sref">pageo/a>8;4/*oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,8comm" class="sr unsigned int/oa href="+code=,opage" class="srmurr35"> unsigned int/oa hremurr35"> unsi+cod,opage" class="srareapageo/a>/*oa hrarea+cod,L class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>8;4pageo/a>/*oa href="+codrder" class="sref">ordero/a>8;4/292o/a> 8;4nr_show3o/a> =/9{4ordero/a>9{1/292o/a> 9{2/272o/9{3/292o/a> 9{4//*mment">/* remove PageBuddy */o/spa9{5/33l&q> "array describes3ths=a3 cl lises"are3fallen back to wd nmment">/* remove PageBuddy */o/spa9{6/* remove PageBuddy */o/spa9{7/32omment">/* remove PageBuddy */o/spa9,8ifallbackaef="+code=reset"allbacka+cod[comm" class="srMIGRATE_TYPESgned int/oa hreMIGRATE_TYPESode=][4]e=oclass="sref">nr_unshow3o/a>)9,9iMIGRATE_MOVABLEgned int/oa hreMIGRATE_MOVABLEode=,m nr_show3o/a> =/9}4iMIGRATE_UNMOVABLEgned int/oa hreMIGRATE_UNMOVABLEode=,//3lNevcl used32omment">/* remove PageBuddy */o/spa9}4iMIGRATE_UNMOVABLEgned int/oa hreMIGRATE_UNMOVABLEode=,pageo/a>9}4//3lNevcl used32omment">/* remove PageBuddy */o/spa9}8//3lNevcl used32omment">/* remove PageBuddy */o/spa9}9ordero/a>9;4/260o/9;4//3mment">/* remove PageBuddy */o/spa9;4/33 Moveltd Lree_ mmens in"a ran">3toand Lree_ lises"of nd Lreques" fityp". * point ng/at the head page.o/spa9;3/333Note3tepors="rtdref""and eld_geo/s are3not al6">/28on a pad blockd_ point ng/at the head page.o/spa9;4/33 b cldary. If al6">mela isLrequired, use movgdree_srefs_block()d_ point ng/at the head page.o/spa9;5/33omment">/* remove PageBuddy */o/spa9>4imovgdree_srefspageo/a>/*oa hrmovgdree_srefsd_page" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+code/* remove PageBuddy */o/spa9>4bad_pageo/a>(struct/oa href="+code=page" class="srs="rtdref"a>(struct/oa hrs="rtdref"ode=,bad_pageo/a>(struct/oa href="+code=page" class="sreld_geo/a>(struct/oa hreld_geo/d_pae/* remove PageBuddy */o/spa9>8imigratetyp"pageo/a>/*oa hrmigratetyp"ode=os="line" nam /325o/9;9nr_unshow3o/a>)9.4bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+codrder" class="sref">ordero/a>9.4/28longone" class="sref unsigned int/oa href="+code==page" class="sref">pageo/a>9.4iprefs_movgda href="+code=_prefs_movgd+code=o class="sref">nr_show3o/a> =/9.4/292o/a> 9.4/292o/a> 9.5//3mment">/* remove PageBuddy */o/spa9.4/* remove PageBuddy */o/spa9.4/333333333* CONFIGfHOLES_IN_ZONE isLset. &q> "bug ment" isLprobablyLredcldahrd_ent">/* remove PageBuddy */o/spa9.8/133333333* anyway as we ment" ef=" b cldarins in"movgdree_srefs_block(). * point ng/at the head page.o/spa9.9/333333333* Removg pora later date3wd nuno"bug repores"exise relatedrto * point ng/at the head page.o/spa9;4/333333333* groupspa3ead s by mobilit d_ point ng/at the head page.o/spa9;4/333333333*omment">/* remove PageBuddy */o/spa9;4/*oa hrBUG_ONd_pagpage" class="srmmenaef="a href="+code=_pref_ef="d_pagpage" class="srs="rtdref"a>(struct/oa hrs="rtdref"ode=)s=zone" class="srefmmenaef="a href="+code=_pref_ef="d_pagpage" class="sreld_geo/a>(struct/oa hreld_geo/d_pao)rder" class="sref">ordero/a>9;4pageo/a>9;4/214o/9;4geo/a>(struct/oa href="+code=os="sref">bad_pas="rtdref"a>(struct/oa hrs="rtdref"ode=pfcomm" class="srgeo/a>(struct/oa href="+codene=p=os="sref">bad_paeld_geo/a>(struct/oa hreld_geo/d_pa;) class="sref">nr_unshow3o/a>)9)4//3lMake3sure3we are3not inadvert31"lyLchan"spa3nd_ps3*omment">/* remove PageBuddy */o/spa9;4iVM_BUG_ONpageo/a>/*oa hrVM_BUG_ONd_pagpage" class="sreBuddto_nida href="+code=_prefdto_nidd_pagpage" class="sref">pageo/a>/*oa href="+codos=zone" class="srefef="dto_nida href="+code=_ef="dto_nidd_pagpage" class="sref="pageo/a>/*oa href="+codo)rder" class="sref">ordero/a>9;8/198o/9)4pageo/a>/*oa href="+codoo) class="sref">nr_unshow3o/a>)9;4/30 age" class="sref">pageo/a>/*oa href="+cod++=page" class="sref">pageo/a>9>4/30con=inue=page" class="sref">pageo/a>9>4/292o/a> 9>4/292o/a> 9>4pageo/a>/*oa href="+codoo class="sref">nr_unshow3o/a>)9;4pageo/a>/*oa href="+cod++=page" class="sref">pageo/a>9>4/30con=inue=page" class="sref">pageo/a>9>4/292o/a> 9>8/198o/9>4bad_pageo/" unsigned int/oa hresref> unsid_pagpage" class="sref">pageo/a>/*oa href="+codo=page" class="sref">pageo/a>9;4pageo/a>/*oa href="+codent" class="sref">culrua href="+code=_lruode=e/* remove PageBuddy */o/spa9;4/30 =&r static/ef="pageo/a>/*oa href="+cod-nt" class="sref">culee_pareapageo/a>/*oa hrlee_parea+cod[comm" class="sr unsigned int/oa href="+code=]. class="sref">ilee_plisepageo/a>/*oa hrlee_plise+cod[comm" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=]o=page" class="sref">pageo/a>9;4bad_pasetdree_sref"migratetyp"pageo/a>/*oa hrsetdree_sref"migratetyp"d_pagpage" class="sref">pageo/a>/*oa href="+cod,L class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>9;4bad_pageo/a>(struct/oa href="+code+=o1ode=pde=pfcomm" class="sr unsigned int/oa href="+code==page" class="sref">pageo/a>9;4pageo/a>9;4/292o/a> 9;4/292o/a> 9.4s_movgda href="+code=_prefs_movgd+cod=page" class="sref">pageo/a>9;8/292o/a> 9;4nr_show3o/a> =/9;4imovgdree_srefs_blockpageo/a>/*oa hrmovgdree_srefs_blockd_page" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+code=e" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,/* remove PageBuddy */o/spa9;4/30 ======= ne" class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"ode=os="line" nam /325o/9;4nr_unshow3o/a>)9;4/28longone" class="srefs="rtdrfna href="+code=_s="rtdrfn+cod,L class="sref">ield_gfna href="+code=_eld_gfn+cod=page" class="sref">pageo/a>9;4bad_pageo/a>(struct/oa href="+code=page" class="srs="rtdref"a>(struct/oa hrs="rtdref"ode=,<=page" class="sreld_geo/a>(struct/oa hreld_geo/d_pa=page" class="sref">pageo/a>9;4pageo/a>9;4bad_pageo/"to_efna href="+code=_prefdto_efnd_pagpage" class="sref">pageo/a>/*oa href="+codo=page" class="sref">pageo/a>9;4bad_pas="rtdrfna href="+code=_s="rtdrfn+cod &rL~gpage" class="sref">block_nr_geo/spageo/a>/*oa href="block_nr_geo/s+cod-1order" class="sref">ordero/a>9;4(struct/oa hrs="rtdref"ode= =os="sref">bad_pagfndto_ef">pageo/a>/*oa hrefndto_ef">d_pagpage" class="srs="rtdrfna href="+code=_s="rtdrfn+codorder" class="sref">ordero/a>9;4/270o/aeld_geo/a>(struct/oa hreld_geo/d_pae=os="sref">bad_pas="rtdref"a>(struct/oa hrs="rtdref"ode=e+" class="sref">ief">block_nr_geo/spageo/a>/*oa href="block_nr_geo/s+cod -o1=page" class="sref">pageo/a>9}4/270o/aeld_gfna href="+code=_eld_gfn+cod =os="sref">bad_pas="rtdrfna href="+code=_s="rtdrfn+cod +" class="sref">ief">block_nr_geo/spageo/a>/*oa href="block_nr_geo/s+cod -o1=page" class="sref">pageo/a>9}4/281o/9}4//3lDo3not cross ef=" b cldarins *omment">/* remove PageBuddy */o/spa9}4s="rtdrfna href="+code=_s="rtdrfn+cod &e=pfcomm" class="sref="pageo/a>/*oa href="+cod-nt" class="sref">cuef="ds="rtdrfna href="+code=_ef="ds="rtdrfnode=os="line" nam /325o/9}4(struct/oa hrs="rtdref"ode= =os="sref">bad_pagf">pageo/a>/*oa href="+cod=page" class="sref">pageo/a>9}4eld_gfna href="+code=_eld_gfn+cod nt" =ocomm" class="sref="pageo/a>/*oa href="+cod-nt" class="sref">cuef="ds="rtdrfna href="+code=_ef="ds="rtdrfnode= +" class="sref">ief="pageo/a>/*oa href="+cod-nt" class="sref">cuent">/2_geo/spageo/a>/*oa hrent">/2_geo/sode=os="line" nam /325o/9}4nr_show3o/a> =/9)4/317o/9)4/*oa href="+code=page" class="srs="rtdref"a>(struct/oa hrs="rtdref"ode=,</270o/aeld_geo/a>(struct/oa hreld_geo/d_pa,L class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>9}4/292o/a> 9{4/260o/9{4pageo/a>/*oa hrmhan"e_ef="block_ran">d_page" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">block_geo/a>(struct/oa href="block_geo/+cod,/* remove PageBuddy */o/spa9{4is="rtd unsigned int/oa hres="rtd unsid_pa,L ne" class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"ode=os="line" nam /325o/9;4nr_unshow3o/a>)9;4inr_geo/blockspageo/a>/*oa hrnr_geo/blocksode= =o1ode=pde=pfm" class="sref">s="rtd unsigned int/oa hres="rtd unsid_pa -opage" class="sref">block_ unsigned int/oa hresrefblock_ unsiode=o=page" class="sref">pageo/a>9;4pageo/a>9;4nr_geo/blockspageo/a>/*oa hrnr_geo/blocksode=--o class="sref">nr_unshow3o/a>)9;4bad_pasetdsrefblock_migratetyp"pageo/a>/*oa hrsetdsrefblock_migratetyp"d_pagpage" class="sref">block_geo/a>(struct/oa href="block_geo/+cod,L class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>9;4block_geo/a>(struct/oa href="block_geo/+code+=o class="sref">ief">block_nr_geo/spageo/a>/*oa href="block_nr_geo/s+cod=page" class="sref">pageo/a>9;4/292o/a> 10{410{4clas na/pre>am /292o/a> 10{110{ class="line" nam /281o/10{210{ class="line" nam //* Removg pn elemela feom nd Lbuddy y */oatol feom nd Lrallback3lise 3omment">/* remove PageBuddy */o/spa10{310{3class="line class="sref">iinloc.c#="+code=resetinloc.ode= e" class="sref">bad_pageo/a>(struct/oa href="+code=/* remove PageBuddy */o/spa10{410{ class="sref">bad_pa__rmqueue_rallbacka>(struct/oa hr__rmqueue_rallbackd_page" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+code=ine" class="sref">i unsigned int/oa href="+code=,o ne" class="sref">is="rtdmigratetyp"pageo/a>/*oa hrs="rtdmigratetyp"ode=os="line" nam /325o/10{510{5clasclass="sref">nr_unshow3o/a>)10{610{ class="line"e" class="sref">bad_palee_pareapageo/a>/*oa hrlee_parea+code=L class="sref">iareapageo/a>/*oa hrarea+codrder" class="sref">ordero/a>10{710{7class="line" ne" class="sref">imurr35"> unsigned int/oa hremurr35"> unsi+codrder" class="sref">ordero/a>10{810{8class="line"e" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+codrder" class="sref">ordero/a>10{910{9class="line" ne" class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"ode=,L class="sref">iipageo/a>/*oa hri+codrder" class="sref">ordero/a>101410"mclass="line" nam /281o/101110" class="line"3="line" nam //3lFind nd Llargest possiblg block"of geo/s in"nd Lond r3lise 3omment">/* remove PageBuddy */o/spa101210" class="line"foram" class="sref">murr35"> unsigned int/oa hremurr35"> unsi+cod =os="sref">bad_paMAX_ORDERgned int/oa hreMAX_ORDERode=-1=" class="sref">imurr35"> unsigned int/oa hremurr35"> unsi+cod nt" =ocomm" class="sr unsigned int/oa href="+code==page" class="sref">pageo/a>10"310" class="line" nam imurr35"> unsigned int/oa hremurr35"> unsi+codo class="sref">nr_unshow3o/a>)10"410"4class="line" nam ipageo/a>/*oa hri+cod =o cc" class="sref">iipageo/a>/*oa hri+cod++) class="sref">nr_unshow3o/a>)10"510"5class="line"s="line" nam
      /*oa hrmigratetyp"ode= =os="sref">bad_pafallbackaef="+code=reset"allbacka+cod[comm" class="srs="rtdmigratetyp"pageo/a>/*oa hrs="rtdmigratetyp"ode=][comm" class="sripageo/a>/*oa hri+cod]=page" class="sref">pageo/a>10"610" clasnam /292o/a> 10"710" class="line" nam //3lMIGRATE_RESERVE handl/28later if necessary 3omment">/* remove PageBuddy */o/spa101810" class="line" nam migratetyp"pageo/a>/*oa hrmigratetyp"ode= ==os="sref">bad_paMIGRATE_RESERVEgned int/oa hreMIGRATE_RESERVEclasos="line" nam /325o/101910" class="line" nam pageo/a>102410"mclasnam /292o/a> 102110" class="line" nam /30 class="sref">iareapageo/a>/*oa hrarea+cod =o&rg class="sref">ief="pageo/a>/*oa href="+cod-nt" class="sref">culee_pareapageo/a>/*oa hrlee_parea+cod[comm" class="srmurr35"> unsigned int/oa hremurr35"> unsi+cod]o=page" class="sref">pageo/a>10"210" class="line" nam ise_empt if (oa href=" ise_empt d_pag&r static/areapageo/a>/*oa hrarea+cod-nt" class="sref">culee_plisepageo/a>/*oa hrlee_plise+cod[comm" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=]oos="line" nam /325o/10"310" class="line" nam pageo/a>10"410" class="line" nam /214o/10"510"5class="line"s="line" nam
        pageo/a>/*oa href="+code=os="sref">bad_pa ise_entr if (oa href=" ise_entr d_pagpage" class="srareapageo/a>/*oa hrarea+cod-nt" class="sref">culee_plisepageo/a>/*oa hrlee_plise+cod[comm" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=]. class="sref">inexepageo/a>/*oa hrnexeode=,/* remove PageBuddy */o/spa10"610" class="line" nam /300000000000000000e" class="sref">bad_pageo/a>(struct/oa href="+cod,8comm" class="srlrua href="+code=_lruode=o=page" class="sref">pageo/a>10"710" class="line" nam cunr"ree_gned int/oa hrenr"ree_+cod--=page" class="sref">pageo/a>10"810" class="line" nam /198o/10"910" class="line" nam //3mment">/* remove PageBuddy */o/spa103410"mclass="line" nam /L301">/300000000000000000* If breakspa3aLlarge block"of geo/s, movg pll ree_+cent">/* remove PageBuddy */o/spa103110" class="line" nam /3333333330000000000000000* geo/s toand Lpreferled3y */oation3lise. If "allspa+cent">/* remove PageBuddy */o/spa103210" class="line" nam /3333333330000000000000000* back3foraa ree" imablg kernel3y */oation, be mor_+cent">/* remove PageBuddy */o/spa103310" class="line" nam /3333333330000000000000000* aggressivg pbout takspa3ownership"of ree_ mmens+cent">/* remove PageBuddy */o/spa103410" class="line" nam /3333333330000000000000000*+cent">/* remove PageBuddy */o/spa103510" class="line" nam /3333333330000000000000000* On"nd Lond r3hand, nevcl mhan"e migration+cent">/* remove PageBuddy */o/spa103610" class="line" nam /* remove PageBuddy */o/spa103710" class="line" nam /3333333330000000000000000* geo/s on3differela fee_ lises. We don'rd_ent">/* remove PageBuddy */o/spa10"810" class="line" nam /1333333330000000000000000* wala unmovablg pad s toabe3y */oated3feomd_ent">/* remove PageBuddy */o/spa10"910" class="line" nam /3333333330000000000000000* MIGRATE_CMA areas. * point ng/at the head page.o/spa104410"mclass="line" nam /3333333330000000000000000*omment">/* remove PageBuddy */o/spa104110" class="line" nam /30 nam!page" class="srisdmigrate_cmapageo/a>/*oa hrisdmigrate_cmad_pagpage" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=&r&r/* remove PageBuddy */o/spa104210" class="line" nam unsigned int/oa hremurr35"> unsi+cod nt" =ocomm" class="sref">block_ unsigned int/oa hresrefblock_ unsiode= / 2) ||/* remove PageBuddy */o/spa104310" class="line" nam /*oa hrs="rtdmigratetyp"ode= ==os="sref">bad_paMIGRATE_RECLAIMABLEgned int/oa hreMIGRATE_RECLAIMABLE+cod ||/* remove PageBuddy */o/spa104410"4class="line" nam nr_unshow3o/a>)104510"5class="line"s="line" nam /30 ne" class="sref">iprefsa href="+code=_prefs+cod=page" class="sref">pageo/a>10"610" class="line" nam /3000000000 class="sref">iprefsa href="+code=_prefs+code=os="sref">bad_pamovgdree_srefs_blockpageo/a>/*oa hrmovgdree_srefs_blockd_pagpage" class="sref="pageo/a>/*oa href="+code=s="sref">bad_pageo/a>(struct/oa href="+cod,page" class="sref">pageo/a>10"710" class="line" nam is="rtdmigratetyp"pageo/a>/*oa hrs="rtdmigratetyp"ode=o=page" class="sref">pageo/a>10"810" class="line" nam /198o/104910" class="line" nam //3lC" im"nd Lwholg block" naov r3half of ia isLfee_ *omment">/* remove PageBuddy */o/spa105410"mclass="line"s="line" nam /30 nam" class="sref">prefsa href="+code=_prefs+codent" =o(1ode=pde=pfm" class="sref">ef">block_ unsigned int/oa hresrefblock_ unsiode=-1)) ||/* remove PageBuddy */o/spa105110" class="line" nam /30 =======LLLLLLLLLLLLLLLL class="sref">ieBuddgroup_by_mobilit _disablgda href="+code=_prefdgroup_by_mobilit _disablgdode=o/* remove PageBuddy */o/spa105210" class="line" nam bad_pasetdsrefblock_migratetyp"pageo/a>/*oa hrsetdsrefblock_migratetyp"d_pagpage" class="sref">a>(struct/oa href="+cod,page" class="sref">pageo/a>105310" class="line" nam bad_pas="rtdmigratetyp"pageo/a>/*oa hrs="rtdmigratetyp"ode=o=page" class="sref">pageo/a>105410" class="line" nam /214o/105510"5class="line"s="line" nam /30 age" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode= =os="sref">bad_pas="rtdmigratetyp"pageo/a>/*oa hrs="rtdmigratetyp"ode==page" class="sref">pageo/a>105610" class="line" nam /30 nam /292o/a> 105710" class="line" nam /317o/10"810" class="line" nam //* Removg nd LpoL3 feom nd Lree_lises"*omment">/* remove PageBuddy */o/spa105910" class="line" nam bad_pa ise_del if (oa href=" ise_deld_pag&r static/ef">pageo/a>/*oa href="+codent" class="sref">culrua href="+code=_lruode=o=page" class="sref">pageo/a>106410"mclass="line" nam bad_parmvdref"> unsigned int/oa hrermvdref"> unsid_pagpage" class="sref">pageo/a>/*oa href="+codo=page" class="sref">pageo/a>10"110" class="line" nam /281o/106210" class="line" nam //* Take3ownership"fora unsisent" =osrefblock_ unsi"*omment">/* remove PageBuddy */o/spa106310" class="line" nam murr35"> unsigned int/oa hremurr35"> unsi+cod nt" =ocomm" class="sref">block_ unsigned int/oa hresrefblock_ unsiode= &r&r/* remove PageBuddy */o/spa106410"4class="line" nam /*oa hrmigratetyp"ode=oo/* remove PageBuddy */o/spa106510"5class="line"s="line" nam /30 age" class="srmhan"e_ef="block_ran">pageo/a>/*oa hrmhan"e_ef="block_ran">d_pags="sref">bad_pageo/a>(struct/oa href="+cod,8comm" class="srmurr35"> unsigned int/oa hremurr35"> unsi+cod,/* remove PageBuddy */o/spa106610" class="line" nam /300000000000000000 nam /30 age" class="srs="rtdmigratetyp"pageo/a>/*oa hrs="rtdmigratetyp"ode=o=page" class="sref">pageo/a>106710" class="line" nam /317o/106810" class="line" nam /*oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,8comm" class="sr unsigned int/oa href="+code=,opage" class="srmurr35"> unsigned int/oa hremurr35"> unsi+cod,opage" class="srareapageo/a>/*oa hrarea+cod,/* remove PageBuddy */o/spa106910" class="line" nam /*oa hrmigratetyp"ode=o/* remove PageBuddy */o/spa107410"mclass="line" nam /*oa hrmigratetyp"ode= :0 age" class="srs="rtdmigratetyp"pageo/a>/*oa hrs="rtdmigratetyp"ode=o=page" class="sref">pageo/a>107110" class="line" nam /281o/107210" class="line" nam /2_extfragpageo/a>/*oa hrtrace_mm_/2_extfragd_pags="sref">bad_pageo/a>(struct/oa href="+cod,8comm" class="sr unsigned int/oa href="+code=,opage" class="srmurr35"> unsigned int/oa hremurr35"> unsi+cod,s="line" nam /281o/107310" class="line" nam /*oa hrs="rtdmigratetyp"ode=,L class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>10"410" class="line" nam /214o/107510"5class="line"s="line" nam
          pageo/a>/*oa href="+codrder" class="sref">ordero/a>10"610" class="line" nam
            /292o/a> 107710" class="line" nam /292o/a> 107810" class="line" nam /198o/107910" class="line" nam ordero/a>108410"m+cod nam /292o/a> 108110" class="line" nam /281o/108210" class="line" nam //*mment">/* remove PageBuddy */o/spa108310" class="line" nam /333Doand Lhard work"of removspa3an elemela feom nd Lbuddy y */oatol. * point ng/at the head page.o/spa108410" class="line" nam /33 Cpll me with nd Lef="ent" lock"already held. * point ng/at the head page.o/spa108510" class="line" nam /3*omment">/* remove PageBuddy */o/spa108610" class="linee" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sr__rmqueuea>(struct/oa hr__rmqueued_page" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+code=L286">/28ine" class="sref">i unsigned int/oa href="+code=,/* remove PageBuddy */o/spa108710" class="line" nam imigratetyp"pageo/a>/*oa hrmigratetyp"ode=os="line" nam /325o/10"810" clasclass="sref">nr_unshow3o/a>)108910" class="line"e" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+codrder" class="sref">ordero/a>109410"mclass="line" nam /281o/109110" class="sref">bad_paretry_reservgpageo/a>/*oa hrretry_reservgclas:s="line" nam /281o/109210"2class="line"e" class="sref"ef">pageo/a>/*oa href="+code=os="sref">bad_pa__rmqueue_sm1">esepageo/a>/*oa hr__rmqueue_sm1">esed_pagpage" class="sref="pageo/a>/*oa href="+code=page" class="sr unsigned int/oa href="+code=,opage" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>109310" clasnam /292o/a> 10"410"4class="line" nam" class="sref">unlikel if (oa href="unlikel d_pag!page" class="sref">pageo/a>/*oa href="+codo &r&r0 age" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode= =zone" class="srefMIGRATE_RESERVEgned int/oa hreMIGRATE_RESERVEclaso class="sref">nr_unshow3o/a>)109510"5class="line"s="line"e" class="sref"ef">pageo/a>/*oa href="+code=os="sref">bad_pa__rmqueue_rallbacka>(struct/oa hr__rmqueue_rallbackd_pagpage" class="sref="pageo/a>/*oa href="+code=page" class="sr unsigned int/oa href="+code=,opage" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>109610" clasnam /292o/a> 109710" class="line" nam //*mment">/* remove PageBuddy */o/spa109810" class="line" nam /13333333300000000* UselMIGRATE_RESERVE ratd r3thlinfail3an y */oation. goto * point ng/at the head page.o/spa10"910" class="line" nam /33333333300000000* isLused3because __rmqueue_sm1">ese isLlininloc. function+cent">/* remove PageBuddy */o/spa11{4110mclass="line" nam /33333333300000000*"and we wala juse f=" call sit_+cent">/* remove PageBuddy */o/spa11{1110 class="line" nam /33333333300000000*omment">/* remove PageBuddy */o/spa11{2110 class="line" nam
              pageo/a>/*oa href="+codo class="sref">nr_unshow3o/a>)11{3110 class="line" nam /*oa hrmigratetyp"ode= =os="sref">bad_paMIGRATE_RESERVEgned int/oa hreMIGRATE_RESERVEclas=page" class="sref">pageo/a>11{41104class="line" nam bad_paretry_reservgpageo/a>/*oa hrretry_reservgclas=page" class="sref">pageo/a>11{51105class="line"s="line" nam /292o/a> 11{611{ class="line" nam /292o/a> 11{7110 class="line" nam /317o/11{8110 class="line"page" class="srtrace_mm_/2_ef="dlockgda href="+code=_trace_mm_/2_ef="dlockgdd_pags="sref">bad_pageo/a>(struct/oa href="+cod,8comm" class="sr unsigned int/oa href="+code=,opage" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>11{9110 class="line" nam pageo/a>/*oa href="+codrder" class="sref">ordero/a>1114111m+cod nam /292o/a> 1111111 class="line" nam /281o/1112111 class="line" nam //*mment">/* remove PageBuddy */o/spa11"3111 class="line" nam /333Obtain y specified3numb r3of elemelas feom nd Lbuddy y */oatol, pll un"+codent">/* remove PageBuddy */o/spa11"4111 class="line" nam /33 y single hold3of nd Llock,"foraefficiency. Add nd m toand Lsupplied3lise.odent">/* remove PageBuddy */o/spa11"5111 class="line" nam /3* Rnam /* remove PageBuddy */o/spa11"6111 class="line" nam /* remove PageBuddy */o/spa11"711" class="line ne" class="sref">irmqueue_bulka>(struct/oa hrrmqueue_bulkd_page" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+code=L286">/28ine" class="sref">i unsigned int/oa href="+code=,/* remove PageBuddy */o/spa111811" class="line" nam /28longone" class="srefcounepageo/a>/*oa hrcoune+code=e" class="sref">bad_pa ise_heada href="+code=_ ise_head+code=page" class="srlisepageo/a>/*oa hrlise+cod,/* remove PageBuddy */o/spa111911" class="line" nam imigratetyp"pageo/a>/*oa hrmigratetyp"ode=,L ne" class="sref">imoldpageo/a>/*oa hrcoldode=o/* remove PageBuddy */o/spa112411"mclasclass="sref">nr_unshow3o/a>)112111" class="line" ne" class="sref">imepageo/a>/*oa hrmtode= =os="sref">bad_pamigratetyp"pageo/a>/*oa hrmigratetyp"ode=,L class="sref">iipageo/a>/*oa hri+codrder" class="sref">ordero/a>11"211" clasder" class="sref">ordero/a>11"311" class="line" age" class="srspin_lockpageo/a>/*oa hrspin_lockd_pag&r static/ef="pageo/a>/*oa href="+cod-nt" class="sref">culockpageo/a>/*oa hrlockd_pao=page" class="sref">pageo/a>11"41124class="line"foram" class="sref">ipageo/a>/*oa hri+cod =o cL class="sref">iipageo/a>/*oa hri+cod &e=pfcomm" class="srcounepageo/a>/*oa hrcoune+cod; ++ class="sref">iipageo/a>/*oa hri+codo class="sref">nr_unshow3o/a>)11"511"5class="line"s="line"e" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+code=os="sref">bad_pa__rmqueuea>(struct/oa hr__rmqueued_pagpage" class="sref="pageo/a>/*oa href="+code=page" class="sr unsigned int/oa href="+code=,opage" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>11"611" class="line" nam
                unlikel if (oa href="unlikel d_pagpage" class="sref">pageo/a>/*oa href="+code==os="sref">bad_paNULLAageo/a>/*oa hrNULL+codoo/* remove PageBuddy */o/spa11"711" class="line" nam pageo/a>11"811" class="line" nam /198o/11"911" class="line" nam //*mment">/* remove PageBuddy */o/spa113411"mclass="line" nam /L301">/3000000000* SplitLbuddy pad s nam /* remove PageBuddy */o/spa113111" class="line" nam /33333333300000000* in"physicalLpoL3 f="+c. Td LpoL3 isLldded3toand Lcallsiset"dd_ent">/* remove PageBuddy */o/spa113211" class="line" nam /33333333300000000*3lise and nd Llise head nd n movgs"forward. Feom nd Lcallsisd_ent">/* remove PageBuddy */o/spa113311" class="line" nam /33333333300000000* psispective, nd Llinked3lise isLf="+ced3by poL3 numb r3in+cent">/* remove PageBuddy */o/spa113411" class="line" nam /33333333300000000* someLconditions. TdisLisLuseful"foraIO devic s thporcan+cent">/* remove PageBuddy */o/spa113511" class="line" nam /33333333300000000* merge IO requeses"if nd LphysicalLpoL3s are f="+ced+cent">/* remove PageBuddy */o/spa113611" class="line" nam /* remove PageBuddy */o/spa113711" class="line" nam /33333333300000000*omment">/* remove PageBuddy */o/spa11"8113 class="line" nam
                  ikel if (oa href="likel d_pagpage" class="srmoldpageo/a>/*oa hrcoldode=e==o0oo/* remove PageBuddy */o/spa11"9113 class="line" nam bad_pa ise_ldda href="+code=_ ise_lddd_pag&r static/ef">pageo/a>/*oa href="+codent" class="sref">culrua href="+code=_lruode=eL ="sref">bad_pa isepageo/a>/*oa hrlise+codo=page" class="sref">pageo/a>1144114mclass="line" nam pageo/a>114111" class="line" nam /30 ="sref">bad_pa ise_ldd_tail if (oa href=" ise_ldd_taild_pag&r static/ef">pageo/a>/*oa href="+codent" class="sref">culrua href="+code=_lruode=eL ="sref">bad_pa isepageo/a>/*oa hrlise+codo=page" class="sref">pageo/a>114211" class="line" nam
                    IS_ENABLEDpageo/a>/*oa hrIS_ENABLEDd_pagpage" class="srCONFIG_CMApageo/a>/*oa hrCONFIG_CMA+codoo class="sref">nr_unshow3o/a>)114311" class="line" nam imepageo/a>/*oa hrmtode= =os="sref">bad_pagetdsrefblock_migratetyp"pageo/a>/*oa hrgetdsrefblock_migratetyp"d_pagpage" class="sref">pageo/a>/*oa href="+codo=page" class="sref">pageo/a>114411"4class="line" nam 11"5class="line"s="line" nam /30 class="sref">imepageo/a>/*oa hrmtode= =os="sref">bad_pamigratetyp"pageo/a>/*oa hrmigratetyp"ode==page" class="sref">pageo/a>114611" class="line" nam
                      /292o/a> 11"711" class="line" nam
                        /*oa hrsetdree_sref_migratetyp"d_pags="sref">bad_pageo/a>(struct/oa href="+cod,8comm" class="srmepageo/a>/*oa hrmtode=o=page" class="sref">pageo/a>1148114 class="line" nam /*oa hrlise+cod =o&r static/ef">pageo/a>/*oa href="+codent" class="sref">culrua href="+code=_lruode==page" class="sref">pageo/a>114911" class="line" nam
                          isdmigrate_cmapageo/a>/*oa hrisdmigrate_cmad_pagpage" class="srmepageo/a>/*oa hrmtode=oo/* remove PageBuddy */o/spa115411"mclass="line"s="line" nam bad_pa__mod_ef="deBudds="lea>(struct/oa hr__mod_ef="deBudds="led_pagpage" class="sref="pageo/a>/*oa href="+code=page" class="srNR_FREE_CMA_PAGESAageo/a>/*oa hrNR_FREE_CMA_PAGES+cod,/* remove PageBuddy */o/spa115111" class="line" nam /30 =======LLLLLLLLLLLLLL-(1ode=pde=pfpage" class="sr unsigned int/oa href="+code=)o=page" class="sref">pageo/a>115211" class="line" nam /292o/a> 1153115 class="line" age" class="sr__mod_ef="deBudds="lea>(struct/oa hr__mod_ef="deBudds="led_pagpage" class="sref="pageo/a>/*oa href="+code=page" class="srNR_FREE_PAGESAageo/a>/*oa hrNR_FREE_PAGES+cod,L-( class="sref">iipageo/a>/*oa hri+cod &e=pde=pfpage" class="sr unsigned int/oa href="+code=)o=page" class="sref">pageo/a>11541154class="line" age" class="srspin_unlockpageo/a>/*oa hrspin_unlockd_pag&r static/ef="pageo/a>/*oa href="+cod-nt" class="sref">culockpageo/a>/*oa hrlockd_pao=page" class="sref">pageo/a>115511"5class="line" nam ordero/a>115611" clas nam /292o/a> 115711" class="line" nam /317o/11"811" clas#ifdefone" class="srefCONFIG_NUMApageo/a>/*oa hrCONFIG_NUMAclass="line" nam /317o/11"9115 class="line" nam //*mment">/* remove PageBuddy */o/spa1164116mclass="line" nam /L3 Cplled3feom nd Lvms="l couneer updater to drain poL3sets3of ndisd_ent">/* remove PageBuddy */o/spa11"1116 class="line" nam /3* murr35"ly executspa3processora n remote nsres after they hav_+cent">/* remove PageBuddy */o/spa1162116 class="line" nam /3* exnired. * point ng/at the head page.o/spa1163116 class="line" nam /33 * point ng/at the head page.o/spa1164116 class="line" nam /33 Note thporndis function muse b Lcallsd with nd Lthread pinned3to * point ng/at the head page.o/spa1165116 class="line" nam /3* y single processor. * point ng/at the head page.o/spa1166116 class="line" nam /* remove PageBuddy */o/spa116711" clasvoidopage" class="srdrain_ef="deBudsa href="+code=_drain_ef="deBudsd_page" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+code=e" class="sref">bad_pager_cpudeBudsa href="+code=_ger_cpudeBuds+code=page" class="srecpa href="+code=_gcpode=o/* remove PageBuddy */o/spa1168116 clasclass="sref">nr_unshow3o/a>)116911" class="line"L286">/28longone" class="srefflagaef="+code=reset"laga+codrder" class="sref">ordero/a>117411"mclass="line" ne" class="sref">ito_drainef="+code=resetto_drain+codrder" class="sref">ordero/a>117111" class="line" nam /281o/11721172class="line"e" class="sref"*/oal_irq_savgpageo/a>/*oa hr*/oal_irq_savgd_pagpage" class="srflagaef="+code=reset"laga+codo=page" class="sref">pageo/a>117311" class="line" nam" class="sref">pcpa href="+code=_gcpode=-nt" class="sref">cucounepageo/a>/*oa hrcoune+cod nt" =ocomm" class="srecpa href="+code=_gcpode=-nt" class="sref">cubatcha href="+code=_batchode=o/* remove PageBuddy */o/spa11"41174class="line" nam
                            ito_drainef="+code=resetto_drain+cod =os="sref">bad_paecpa href="+code=_gcpode=-nt" class="sref">cubatcha href="+code=_batchode==page" class="sref">pageo/a>117511"5class="line"elsepage" class="sref">pageo/a>11"611" class="line" nam
                              ito_drainef="+code=resetto_drain+cod =os="sref">bad_paecpa href="+code=_gcpode=-nt" class="sref">cucounepageo/a>/*oa hrcoune+cod;page" class="sref">pageo/a>11"711" class="line" nam" class="sref">to_drainef="+code=resetto_drain+cod nt" 0o class="sref">nr_unshow3o/a>)1178117 class="line" nam (struct/oa hrlee_pgcpeBuds_bulkd_pagpage" class="sref="pageo/a>/*oa href="+code=page" class="srto_drainef="+code=resetto_drain+code=page" class="srecpa href="+code=_gcpode=o;page" class="sref">pageo/a>11"9117 class="line" nam pcpa href="+code=_gcpode=-nt" class="sref">cucounepageo/a>/*oa hrcoune+cod -=os="sref">bad_pato_drainef="+code=resetto_drain+codrder" class="sref">ordero/a>1184118mclass="line" nam /292o/a> 11811181class="line"e" class="sref"*/oal_irq_restorgpageo/a>/*oa hr*/oal_irq_restorgd_pagpage" class="srflagaef="+code=reset"laga+codo=page" class="sref">pageo/a>118211" clas nam /292o/a> 118311" clas#endifnam /292o/a> 1184118 class="line" nam /214o/118511" class="line" nam //*mment">/* remove PageBuddy */o/spa1186118 class="line" nam 118 class="line" nam /3*mment">/* remove PageBuddy */o/spa1188118 class="line" nam /1* Td Lprocessoramuse eitd r3bg nd Lmurr35"Lprocessoraand nd mment">/* remove PageBuddy */o/spa1189118 class="line" nam /3*Lthread pinned3to nd Lmurr35"Lprocessoraoraa processorathpomment">/* remove PageBuddy */o/spa1194119mclass="line" nam /L3 isLnoe f=loc.. * point ng/at the head page.o/spa1191119 class="line" nam /3*omment">/* remove PageBuddy */o/spa119211"2class="linevoidopage" class="srdrain_eBudsa href="+code=_drain_eBudsd_pagL286">/28ine" class="sref">icpupageo/a>/*oa hrcpuode=o/* remove PageBuddy */o/spa119311" clasclass="sref">nr_unshow3o/a>)11"411"4class="line"L286">/28longone" class="srefflagaef="+code=reset"laga+codrder" class="sref">ordero/a>119511"5class="line"e" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+codrder" class="sref">ordero/a>119611" clasnam /292o/a> 119711" class="line"ne" class="sreffor_each_populated_ef="ef="+code=reset"or_each_populated_ef="d_pagpage" class="sref="pageo/a>/*oa href="+codo class="sref">nr_unshow3o/a>)1198119 class="line" nam bad_pager_cpudeBudseepageo/a>/*oa hrger_cpudeBudsee+code=page" class="sreseepageo/a>/*oa hrgsee+codrder" class="sref">ordero/a>1199119 class="line" nam bad_pager_cpudeBudsa href="+code=_ger_cpudeBuds+code=page" class="srecpa href="+code=_gcpode=rder" class="sref">ordero/a>12{4120mclass="line" nam /281o/12{1120 class="line" nam /*oa hr*/oal_irq_savgd_pagpage" class="srflagaef="+code=reset"laga+codo=page" class="sref">pageo/a>12{2120 class="line" nam bad_paeer_cpudetigned int/oa hreser_cpudetid_pagpage" class="sref="pageo/a>/*oa href="+cod-nt" class="sref">cueBudseepageo/a>/*oa hrgBudsee+cod,opage" class="srmpupageo/a>/*oa hrcpuode=o=page" class="sref">pageo/a>12{3120 clasnam /292o/a> 12{41204class="line" nam /*oa hrgsee+cod-nt" class="sref">cuecpa href="+code=_gcpode=rder" class="sref">ordero/a>12{51205class="line"s="line" nam" class="sref">pcpa href="+code=_gcpode=-nt" class="sref">cucounepageo/a>/*oa hrcoune+codo class="sref">nr_unshow3o/a>)12{6120 class="line" nam /30ne" nam (struct/oa hrlee_pgcpeBuds_bulkd_pagpage" class="sref="pageo/a>/*oa href="+code=page" class="srpcpa href="+code=_gcpode=-nt" class="sref">cucounepageo/a>/*oa hrcoune+code=page" class="srecpa href="+code=_gcpode=o;page" class="sref">pageo/a>12{7120 class="line" nam cucounepageo/a>/*oa hrcoune+cod =o cpage" class="sref">pageo/a>12{8120 class="line" nam
                                /292o/a> 12{9120 class="line" nam */oal_irq_restorgpageo/a>/*oa hr*/oal_irq_restorgd_pagpage" class="srflagaef="+code=reset"laga+codo=page" class="sref">pageo/a>1214121mclass="line" nam /292o/a> 1211121 clas nam /292o/a> 1212121 clasder" class="sref">ordero/a>12"3121 class="line" nam //*mment">/* remove PageBuddy */o/spa12"4121 class="line" nam /33 Spill3y *3of ndis CPU's psi-cpu poL3s3back3ineo nd Lbuddy y */oatol. * point ng/at the head page.o/spa12"5121 class="line" nam /3*omment">/* remove PageBuddy */o/spa12"6121 clasvoidopage" class="srdrain_*/oal_eBudsa href="+code=_drain_*/oal_eBudsd_pagvoido=page" class="srargpageo/a>/*oa hrargode=o/* remove PageBuddy */o/spa12"712" clasclass="sref">nr_unshow3o/a>)1218121 class="line"page" class="srdrain_eBudsa href="+code=_drain_eBudsd_pagpage" class="srsmp_processor_ida href="+code=_smp_processor_idd_pag)o=page" class="sref">pageo/a>121912" clas nam /292o/a> 1224122mclass="line" nam /281o/1221122 class="line" nam //*mment">/* remove PageBuddy */o/spa12"2122 class="line" nam /3* Spill3y *3nd Lpsi-cpu poL3s3feom y *3CPUs3back3ineo nd Lbuddy y */oatol. * point ng/at the head page.o/spa12"3122 class="line" nam /33 * point ng/at the head page.o/spa12"4122 class="line" nam /33 Note thporndis s="s isLprotected3against sendipa3an IPI3to an offloc. * point ng/at the head page.o/spa12"5122 class="line" nam /3* CPULbut doesLnoe guarantee sendipa3an IPI3to newly hotplugged3CPUs: * point ng/at the head page.o/spa12"6122 class="line" nam /* remove PageBuddy */o/spa12"7122 class="line" nam /3*Lnoehipa3keeps3CPUs3feom showipa3up after w Lpopulated nd Lmpumasket"dd_ent">/* remove PageBuddy */o/spa12"8122 class="line" nam /1* beforg nd Lcall3to on_each_cpudmask(). * point ng/at the head page.o/spa12"9122 class="line" nam /3*omment">/* remove PageBuddy */o/spa123412"mclasvoidopage" class="srdrain_y *_eBudsa href="+code=_drain_y *_eBudsd_pagvoido/* remove PageBuddy */o/spa123112" clasclass="sref">nr_unshow3o/a>)1232123 class="line"ine" class="sref">icpupageo/a>/*oa hrcpuode==page" class="sref">pageo/a>1233123 class="line"e" class="sref">bad_pager_cpudeBudseepageo/a>/*oa hrger_cpudeBudsee+code=page" class="srecpa href="+code=_gcpode=rder" class="sref">ordero/a>12341234class="line"e" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+codrder" class="sref">ordero/a>123512" clasder" class="sref">ordero/a>1236123 class="line"s="line" nam //*mment">/* remove PageBuddy */o/spa123712" class="line" nam /333333333* A */oat Lin nd LBSS so we wone"requirg y */oation in+cent">/* remove PageBuddy */o/spa12"8123 class="line" nam /133333333* dirgce"rec" im"path"foraCONFIG_CPUMASK_OFFSTACK=y+cent">/* remove PageBuddy */o/spa12"9123 class="line" nam /333333333*omment">/* remove PageBuddy */o/spa1244124mclass="line"s="line class="sref">icpumask_epageo/a>/*oa hrcpumask_eclass class="sref">icpus_withpgcpsa href="+code=_cpus_withpgcps+codrder" class="sref">ordero/a>1241124 class="line" nam /281o/124212" class="line"s="line" nam //*mment">/* remove PageBuddy */o/spa1243124 class="line" nam /333333333* We don'orcare about racipa3with CPULhotplug"evenomment">/* remove PageBuddy */o/spa1244124 class="line" nam /333333333* as offloc.Lnoeifioation will3cause nd Lnoeified+cent">/* remove PageBuddy */o/spa1245124 class="line" nam /333333333*Lmpu to drain thporCPULgcps"and on_each_cpudmask+cent">/* remove PageBuddy */o/spa1246124 class="line" nam /* remove PageBuddy */o/spa1247124 class="line" nam /333333333*omment">/* remove PageBuddy */o/spa1248124 class="line"page" class="sr"or_each_f=loc._cpupageo/a>/*oa hr"or_each_f=loc._cpud_pagpage" class="srmpupageo/a>/*oa hrcpuode=o class="sref">nr_unshow3o/a>)124912" class="line" nam ihaspgcpsa href="+code=_haspgcps+cod =os="sref">bad_pafals"ef="+code=reset"als"+codrder" class="sref">ordero/a>125412"mclass="line"s="line"ne" class="sreffor_each_populated_ef="ef="+code=reset"or_each_populated_ef="d_pagpage" class="sref="pageo/a>/*oa href="+codo class="sref">nr_unshow3o/a>)125112" class="line" nam /30page" class="srecpa href="+code=_gcpode= =os="sref">bad_paeer_cpudetigned int/oa hreser_cpudetid_pagpage" class="sref="pageo/a>/*oa href="+cod-nt" class="sref">cueBudseepageo/a>/*oa hrgBudsee+cod,opage" class="srmpupageo/a>/*oa hrcpuode=o=page" class="sref">pageo/a>1252125 class="line" nam pcpa href="+code=_gcpode=-nt" class="sref">cupcpa href="+code=_gcpode=.class="sref">cucounepageo/a>/*oa hrcoune+codo class="sref">nr_unshow3o/a>)1253125 class="line" nam /30page" class="srhaspgcpsa href="+code=_haspgcps+cod =os="sref">bad_pa" c"pageo/a>/*oa hr" c"+codrder" class="sref">ordero/a>12541254class="line" nam pageo/a>12551255class="line"s="line""""""""" nam /292o/a> 1256125 class="line" nam
                                  /292o/a> 1257125 class="line" nam
                                    haspgcpsa href="+code=_haspgcps+codo/* remove PageBuddy */o/spa12"8125 class="line" nam pageo/a>1259125 class="line" nam pageo/a>1264126mclass="line"s="line" nam bad_pacpumask_cleardmpupageo/a>/*oa hrcpumask_cleardmpud_pagpage" class="srmpupageo/a>/*oa hrcpuode=,o&r static/cpus_withpgcpsa href="+code=_cpus_withpgcps+codo=page" class="sref">pageo/a>12"1126 class="line" nam /292o/a> 12621262class="line"e" class="sref"on_each_cpudmaska href="+code=_on_each_cpudmask+cpag&r static/cpus_withpgcpsa href="+code=_cpus_withpgcps+cod,opage" class="srdrain_*/oal_eBudsa href="+code=_drain_*/oal_eBudsd_pae=page" class="srNULLAageo/a>/*oa hrNULL+cod, 1o=page" class="sref">pageo/a>12"3126 clas nam /292o/a> 1264126 class="line" nam /214o/1265126 clas#ifdefone" class="srefCONFIG_HIBERNATIONAageo/a>/*oa hrCONFIG_HIBERNATIONclass="line" nam /214o/1266126 clasnam /292o/a> 126712" clasvoidopage" class="srmark_lee_pgBudsa href="+code=_mark_lee_pgBuds+cpage" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+codo/* remove PageBuddy */o/spa1268126 clasclass="sref">nr_unshow3o/a>)126912" class="line"L286">/28longone" class="srefpfnef="+code=resetpfnd_pae=page" class="srmax_ef="defnef="+code=resetmax_ef="defn+codrder" class="sref">ordero/a>127412"mclass="line"L286">/28longone" class="srefflagaef="+code=reset"laga+codrder" class="sref">ordero/a>1271127 class="line" ne" class="sref">i unsigned int/oa href="+code=,opage" class="srepageo/a>/*oa hre+codrder" class="sref">ordero/a>12721272class="line"e" class="sref">bad_pa ise_heada href="+code=_ ise_head+code=page" class="srmurra href="+code=_curr+codrder" class="sref">ordero/a>1273127 clasnam /292o/a> 12"41274class="line" nam!page" class="sref="pageo/a>/*oa href="+cod-nt" class="sref">cuent">/2pgBudsa href="+code=_ent">/2pgBuds+codo/* remove PageBuddy */o/spa12751275class="line"s="line" nam ordero/a>1276127 clasnam /292o/a> 12"7127 class="line"ne" class="srefspin_lock_irqsavgpageo/a>/*oa hrspin_lock_irqsavg+cpag&r static/ef="pageo/a>/*oa href="+cod-nt" class="sref">culockpageo/a>/*oa hrlockd_pa,opage" class="srflagaef="+code=reset"laga+codo=page" class="sref">pageo/a>1278127 class="line" nam /198o/12"9127 class="line"page" class="srmax_ef="defnef="+code=resetmax_ef="defn+cod =os="sref">bad_paef="pageo/a>/*oa href="+cod-nt" class="sref">cuef="dstartdefnef="+code=resetef="dstartdefn+cod +os="sref">bad_paef="pageo/a>/*oa href="+cod-nt" class="sref">cuent">/2pgBudsa href="+code=_ent">/2pgBuds+cod=page" class="sref">pageo/a>1284128mclass="line"foram" class="sref">pfnef="+code=resetpfnd_pa =os="sref">bad_paef="pageo/a>/*oa href="+cod-nt" class="sref">cuef="dstartdefnef="+code=resetef="dstartdefn+codpfpage" class="srpfnef="+code=resetpfnd_pa de=pfpage" class="srmax_ef="defnef="+code=resetmax_ef="defn+codrfpage" class="srpfnef="+code=resetpfnd_pa++o/* remove PageBuddy */o/spa1281128 class="line" nam
                                      pfn_valida href="+code=_pfn_validd_pagpage" class="srpfnef="+code=resetpfnd_paoo class="sref">nr_unshow3o/a>)1282128 class="line" nam bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+code=os="sref">bad_papfn_to_ef">pageo/a>/*oa hrefn_to_ef">d_pagpage" class="srpfnef="+code=resetpfnd_pao=page" class="sref">pageo/a>1283128 clasnam /292o/a> 12841284class="line" nam _is_forbiddenef="+code=resetswsusp_ef">_is_forbiddend_pagpage" class="srpf">pageo/a>/*oa href="+codoo/* remove PageBuddy */o/spa12851285class="line"s="line" nam /30 class="sref">iswsusp_L28etdsref_lee_ef="+code=resetswsusp_L28etdsref_lee_d_pagpage" class="srpf">pageo/a>/*oa href="+codo=page" class="sref">pageo/a>1286128 class="line" nam
                                        /292o/a> 1287128 class="line" nam /317o/1288128 class="line"page" class="sr"or_each_migratetyp"_ unsigned int/oa hre"or_each_migratetyp"_ unsid_pagpage" class="sr unsigned int/oa href="+code=,opage" class="srepageo/a>/*oa hre+codo class="sref">nr_unshow3o/a>)1289128 class="line" nam *ise_"or_eacha href="+code=_ ise_"or_eachd_pagpage" class="srmurra href="+code=_curr+cod,o&r static/ef="pageo/a>/*oa href="+cod-nt" class="sref">culee_pareapageo/a>/*oa hrlee_parea+cod[page" class="sr unsigned int/oa href="+code=].class="sref">culee_p isepageo/a>/*oa hrlee_p ise+cod[page" class="srepageo/a>/*oa hre+cod]o class="sref">nr_unshow3o/a>)1294129mclass="line"s="line" nam /28longone" class="srefipageo/a>/*oa hri+codrder" class="sref">ordero/a>1291129 class="line" nam /281o/1292129 class="line" nam pfnef="+code=resetpfnd_pa =os="sref">bad_pabad_pageo/a>(struct/oa href="+codeL ="sref">bad_pa rua href="+code=_lruode=)o=page" class="sref">pageo/a>1293129 class="line" nam ipageo/a>/*oa hri+cod =o cL class="sref">iipageo/a>/*oa hri+cod &e=pf(1UL &e=pde=pfpage" class="sr unsigned int/oa href="+code=)cL class="sref">iipageo/a>/*oa hri+cod++o/* remove PageBuddy */o/spa12"41294class="line" nam iswsusp_8etdsref_lee_ef="+code=resetswsusp_8etdsref_lee_d_pagpage" class="srpfn_to_ef">pageo/a>/*oa hrefn_to_ef">d_pagpage" class="srpfnef="+code=resetpfnd_pa +os="sref">bad_paipageo/a>/*oa hri+codoo=page" class="sref">pageo/a>12951295class="line"s="line" nam /292o/a> 1296129 class="line" nam /292o/a> 129712" class="line"ne" class="srefspin_unlock_irqrestorgpageo/a>/*oa hrspin_unlock_irqrestorg+cpag&r static/ef="pageo/a>/*oa href="+cod-nt" class="sref">culockpageo/a>/*oa hrlockd_pa,opage" class="srflagaef="+code=reset"laga+codo=page" class="sref">pageo/a>1298129 clas nam /292o/a> 1299129 clas#endif"s="line" nam //*aCONFIG_PM3*omment">/* remove PageBuddy */o/spa13{4130mclass="line" nam /281o/13{1130 class="line" nam //*mment">/* remove PageBuddy */o/spa13{2130 class="line" nam /3* Fee_ a 0-f="+c ef">d_ent">/* remove PageBuddy */o/spa13{3130 class="line" nam /33 colde==o1 ? fee_ a coldeeBud : fee_ a hot ef">d_ent">/* remove PageBuddy */o/spa13{4130 class="line" nam /33omment">/* remove PageBuddy */o/spa13{51305clasvoidopage" class="srlee_phot_cold_ef">pageo/a>/*oa hrlee_phot_cold_ef">+cpage" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,L ne" class="sref">imoldpageo/a>/*oa hrcoldode=o/* remove PageBuddy */o/spa13{6130 clasclass="sref">nr_unshow3o/a>)13{7130 class="line"e" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+cod =os="sref">bad_pa/*oa hrpageo/a>/*oa href="+codo=page" class="sref">pageo/a>13{8130 class="line"e" class="sref">bad_pager_cpudeBudsa href="+code=_ger_cpudeBuds+code=page" class="srecpa href="+code=_gcpode=rder" class="sref">ordero/a>13{9130 class="line"L286">/28longone" class="srefflagaef="+code=reset"laga+codrder" class="sref">ordero/a>1314131mclass="line" ne" class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"ode==page" class="sref">pageo/a>1311131 class="line" nam /281o/1312131 class="line"inam!page" class="srlee_pgBuds_prepargpageo/a>/*oa hrlee_pgBuds_prepargd_pagpage" class="srpf">pageo/a>/*oa href="+cod,o0oo/* remove PageBuddy */o/spa13"3131 class="line" nam
                                          ordero/a>13"4131 class="line" nam /214o/13"51315class="line" class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"ode= =os="sref">bad_pagetdsrefblock_migratetyp"pageo/a>/*oa hrgetdsrefblock_migratetyp"d_pagpage" class="sref">pageo/a>/*oa href="+codo=page" class="sref">pageo/a>13"61316class="line" class="sref">isetdree_sref_migratetyp"pageo/a>/*oa hrsetdree_sref_migratetyp"d_pags="sref">bad_pageo/a>(struct/oa href="+cod,8comm" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>13"7131 class="line"ne" class="srefl/oal_irq_savgpageo/a>/*oa hr*/oal_irq_savgd_pagpage" class="srflagaef="+code=reset"laga+codo=page" class="sref">pageo/a>1318131 class="line"page" class="sr__coune_vm_evenoef="+code=reset__coune_vm_evenod_pagpage" class="srPGFREEef="+code=resetPGFREE+codo=page" class="sref">pageo/a>131913" claspage" class="sref">pageo/a>1324132mclass="line"s="line" nam //*mment">/* remove PageBuddy */o/spa1321132 class="line" nam /" nam 132 class="line" nam /3 nam /* remove PageBuddy */o/spa13"3132 class="line" nam /3 nam d_ent">/* remove PageBuddy */o/spa13"4132 class="line" nam /3 nam /* remove PageBuddy */o/spa13"5132 class="line" nam /3 nam /* remove PageBuddy */o/spa13"6132 class="line" nam /* remove PageBuddy */o/spa13"7132 class="line" nam" class="sref">migratetyp"pageo/a>/*oa hrmigratetyp"ode= nt" =ocomm" class="srMIGRATE_PCPTYPESAageo/a>/*oa hrMIGRATE_PCPTYPES+codo class="sref">nr_unshow3o/a>)13"8132 class="line" nam
                                            un ikel if (oa href="un ikel d_pagpage" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode= =zone" class="srefMIGRATE_ISOLATEgned int/oa hreMIGRATE_ISOLATEode=oo class="sref">nr_unshow3o/a>)13"9132 class="line" nam bad_palee_pf="deBudpageo/a>/*oa hrlee_pf="deBudd_pagpage" class="sref="pageo/a>/*oa href="+code=page" class="srpf">pageo/a>/*oa href="+cod,o0,8comm" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>1334133mclass="line"s="line" nam ordero/a>1331133 class="line" nam
                                              /292o/a> 1332133 class="line" nam /*oa hrmigratetyp"ode= =os="sref">bad_paMIGRATE_MOVABLEgned int/oa hreMIGRATE_MOVABLE+codrder" class="sref">ordero/a>1333133 class="line" nam /292o/a> 1334133 class="line" nam /214o/13351335class="line" class="sref">iecpa href="+code=_gcpode= =o&r static/ndis_cpudetigned int/oa hrendis_cpudetid_pagpage" class="sref="pageo/a>/*oa href="+cod-nt" class="sref">cueBudseepageo/a>/*oa hrgBudsee+cod)-nt" class="sref">cuecpa href="+code=_gcpode=rder" class="sref">ordero/a>1336133 class="line" nam" class="sref">moldpageo/a>/*oa hrcoldode=o/* remove PageBuddy */o/spa1337133 class="line" nam
                                                pageo/a>/*oa href="+codent" class="sref">culrua href="+code=_lruode=,o&r static/pcpa href="+code=_gcpode=-nt" class="sref">culises if (oa href="lises+cod[page" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=]o=page" class="sref">pageo/a>1338133 class="line"elsepage" class="sref">pageo/a>13"9133 class="line" nam *ise_add if (oa href="lise_add+cpag&r static/pf">pageo/a>/*oa href="+codent" class="sref">culrua href="+code=_lruode=,o&r static/pcpa href="+code=_gcpode=-nt" class="sref">culises if (oa href="lises+cod[page" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=]o=page" class="sref">pageo/a>1344134mclass="line" static/pcpa href="+code=_gcpode=-nt" class="sref">cucounepageo/a>/*oa hrcoune+cod++=page" class="sref">pageo/a>13411341class="line" nam" class="sref">pcpa href="+code=_gcpode=-nt" class="sref">cucounepageo/a>/*oa hrcoune+cod nt" =ocomm" class="srecpa href="+code=_gcpode=-nt" class="sref">cuhigha href="+code=_high+codo class="sref">nr_unshow3o/a>)1342134 class="line" nam /*oa href="+code=page" class="srpcpa href="+code=_gcpode=-nt" class="sref">cubatcha href="+code=_batchode=e=page" class="srecpa href="+code=_gcpode=o;page" class="sref">pageo/a>1343134 class="line" nam pcpa href="+code=_gcpode=-nt" class="sref">cucounepageo/a>/*oa hrcoune+cod -=os="sref">bad_paecpa href="+code=_gcpode=-nt" class="sref">cubatcha href="+code=_batchode==page" class="sref">pageo/a>13441344class="line" nam /292o/a> 1345134 clasder" class="sref">ordero/a>1346134 classage" class="sr uoef="+code=resetoue+cod:der" class="sref">ordero/a>1347134 class="line"ne" class="srefl/oal_irq_restorgpageo/a>/*oa hr*/oal_irq_restorgd_pagpage" class="srflagaef="+code=reset"laga+codo=page" class="sref">pageo/a>1348134 clas nam /292o/a> 1349134 claspage" class="sref">pageo/a>1354135mclass="line" nam //*mment">/* remove PageBuddy */o/spa1351135 class="line" nam /3* Fee_ a lise3of 0-f="+c ef">sd_ent">/* remove PageBuddy */o/spa1352135 class="line" nam /3*omment">/* remove PageBuddy */o/spa1353135 clasvoidopage" class="srlee_phot_cold_ef">p isepageo/a>/*oa hrlee_phot_cold_ef">p ise+cpage" class="sref">bad_pa ise_heada href="+code=_ ise_head+code=page" class="sr isepageo/a>/*oa hr ise+cpa,L ne" class="sref">imoldpageo/a>/*oa hrcoldode=o/* remove PageBuddy */o/spa13541354clasclass="sref">nr_unshow3o/a>)13551355class="line"e" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,L=page" class="srnexepageo/a>/*oa hrnexeode==page" class="sref">pageo/a>1356135 clasnam /292o/a> 1357135 class="line"ne" class="sreflise_"or_each_entr _safgpageo/a>/*oa hr*ise_"or_each_entr _safgd_pags="sref">bad_pageo/a>(struct/oa href="+cod,8comm" class="srnexepageo/a>/*oa hrnexeode=eL ="sref">bad_pa isepageo/a>/*oa hr ise+cpa,Lclass="sref">culrua href="+code=_lruode=o class="sref">nr_unshow3o/a>)13"8135 class="line" nam
                                                  /*oa hrnrace_mmdsref_lee__batchedd_pags="sref">bad_pageo/a>(struct/oa href="+cod,8comm" class="srmoldpageo/a>/*oa hrcoldode=o=page" class="sref">pageo/a>1359135 class="line" nam pageo/a>/*oa hrlee_phot_cold_ef">d_pags="sref">bad_pageo/a>(struct/oa href="+cod,8comm" class="srmoldpageo/a>/*oa hrcoldode=o=page" class="sref">pageo/a>1364136mclass="line" nam /292o/a> 13"1136 clas nam /292o/a> 1362136 clasder" class="sref">ordero/a>13"3136 class="line" nam //*mment">/* remove PageBuddy */o/spa1364136 class="line" nam /33 splitdsref takes a non-,"and splits it ineomment">/* remove PageBuddy */o/spa1365136 class="line" nam /3* n (1&e=pde=pf="+c) sub-ef">s: ef">[0..n]mment">/* remove PageBuddy */o/spa1366136 class="line" nam amuse be lee_dLindividuy *y. * point ng/at the head page.o/spa1367136 class="line" nam /3*mment">/* remove PageBuddy */o/spa1368136 class="line" nam /1* Note:rndis isLprobably too low level an operation forause in drivers. * point ng/at the head page.o/spa1369136 class="line" nam /3*LPlease consult3with lkml beforg usiparndis in your driver. * point ng/at the head page.o/spa1374137mclass="line" nam /L3omment">/* remove PageBuddy */o/spa1371137 clasvoidopage" class="srsplitdsrefpageo/a>/*oa hrsplitdsref+cpage" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,LL286">/28ine" class="sref">i unsigned int/oa href="+code=)/* remove PageBuddy */o/spa13721372clasclass="sref">nr_unshow3o/a>)1373137 class="line"ine" class="sref">iipageo/a>/*oa hri+codrder" class="sref">ordero/a>13"4137 class="line" nam /214o/13751375class="line" class="sref">iVM_BUG_ONAageo/a>/*oa hrVM_BUG_ONd_pags="sref">bad_paPoL2CoLpoundAageo/a>/*oa hrPoL2CoLpoundd_pags="sref">bad_pageo/a>(struct/oa href="+codoo=page" class="sref">pageo/a>13761376class="line" class="sref">iVM_BUG_ONAageo/a>/*oa hrVM_BUG_ONd_pag!page" class="srsref"counepageo/a>/*oa hrsref"couned_pags="sref">bad_pageo/a>(struct/oa href="+codoo=page" class="sref">pageo/a>1377137 class="line" nam /317o/1378137 clas#ifdefone" class="srefCONFIG_KMEMCHECKa>(struct/oa hrCONFIG_KMEMCHECKclass="line" nam /317o/1379137 class="line"p="line" nam //*mment">/* remove PageBuddy */o/spa1384138mclass="line" nam /LLLLLLLLL* Split shadow poL3s3too, because lee_(ef">[0]) would+cent">/* remove PageBuddy */o/spa1381138 class="line" nam /" nam 138 class="line" nam /3 nam /* remove PageBuddy */o/spa1383138 class="line"inam" class="sref">kmemcheck_ef">_is_trackedpageo/a>/*oa hrkmemcheck_ef">_is_trackedd_pags="sref">bad_pageo/a>(struct/oa href="+codoo/* remove PageBuddy */o/spa13841384class="line" nam pageo/a>/*oa hrvirt_to_ef">d_pags="sref">bad_pageo/a>(struct/oa href="+cod[0].class="sref">cushadowpageo/a>/*oa hrshadow+codo,8comm" class="sr unsigned int/oa href="+code=)c/* remove PageBuddy */o/spa13851385clas#endif/* remove PageBuddy */o/spa1386138 clasnam /292o/a> 1387138 class="line"foram" class="sref">ipageo/a>/*oa hri+cod =o1cL class="sref">iipageo/a>/*oa hri+cod &e=pf(1 &e=pde=pfpage" class="sr unsigned int/oa href="+code=)cL class="sref">iipageo/a>/*oa hri+cod++o/* remove PageBuddy */o/spa1388138 class="line" nam
                                                    /*oa hr8etdsref_ couneedd_pags="sref">bad_pageo/a>(struct/oa href="+cod +os="sref">bad_paipageo/a>/*oa hri+codoc/* remove PageBuddy */o/spa1389138 clas nam /292o/a> 1394139mclass="line" nam /281o/1391139 class="lineine" class="sref">i__isolate_lee_pgBudpageo/a>/*oa hr__isolate_lee_pgBud+cpage" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+cod,LL286">/28ine" class="sref">i unsigned int/oa href="+code=)/* remove PageBuddy */o/spa13921392clasclass="sref">nr_unshow3o/a>)1393139 class="line"L286">/28longone" class="srefwatermarkgned int/oa hrewatermark+codrder" class="sref">ordero/a>13"41394class="line"e" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+codrder" class="sref">ordero/a>13951395class="line" ne" class="sref">imepageo/a>/*oa hrmeode==page" class="sref">pageo/a>1396139 clasnam /292o/a> 139713" class="line"ne" class="srefBUG_ONAageo/a>/*oa hrBUG_ONd_pag!page" class="srPoL2BuddyAageo/a>/*oa hrPoL2Buddyd_pags="sref">bad_pageo/a>(struct/oa href="+codoo=page" class="sref">pageo/a>1398139 class="line" nam /198o/1399139 class="line"page" class="sref="pageo/a>/*oa href="+cod =os="sref">bad_pa/*oa hrpageo/a>/*oa href="+codo=page" class="sref">pageo/a>14{4140mclass="line" static/mepageo/a>/*oa hrmeode= =os="sref">bad_pagetdsrefblock_migratetyp"pageo/a>/*oa hrgetdsrefblock_migratetyp"d_pagpage" class="sref">pageo/a>/*oa href="+codo=page" class="sref">pageo/a>14{1140 class="line" nam /281o/14{2140 class="line"inam static/mepageo/a>/*oa hrmeode= !zone" class="srefMIGRATE_ISOLATEgned int/oa hreMIGRATE_ISOLATEode=o class="sref">nr_unshow3o/a>)14{3140 class="line" nam //*aObey watermarks as if nd LeBud was3beipa3a */oat/28*omment">/* remove PageBuddy */o/spa14{41404class="line" nam bad_palow_wmark_poL3spageo/a>/*oa hr*/w_wmark_poL3sd_pagpage" class="sref="pageo/a>/*oa href="+codo +f(1 &e=pde=pfpage" class="sr unsigned int/oa href="+code=)c/* remove PageBuddy */o/spa14{51405class="line"s="line" nam!page" class="sref="_watermark_okgned int/oa hreef="_watermark_okd_pagpage" class="sref="pageo/a>/*oa href="+cod,o0,8comm" class="srwatermarkgned int/oa hrewatermark+cod,o0,80oo/* remove PageBuddy */o/spa14{6140 class="line" nam 140 class="line" nam /317o/14{8140 class="line" nam
                                                      /*oa hr__mod_ef="dree_sref_s="ldd_pagpage" class="sref="pageo/a>/*oa href="+cod,o-(1UL &e=pde=pfpage" class="sr unsigned int/oa href="+code=),8comm" class="srmepageo/a>/*oa hrmeode=)c/* remove PageBuddy */o/spa14{9140 class="line" nam /292o/a> 1414141mclass="line" nam /281o/14111411class="line""="line" nam //*aRemov LeBud feom fee_ lise3*omment">/* remove PageBuddy */o/spa14121412class="line"e" class="sref"*ise_del if (oa href="lise_deld_pag&r static/pf">pageo/a>/*oa href="+codent" class="sref">culrua href="+code=_lruode=)c/* remove PageBuddy */o/spa14"3141 class="line"page" class="sref="pageo/a>/*oa href="+cod-nt" class="sref">culee_pareapageo/a>/*oa hrlee_parea+cod[page" class="sr unsigned int/oa href="+code=].class="sref">cunr_lee_ef="+code=resetnr_lee_+cod--c/* remove PageBuddy */o/spa14"41414class="line"page" class="srrmvdsref_ unsigned int/oa hrermvdsref_ unsid_pagpage" class="sref">pageo/a>/*oa href="+codo=page" class="sref">pageo/a>14"5141 clasder" class="sref">ordero/a>14"6141 class="line"s="line" nam //* Set nd LeBudblock if nd LisolatedeeBud is at least aLeBudblock *omment">/* remove PageBuddy */o/spa1417141 class="line" nam" class="sref"> unsigned int/oa href="+code= nt" =ocomm" class="srerefblock_ unsigned int/oa hreerefblock_ unsiode= - 1o class="sref">nr_unshow3o/a>)1418141 class="line" nam bad_pageo/a>(struct/oa href="+code=page" class="srendgeo/a>(struct/oa hrendgeo/+cod =os="sref">bad_pa(struct/oa href="+cod +o(1 &e=pde=pfpage" class="sr unsigned int/oa href="+code=) - 1=page" class="sref">pageo/a>14"9141 class="line" nam nr_unshow3o/a>)1424142mclass="line"s="line" nam
                                                        imepageo/a>/*oa hrmeode= =os="sref">bad_pagetdsrefblock_migratetyp"pageo/a>/*oa hrgetdsrefblock_migratetyp"d_pagpage" class="sref">pageo/a>/*oa href="+codo=page" class="sref">pageo/a>1421142 class="line" nam /30inam static/mepageo/a>/*oa hrmeode= !zone" class="srefMIGRATE_ISOLATEgned int/oa hreMIGRATE_ISOLATEode=o&r&r !page" class="sris_migrate_cmapageo/a>/*oa hris_migrate_cmad_pagpage" class="srmepageo/a>/*oa hrmeode=)o/* remove PageBuddy */o/spa14"2142 class="line" nam /*oa hrsetdsrefblock_migratetyp"d_pagpage" class="sref">pageo/a>/*oa href="+cod,/* remove PageBuddy */o/spa14"3142 class="line" nam /30e" nam pageo/a>14241424class="line" nam
                                                          /292o/a> 14"51425class="line" nam /292o/a> 14"6142 clasnam /292o/a> 14"7142 class="line" nam < 1UL &e=pde=pfpage" class="sr unsigned int/oa href="+code==page" class="sref">pageo/a>1428142 clas nam /292o/a> 14"9142 claspage" class="sref">pageo/a>1434143mclass="line" nam //*mment">/* remove PageBuddy */o/spa1431143 class="line" nam /3* Similar3eo splitdsref except nd LeBud is already fee_. Asrndis isLonlymment">/* remove PageBuddy */o/spa1432143 class="line" nam /3* beipa3usedeforamigration, nd Lmigratetyp"3of nd Lblock also chanL3s. * point ng/at the head page.o/spa1433143 class="line" nam /33 Asrndis isLcageedewith neerrupts disabled, nd Lcageer isLresponsible * point ng/at the head page.o/spa1434143 class="line" nam /33 foracageipa3archpage.odsref()"and kernel_mapdsref()"after ineerrupts * point ng/at the head page.o/spa1435143 class="line" nam /3* are enabled. * point ng/at the head page.o/spa1436143 class="line" nam 143 class="line" nam /3* Note:rndis isLprobably too low level an operation forause in drivers. * point ng/at the head page.o/spa1438143 class="line" nam /1* Please consult3with lkml beforg usiparndis in your driver. * point ng/at the head page.o/spa14"9143 class="line" nam /3*omment">/* remove PageBuddy */o/spa1444144mclas ne" class="sref">isplitdlee_pgBudpageo/a>/*oa hrsplitdlee_pgBud+cpage" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+codo/* remove PageBuddy */o/spa14411441clasclass="sref">nr_unshow3o/a>)1442144 class="line"L286">/28ine" class="sref">i unsigned int/oa href="+code==page" class="sref">pageo/a>1443144 class="line"ine" class="sref">inr_poL3spageo/a>/*oa hrnr_poL3sode==page" class="sref">pageo/a>1444144 class="line" nam /214o/14451445class="line" class="sref">i unsigned int/oa href="+code= =os="sref">bad_papageo/a>/*oa href="+codo=page" class="sref">pageo/a>1446144 clasnam /292o/a> 1447144 class="line"ne" class="srefnr_poL3spageo/a>/*oa hrnr_poL3sode= =os="sref">bad_pa__isolate_lee_pgBudpageo/a>/*oa hr__isolate_lee_pgBud+cpagpage" class="sref">pageo/a>/*oa href="+cod,Lpage" class="sr unsigned int/oa href="+code=)c/* remove PageBuddy */o/spa1448144 class="line" nam!page" class="srnr_poL3spageo/a>/*oa hrnr_poL3sode=o/* remove PageBuddy */o/spa1449144 class="line" nam
                                                            145mclass="line" nam /281o/14511451class="line""="line" nam //*aSplit ineo individuy poL3s3*omment">/* remove PageBuddy */o/spa14521452class="line"e" class="sref"8etdsref_ couneedpageo/a>/*oa hr8etdsref_ couneedd_pags="sref">bad_pageo/a>(struct/oa href="+cod)c/* remove PageBuddy */o/spa1453145 class="line"page" class="srsplitdsrefpageo/a>/*oa hrsplitdsref+cpagpage" class="sref">pageo/a>/*oa href="+cod,Lpage" class="sr unsigned int/oa href="+code=)c/* remove PageBuddy */o/spa14541454class="line" nam < class="sref">inr_poL3spageo/a>/*oa hrnr_poL3sode==page" class="sref">pageo/a>14551455clas nam /292o/a> 1456145 clasnam /292o/a> 1457145 class="line" nam //*mment">/* remove PageBuddy */o/spa14"8145 class="line" nam /1* Rey *y, prep_/* remove PageBuddy */o/spa14"9145 class="line" nam /3*Lwe cheat byacageipa3it feom here,L n nd Lf="+c nt" 0 poth. Saves a branchodent">/* remove PageBuddy */o/spa1464146mclass="line" nam /L3Lf= two. * point ng/at the head page.o/spa14"1146 class="line" nam /3*omment">/* remove PageBuddy */o/spa1462146 class="linepage" class="srinloc.c#geo/a>/*oa hrinloc.clasnam /292o/a> 14"3146 clase" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="srbuffered_rmqueuea>(struct/oa hrbuffered_rmqueue+cpage" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="srpreferred_ef="pageo/a>/*oa hr1464class="line" nam bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+cod,L ne" class="sref">i unsigned int/oa href="+code=,opage" class="srgfp_epageo/a>/*oa hrgfp_e+codepage" class="srgfp_flagaef="+code=resetgfp_flaga+cod,/* remove PageBuddy */o/spa14651465class="line"s="line"s="line"ine" class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"ode=o/* remove PageBuddy */o/spa1466146 clasclass="sref">nr_unshow3o/a>)1467146 class="line"L286">/28longone" class="srefflagaef="+code=reset"laga+codrder" class="sref">ordero/a>1468146 class="line"e" class="sref">bad_pageo/a>(struct/oa href="+code=page" class="sref">pageo/a>/*oa href="+codrder" class="sref">ordero/a>1469146 class="line" ne" class="sref">imoldpageo/a>/*oa hrcoldode= =o!!gpage" class="srgfp_flagaef="+code=resetgfp_flaga+codo&ros="sref">bad_pa__GFP_COLDpageo/a>/*oa hr__GFP_COLDode=)c/* remove PageBuddy */o/spa1474147mclass="line" nam /281o/1471147 class="sref">bad_paagainef="+code=resetagainclas:der" class="sref">ordero/a>1472147 class="line"inam static/ ikel if (oa href=" ikel d_pagpage" class="sr unsigned int/oa href="+code= ==80oo class="sref">nr_unshow3o/a>)1473147 class="line" nam bad_pager_cpudeBudsa href="+code=_ger_cpudeBuds+code=page" class="srecpa href="+code=_gcpode=rder" class="sref">ordero/a>14"41474class="line" nam bad_pa ise_heada href="+code=_ ise_head+code=page" class="sr isepageo/a>/*oa hr ise+cparder" class="sref">ordero/a>14"5147 clasder" class="sref">ordero/a>1476147 class="line" nam pageo/a>1477147 class="line" nam
                                                              /*oa href="+cod-nt" class="sref">cueBudseepageo/a>/*oa hrgBudsee+cod)-nt" class="sref">cuecpa href="+code=_gcpode=rder" class="sref">ordero/a>1478147 class="line" nam
                                                                /*oa hr ise+cpa =o&r static/pcpa href="+code=_gcpode=-nt" class="sref">culises if (oa href="lises+cod[page" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=]rder" class="sref">ordero/a>1479147 class="line" nam nr_unshow3o/a>)1484148mclass="line"s="line" nam
                                                                  cucounepageo/a>/*oa hrcoune+cod +=ocomm" class="srrmqueue_bulkpageo/a>/*oa hrrmqueue_bulkd_pagpage" class="sref="pageo/a>/*oa href="+cod,o0,lass="sref">nr_unshow3o/a>)1481148 class="line" nam /30s="line" nam
                                                                    cubatcha href="+code=_batchode=e=page" class="sr isepageo/a>/*oa hr ise+cpa,lass="sref">nr_unshow3o/a>)1482148 class="line" nam /*oa hrmigratetyp"ode=,8comm" class="srmoldpageo/a>/*oa hrcoldode=o=page" class="sref">pageo/a>1483148 class="line" nam un ikel if (oa href="un ikel d_pagpage" class="sr ise_empt if (oa href="lise_empt d_pagpage" class="sr isepageo/a>/*oa hr ise+cpaooo/* remove PageBuddy */o/spa14841484class="line" nam ordero/a>14851485class="line"s="line" nam /292o/a> 1486148 clasnam /292o/a> 1487148 class="line" nam
                                                                      moldpageo/a>/*oa hrcoldode=o/* remove PageBuddy */o/spa1488148 class="line" nam
                                                                        (struct/oa href="+code=os="sref">bad_palise_entr if (oa href="lise_entr d_pagpage" class="sr isepageo/a>/*oa hr ise+cpa-nt" class="sref">cuerevpageo/a>/*oa hrbad_pageo/a>(struct/oa href="+cod,Lclass="sref">culrua href="+code=_lruode=order" class="sref">ordero/a>1489148 class="line" nam pageo/a>1494149mclass="line"s="line" nam
                                                                          (struct/oa href="+code=os="sref">bad_palise_entr if (oa href="lise_entr d_pagpage" class="sr isepageo/a>/*oa hr ise+cpa-nt" class="sref">cunexepageo/a>/*oa hrnexeode=eLe" class="sref">bad_pageo/a>(struct/oa href="+cod,Lclass="sref">culrua href="+code=_lruode=order" class="sref">ordero/a>1491149 class="line" nam /281o/1492149 class="line" nam pageo/a>/*oa href="+codent" class="sref">culrua href="+code=_lruode=)c/* remove PageBuddy */o/spa1493149 class="line" nam pcpa href="+code=_gcpode=-nt" class="sref">cucounepageo/a>/*oa hrcoune+cod--c/* remove PageBuddy */o/spa14"41494class="line"}Lelse class="sref">nr_unshow3o/a>)14951495class="line"s="line" nam" class="sref">un ikel if (oa href="un ikel d_pagpage" class="srgfp_flagaef="+code=resetgfp_flaga+codo&ros="sref">bad_pa__GFP_NOFAILpageo/a>/*oa hr__GFP_NOFAIL+cpaoo class="sref">nr_unshow3o/a>)1496149 class="line" nam //*mment">/* remove PageBuddy */o/spa1497149 class="line" nam /3333333333333333333333333* __GFP_NOFAIL isLnot3eo be3usedein new ad_p. * point ng/at the head page.o/spa1498149 class="line" nam /1333333333333333333333333* * point ng/at the head page.o/spa1499149 class="line" nam /3333333333333333333333333* All __GFP_NOFAIL cageers"should be fixedeso ndat nd ymment">/* remove PageBuddy */o/spa15{4150mclass="line" nam /LLLLLLLLL3333333333333333* properly detelasand handld y */oation failur3s. * point ng/at the head page.o/spa15{1150 class="line" nam /" nam 150 class="line" nam /3 nam /* remove PageBuddy */o/spa15{3150 class="line" nam /3 nam /* remove PageBuddy */o/spa15{4150 class="line" nam /3 nam 150 class="line" nam /3 nam /* remove PageBuddy */o/spa15{6150 class="line" nam bad_paWARN_ON_ONCEpageo/a>/*oa hrWARN_ON_ONCEd_pagpage" class="sr unsigned int/oa href="+code= nt" 1)c/* remove PageBuddy */o/spa15{7150 class="line" nam
                                                                            /292o/a> 15{8150 class="line" nam
                                                                              /*oa hrspin_lock_irqsavgd_pag&r static/ef="pageo/a>/*oa href="+cod-nt" class="sref">culockpageo/a>/*oa hr*/ok+cod,Lclass="sref">cuflagaef="+code=reset"laga+codo=page" class="sref">pageo/a>15{9150 class="line" nam bad_pa__rmqueuea>(struct/oa hr__rmqueue+cpagpage" class="sref="pageo/a>/*oa href="+cod,o class="sref">i unsigned int/oa href="+code=,opage" class="srmigratetyp"pageo/a>/*oa hrmigratetyp"ode=o=page" class="sref">pageo/a>1514151mclass="line"s="line" static/spin_un ockpageo/a>/*oa hrspin_un ockd_pag&r static/ef="pageo/a>/*oa href="+cod-nt" class="sref">culockpageo/a>/*oa hr*/ok+codo=page" class="sref">pageo/a>1511151 class="line" nam
                                                                                pageo/a>/*oa href="+codo/* remove PageBuddy */o/spa1512151 class="line" nam ordero/a>15"3151 class="line" nam __mod_ef="dree_sref_s="ldpageo/a>/*oa hr__mod_ef="dree_sref_s="ldd_pagpage" class="sref="pageo/a>/*oa href="+cod,o-(1 &e=pde=pfpage" class="sr unsigned int/oa href="+code=),der" class="sref">ordero/a>15"41514class="line" nam getdsrefblock_migratetyp"pageo/a>/*oa hrgetdsrefblock_migratetyp"d_pagpage" class="sref">pageo/a>/*oa href="+codoo=page" class="sref">pageo/a>15151515class="line" nam /292o/a> 15"6151 clasnam /292o/a> 1517151 class="line"ne" class="sref_"coune_ef="dvm_ev35"aef="+code=reset_"coune_ef="dvm_ev35"ad_pagpage" class="srPGALLOCef="+code=resetPGALLOCode=,opage" class="sref="pageo/a>/*oa href="+cod,o1 &e=pde=pfpage" class="sr unsigned int/oa href="+code=)c/* remove PageBuddy */o/spa1518151 class="line"page" class="sref="_s="listicaef="+code=resetef="_s="listicad_pagpage" class="srereferred_ef="pageo/a>/*oa hr/*oa href="+cod,opage" class="srgfp_flagaef="+code=resetgfp_flaga+cod)c/* remove PageBuddy */o/spa1519151 class="line"page" class="srl/oal_irq_restorgpageo/a>/*oa hr*/oal_irq_restorgd_pagpage" class="srflagaef="+code=reset"laga+codo=page" class="sref">pageo/a>1524152mclass="line" nam /281o/1521152 class="line"page" class="srVM_BUG_ONAageo/a>/*oa hrVM_BUG_ONd_pags="sref">bad_pabad_ranL3a href="+code=_bad_ranL3+cpagpage" class="sref="pageo/a>/*oa href="+cod,o class="sref">ief">pageo/a>/*oa href="+codoo=page" class="sref">pageo/a>15"2152 class="line"inam static/prep_newdsrefpageo/a>/*oa hrprep_newdsrefd_pagpage" class="sref">pageo/a>/*oa href="+cod,o class="sref">i unsigned int/oa href="+code=,opage" class="srgfp_flagaef="+code=resetgfp_flaga+cod)o/* remove PageBuddy */o/spa15"3152 class="line" nam pageo/a>15"41524class="line" nam < class="sref">ief">pageo/a>/*oa href="+codrder" class="sref">ordero/a>15"5152 clasder" class="sref">ordero/a>15"6152 classage" class="srfailedpageo/a>/*oa hrfailedode=:der" class="sref">ordero/a>15"7152 class="line"ne" class="srefl/oal_irq_restorgpageo/a>/*oa hr*/oal_irq_restorgd_pagpage" class="srflagaef="+code=reset"laga+codo=page" class="sref">pageo/a>15281528class="line" nam < class="sref">iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>15"9152 clas nam /292o/a> 1534153mclass="line" nam /281o/1531153 clas#ifdefone" class="srefCONFIG_FAIL_PAGE_ALLOCef="+code=resetCONFIG_FAIL_PAGE_ALLOCclass="line" nam /281o/1532153 clasder" class="sref">ordero/a>1533153 clase""linee" clasclass="sref">nr_unshow3o/a>)15341534class="line"e" class="sref">bad_pafault_attigned int/oa hrefault_atticlasspage" class="srattigned int/oa hreatticlasrder" class="sref">ordero/a>1535153 clasder" class="sref">ordero/a>15361536class="line" class="sref">iu"mm/page_alhref="u3 clasepage" class="srignorg_gfp_highmemm/page_alhref="ignorg_gfp_highmemclasrder" class="sref">ordero/a>1537153 class="line"ne" class="srefu"mm/page_alhref="u3 clasepage" class="srignorg_gfp_waiepageo/a>/*oa hrignorg_gfp_waieclasrder" class="sref">ordero/a>1538153 class="line"page" class="sru"mm/page_alhref="u3 clasepage" class="srmin8 unsigned int/oa hremin8 unsiclasrder" class="sref">ordero/a>1539153 clas} page" class="srfail_ref">orderpageo/a>/*oa hrfail_ref">order+code=oclass="sref">nr_unshow3o/a>)1544154mclass="line".class="sref">cuattigned int/oa hreatticlase=os="sref">bad_paFAULT_ATTR_INITIALIZERgned int/oa hreFAULT_ATTR_INITIALIZERode=,lass="sref">nr_unshow3o/a>)15411541class="line".class="sref">cuignorg_gfp_waiepageo/a>/*oa hrignorg_gfp_waieclas =o1,lass="sref">nr_unshow3o/a>)1542154 class="line".class="sref">cuignorg_gfp_highmemm/page_alhref="ignorg_gfp_highmemclas =o1,lass="sref">nr_unshow3o/a>)1543154 class="line".class="sref">cumin8 unsigned int/oa hremin8 unsiclas =o1,lass="sref">nr_unshow3o/a>)1544154 clas}rder" class="sref">ordero/a>1545154 clasder" class="sref">ordero/a>1546154 class="lineine" class="sref">i__iniepageo/a>/*oa hr__inieclasepage" class="srsnamp_fail_ref">orderpageo/a>/*oa hrsnamp_fail_ref">orderd_pagchare=page" class="srstigned int/oa hrestcode=)/* remove PageBuddy */o/spa1547154 clasclass="sref">nr_unshow3o/a>)15481548class="line" nam < class="sref">isnamp_fault_attigned int/oa hresnamp_fault_attid_pag&r static/fail_ref">orderpageo/a>/*oa hrfail_ref">order+cod.class="sref">cuattigned int/oa hreatticlas,opage" class="srstigned int/oa hrestcode=)rder" class="sref">ordero/a>1549154 clas nam /292o/a> 1554155mclas class="sref">i__snamppageo/a>/*oa hr__snampd_pagp="line" nam stcing">"fail_ref">order="mment">,opage" class="srsnamp_fail_ref">orderpageo/a>/*oa hrsnamp_fail_ref">orderd_pa)rder" class="sref">ordero/a>1551155 class="line" nam /281o/1552155 class="linepage" class="srbool if (oa href="boolclasepage" class="srshould_fail_1">/2dsrefpageo/a>/*oa hrshould_fail_1">/2dsrefd_pagpage" class="srgfp_epageo/a>/*oa hrgfp_e+codepage" class="srgfp_maskpageo/a>/*oa hrgfp_maskclas,oL286">/28ine" class="sref">i unsigned int/oa href="+code=)/* remove PageBuddy */o/spa1553155 clasclass="sref">nr_unshow3o/a>)15541554class="line" nam" class="sref"> unsigned int/oa href="+code= ne=pfpage" class="srfail_ref">orderpageo/a>/*oa hrfail_ref">order+cod.class="sref">cumin8 unsigned int/oa hremin8 unsiclas)/* remove PageBuddy */o/spa15551555class="line"s="line" nam < class="sref">ifalsfpageo/a>/*oa hrfalsfclasrder" class="sref">ordero/a>15561556class="line" nam" class="sref">gfp_maskpageo/a>/*oa hrgfp_maskclaso&ros="sref">bad_pa__GFP_NOFAILpageo/a>/*oa hr__GFP_NOFAIL+cpaoder" class="sref">ordero/a>1557155 class="line" nam
                                                                                  ifalsfpageo/a>/*oa hrfalsfclasrder" class="sref">ordero/a>1558155 class="line" nampage" class="srfail_ref">orderpageo/a>/*oa hrfail_ref">order+cod.class="sref">cuignorg_gfp_highmemm/page_alhref="ignorg_gfp_highmemclas &r&r m" class="sref">gfp_maskpageo/a>/*oa hrgfp_maskclaso&ros="sref">bad_pa__GFP_HIGHMEMpageo/a>/*oa hr__GFP_HIGHMEM+cod)o/* remove PageBuddy */o/spa15"9155 class="line" nam
                                                                                    ifalsfpageo/a>/*oa hrfalsfclasrder" class="sref">ordero/a>15641560class="line" nampage" class="srfail_ref">orderpageo/a>/*oa hrfail_ref">order+cod.class="sref">cuignorg_gfp_waiepageo/a>/*oa hrignorg_gfp_waieclas &r&r m" class="sref">gfp_maskpageo/a>/*oa hrgfp_maskclaso&ros="sref">bad_pa__GFP_WAITpageo/a>/*oa hr__GFP_WAIT+cod)o/* remove PageBuddy */o/spa15"1156 class="line" nam
                                                                                      ifalsfpageo/a>/*oa hrfalsfclasrder" class="sref">ordero/a>1562156 clasder" class="sref">ordero/a>15"3156 class="line" nam < class="sref">ishould_failpageo/a>/*oa hrshould_faild_pag&r static/fail_ref">orderpageo/a>/*oa hrfail_ref">order+cod.class="sref">cuattigned int/oa hreatticlas,o1 &e=pde=pfpage" class="sr unsigned int/oa href="+code=)c/* remove PageBuddy */o/spa15641564clas nam /292o/a> 1565156 clasder" class="sref">ordero/a>1566156 clas#ifdefone" class="srefCONFIG_FAULT_INJECTION_DEBUG_FSef="+code=resetCONFIG_FAULT_INJECTION_DEBUG_FSclasder" class="sref">ordero/a>1567156 class="line" nam /317o/1568156 class="lineine" class="sref">i__iniepageo/a>/*oa hr__inieclasepage" class="srfail_ref">order_debugfaef="+code=reset"ail_ref">order_debugfad_pagvoido/* remove PageBuddy */o/spa15"9156 clasclass="sref">nr_unshow3o/a>)1574157mclass="line" static/umtic_epageo/a>/*oa hrumtic_eclasepage" class="srm="sgned int/oa hrem="sclase=os="sref">bad_paS_IFREGgned int/oa hreS_IFREGclase|os="sref">bad_paS_IRUSRgned int/oa hreS_IRUSRclase|os="sref">bad_paS_IWUSRgned int/oa hreS_IWUSRclasc/* remove PageBuddy */o/spa1571157 class="line"e" class="sref">bad_padentr if (oa href="dentr d_pae=page" class="srdiigned int/oa hrediiclasc/* remove PageBuddy */o/spa1572157 clasder" class="sref">ordero/a>1573157 class="line"page" class="srdiigned int/oa hrediiclase=os="sref">bad_pafault_create_debugfa_attigned int/oa hrefault_create_debugfa_attid_pagp="line" nam stcing">"fail_ref">order"mment">,opage" class="srNULLpageo/a>/*oa hrNULL+cod,lass="sref">nr_unshow3o/a>)15"41574class="line" nam orderpageo/a>/*oa hrfail_ref">order+cod.class="sref">cuattigned int/oa hreatticlas)c/* remove PageBuddy */o/spa15"51575class="line" nampage" class="srIS_ERRgned int/oa hreIS_ERRd_pagpage" class="srdiigned int/oa hrediiclas)o/* remove PageBuddy */o/spa1576157 class="line" nam
                                                                                        iPTR_ERRgned int/oa hrePTR_ERRd_pagpage" class="srdiigned int/oa hrediiclas)c/* remove PageBuddy */o/spa15"7157 class="line" nam /317o/1578157 class="line" nam!page" class="srdebugfa_create_bool if (oa href="debugfa_create_boold_pagp="line" nam stcing">"ignorg-gfp-waie"mment">,opage" class="srm="sgned int/oa hrem="sclas,opage" class="srdiigned int/oa hrediiclas,lass="sref">nr_unshow3o/a>)15"9157 class="line" nam orderpageo/a>/*oa hrfail_ref">order+cod.class="sref">cuignorg_gfp_waiepageo/a>/*oa hrignorg_gfp_waieclas)o/* remove PageBuddy */o/spa1584158mclass="line"s="line"goeo page" class="srfailpageo/a>/*oa hrfailclasc/* remove PageBuddy */o/spa1581158 class="line" nam!page" class="srdebugfa_create_bool if (oa href="debugfa_create_boold_pagp="line" nam stcing">"ignorg-gfp-highmem"mment">,opage" class="srm="sgned int/oa hrem="sclas,opage" class="srdiigned int/oa hrediiclas,lass="sref">nr_unshow3o/a>)1582158 class="line" nam orderpageo/a>/*oa hrfail_ref">order+cod.class="sref">cuignorg_gfp_highmemm/page_alhref="ignorg_gfp_highmemclas)o/* remove PageBuddy */o/spa1583158 class="line" nam 1584class="line" nam!page" class="srdebugfa_create_u"mm/page_alhref="debugfa_create_u"md_pagp="line" nam stcing">"min-f="+c"mment">,opage" class="srm="sgned int/oa hrem="sclas,opage" class="srdiigned int/oa hrediiclas,lass="sref">nr_unshow3o/a>)15851585class="line"s="line"LLLLLLLLs="line"&r static/fail_ref">orderpageo/a>/*oa hrfail_ref">order+cod.class="sref">cumin8 unsigned int/oa hremin8 unsiclas)o/* remove PageBuddy */o/spa1586158 class="line" nam 158 class="line" nam /317o/15881588class="line" nam < 0c/* remove PageBuddy */o/spa1589158 claspage" class="srfailpageo/a>/*oa hrfailclas:der" class="sref">ordero/a>1594159mclass="line" static/debugfa_remov _recursivgpageo/a>/*oa hrdebugfa_remov _recursivgd_pagpage" class="srdiigned int/oa hrediiclas)c/* remove PageBuddy */o/spa1591159 class="line" nam /281o/1592159 class="line" nam < -page" class="srENOMEMpageo/a>/*oa hrENOMEMclasc/* remove PageBuddy */o/spa1593159 clas nam /292o/a> 15"4159 class="line" nam /214o/15951595claspage" class="srlate_iniecagepageo/a>/*oa hrlate_iniecaged_pagpage" class="srfail_ref">order_debugfaef="+code=reset"ail_ref">order_debugfad_pa)c/* remove PageBuddy */o/spa1596159 clasnam /292o/a> 1597159 clas#end na"="line" nam //*aCONFIG_FAULT_INJECTION_DEBUG_FS3*omment">/* remove PageBuddy */o/spa1598159 clas/* remove PageBuddy */o/spa1599159 clas#else "="line" nam //*aCONFIG_FAIL_PAGE_ALLOC3*omment">/* remove PageBuddy */o/spa16{4160mclass="line" nam /281o/16{1160 class="linepage" class="srinloc.c#geo/a>/*oa hrinloc.clasepage" class="srbool if (oa href="boolclasepage" class="srshould_fail_1">/2dsrefpageo/a>/*oa hrshould_fail_1">/2dsrefd_pagpage" class="srgfp_epageo/a>/*oa hrgfp_e+codepage" class="srgfp_maskpageo/a>/*oa hrgfp_maskclas,oL286">/28ine" class="sref">i unsigned int/oa href="+code=)/* remove PageBuddy */o/spa16{2160 clasclass="sref">nr_unshow3o/a>)16{3160 class="line" nam < class="sref">ifalsfpageo/a>/*oa hrfalsfclasrder" class="sref">ordero/a>16{41604clas nam /292o/a> 16{5160 clasder" class="sref">ordero/a>16{6160 clas#end na"="line" nam //*aCONFIG_FAIL_PAGE_ALLOC3*omment">/* remove PageBuddy */o/spa16{7160 class="line" nam /317o/16{8160 class="line" nam //*mment">/* remove PageBuddy */o/spa16{9160 class="line" nam /3*LRnam < true" naree_ poL3s3are abov 'mark'. Tdis takes ineo accoune nd Lf="+cmment">/* remove PageBuddy */o/spa1614161mclass="line" nam /L3Lff nd Ly */oation. * point ng/at the head page.o/spa1611161 class="line" nam /3*omment">/* remove PageBuddy */o/spa1612161 class="linepage" class="srbool if (oa href="boolclasepage" class="sr__ef="dwatermark_okpageo/a>/*oa hr__ef="dwatermark_okd_page" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="srepageo/a>/*oa hreclas,o ne" class="sref">i unsigned int/oa href="+code=,oL286">/28longone" class="srefmarkgned int/oa hremarkclas,lass="sref">nr_unshow3o/a>)16"3161 class="line" nam image_ef="didxgned int/oa hremage_ef="didxclas,o ne" class="sref">i1">/2dflagaef="+code=reset1">/2dflagaclas,olongone" class="sreffee_pgBudaef="+code=reset"ee_pgBudaode=)/* remove PageBuddy */o/spa16"41614clasclass="sref">nr_unshow3o/a>)16151615class="line""="line" nam //*a"ee_pgBuda my go neg"liv - ndat's OK3*omment">/* remove PageBuddy */o/spa1616161 class="line"longone" class="srefminef="+code=resetminclase=os="sref">bad_pamarkgned int/oa hremarkclasrder" class="sref">ordero/a>1617161 class="line"longone" class="sreflowmem_reservgpageo/a>/*oa hr*/wmem_reservgclase=os="sref">bad_paepageo/a>/*oa hreclas-nt" class="sref">culowmem_reservgpageo/a>/*oa hr*/wmem_reservgclas[page" class="srmage_ef="didxgned int/oa hremage_ef="didxclas]rder" class="sref">ordero/a>1618161 class="line" ne" class="sref">i gned int/oa hrefclasrder" class="sref">ordero/a>1619161 clasder" class="sref">ordero/a>1624162mclass="line" static/fee_pgBudaef="+code=reset"ee_pgBudaode= -= (1 &e=pde=pfpage" class="sr unsigned int/oa href="+code=) - 1rder" class="sref">ordero/a>1621162 class="line" nam class="sref">i1">/2dflagaef="+code=reset1">/2dflagaclaso&ros="sref">bad_paALLOC_HIGHef="+code=resetALLOC_HIGHode=)/* remove PageBuddy */o/spa16"2162 class="line" nam bad_paminef="+code=resetminclase/ 2rder" class="sref">ordero/a>1623162 class="line" nam class="sref">i1">/2dflagaef="+code=reset1">/2dflagaclaso&ros="sref">bad_paALLOC_HARDERgned int/oa hreALLOC_HARDERode=)/* remove PageBuddy */o/spa16"41624class="line" nam bad_paminef="+code=resetminclase/ 4rder" class="sref">ordero/a>1625162 clas#ifdefone" class="srefCONFIG_CMAef="+code=resetCONFIG_CMAclasder" class="sref">ordero/a>16261626class="line""="line" nam //*aIf y */oation can't use CMA3areas don't use ree_ CMA3gBuda *omment">/* remove PageBuddy */o/spa16"7162 class="line" nam!m class="sref">i1">/2dflagaef="+code=reset1">/2dflagaclaso&ros="sref">bad_paALLOC_CMAef="+code=resetALLOC_CMAclas)o/* remove PageBuddy */o/spa1628162 class="line" nam
                                                                                          bad_paef="_ref">s="ldpageo/a>/*oa href="_ref">s="ldd_pagpage" class="srepageo/a>/*oa hreclas,opage" class="srNR_FREE_CMA_PAGESef="+code=resetNR_FREE_CMA_PAGESd_pa)c/* remove PageBuddy */o/spa16"91629clas#end n/* remove PageBuddy */o/spa16341630class="line" nampage" class="srfee_pgBudaef="+code=reset"ee_pgBudaode= de=p=os="sref">bad_paminef="+code=resetminclase+one" class="sreflowmem_reservgpageo/a>/*oa hr*/wmem_reservgclaso/* remove PageBuddy */o/spa1631163 class="line" nam
                                                                                            ifalsfpageo/a>/*oa hrfalsfclasrder" class="sref">ordero/a>1632163 class="line"foram" class="sref"> gned int/oa hrefclase=o0pfpage" class="sr gned int/oa hrefclasede=pfpage" class="sr unsigned int/oa href="+code=pfpage" class="sr gned int/oa hrefclas++o class="sref">nr_unshow3o/a>)1633163 class="line" nam //*aAe nd LnexeLf="+c, ndisLf="+c's gBuda be/* remove PageBuddy */o/spa16341634class="line" nam bad_paepageo/a>/*oa hreclas-nt" class="sref">cu"ee_pareaef="+code=reset"ee_pareaclas[page" class="sr gned int/oa hrefclas].class="sref">cunrdree_gned int/oa hrenrdree_clasede=pde=pfpage" class="sr gned int/oa hrefclasrder" class="sref">ordero/a>1635163 clasder" class="sref">ordero/a>1636163 class="line" nam //*aRequire rewer higher f="+c gBuda eo be3ree_ *omment">/* remove PageBuddy */o/spa1637163 class="line" nam
                                                                                              ordero/a>1638163 clas/* remove PageBuddy */o/spa1639163 class="line" nam bad_paminef="+code=resetminclaso/* remove PageBuddy */o/spa1644164mclass="line"s="line" nam
                                                                                                ifalsfpageo/a>/*oa hrfalsfclasrder" class="sref">ordero/a>16411641class="line" nam /292o/a> 1642164 class="line" nam < class="sref">itruepageo/a>/*oa hrtrueclasrder" class="sref">ordero/a>1643164 clas nam /292o/a> 1644164 class="line" nam /214o/16451645claspage" class="srbool if (oa href="boolclasepage" class="sref="dwatermark_okpageo/a>/*oa href="dwatermark_okd_page" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="srepageo/a>/*oa hreclas,o ne" class="sref">i unsigned int/oa href="+code=,oL286">/28longone" class="srefmarkgned int/oa hremarkclas,lass="sref">nr_unshow3o/a>)1646164 class="line" nam image_ef="didxgned int/oa hremage_ef="didxclas,o ne" class="sref">i1">/2dflagaef="+code=reset1">/2dflagaclaso/* remove PageBuddy */o/spa1647164 clasclass="sref">nr_unshow3o/a>)16481648class="line" nam < class="sref">i__ef="dwatermark_okpageo/a>/*oa hr__ef="dwatermark_okd_pagpage" class="srepageo/a>/*oa hreclas,opage" class="sr unsigned int/oa href="+code=,opage" class="srmarkgned int/oa hremarkclas," class="sref">image_ef="didxgned int/oa hremage_ef="didxclas,o class="sref">i1">/2dflagaef="+code=reset1">/2dflagaclas,lass="sref">nr_unshow3o/a>)1649164 class="line" nam s="ldpageo/a>/*oa href="_ref">s="ldd_pagpage" class="srepageo/a>/*oa hreclas,opage" class="srNR_FREE_PAGESef="+code=resetNR_FREE_PAGESd_pa))c/* remove PageBuddy */o/spa1654165mclas nam /292o/a> 1651165 class="line" nam /281o/1652165 claspage" class="srbool if (oa href="boolclasepage" class="sref="dwatermark_ok_safdpageo/a>/*oa href="_watermark_ok_safdd_page" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="srepageo/a>/*oa hreclas,o ne" class="sref">i unsigned int/oa href="+code=,oL286">/28longone" class="srefmarkgned int/oa hremarkclas,lass="sref">nr_unshow3o/a>)1653165 class="line" nam image_ef="didxgned int/oa hremage_ef="didxclas,o ne" class="sref">i1">/2dflagaef="+code=reset1">/2dflagaclaso/* remove PageBuddy */o/spa16541654clasclass="sref">nr_unshow3o/a>)16551655class="line"longone" class="sreffee_pgBudaef="+code=reset"ee_pgBudaode=e=os="sref">bad_paef="_ref">s="ldpageo/a>/*oa href="_ref">s="ldd_pagpage" class="srepageo/a>/*oa hreclas,opage" class="srNR_FREE_PAGESef="+code=resetNR_FREE_PAGESd_pa)c/* remove PageBuddy */o/spa1656165 clasnam /292o/a> 1657165 class="line" nams="sref">bad_paepageo/a>/*oa hreclas-nt" class="sref">cupercpuddrift_markgned int/oa hrepercpuddrift_markclaso&r&ros="sref">bad_pafee_pgBudaef="+code=reset"ee_pgBudaode= de=p s="sref">bad_paepageo/a>/*oa hreclas-nt" class="sref">cupercpuddrift_markgned int/oa hrepercpuddrift_markclaso/* remove PageBuddy */o/spa1658165 class="line" nam
                                                                                                  bad_paef="_ref">s="ld_snapshoepageo/a>/*oa href="_ref">s="ld_snapshoed_pagpage" class="srepageo/a>/*oa hreclas,opage" class="srNR_FREE_PAGESef="+code=resetNR_FREE_PAGESd_pa)c/* remove PageBuddy */o/spa1659165 clasder" class="sref">ordero/a>16641660class="line" nam < class="sref">i__ef="dwatermark_okpageo/a>/*oa hr__ef="dwatermark_okd_pagpage" class="srepageo/a>/*oa hreclas,opage" class="sr unsigned int/oa href="+code=,opage" class="srmarkgned int/oa hremarkclas," class="sref">image_ef="didxgned int/oa hremage_ef="didxclas,o class="sref">i1">/2dflagaef="+code=reset1">/2dflagaclas,lass="sref">nr_unshow3o/a>)16"1166 class="line" nam 166 clas nam /292o/a> 16"3166 clasnam /292o/a> 16"41664clas#ifdefone" class="srefCONFIG_NUMAef="+code=resetCONFIG_NUMAclasnam /292o/a> 16"5166 class="line" nam //*mment">/* remove PageBuddy */o/spa1666166 class="line" nam /L3Lzlc_snamp - Snamp fora"ef="lise cache". Uses cached ef=" datarnomment">/* remove PageBuddy */o/spa1667166 class="line" nam /3* skip over ef="s ndat are not3y */wed by nd Lcpusna, or ndat havgd_ent">/* remove PageBuddy */o/spa1668166 class="line" nam /1* been" nc58"ly (in " nt second) found eo be3nearly full. See furnd cmment">/* remove PageBuddy */o/spa16"9166 class="line" nam /3*L/* remove PageBuddy */o/spa1674167mclass="line" nam /L3Lndat havg eo skip over a"loe"of full or uny */wed ef="s. * point ng/at the head page.o/spa1671167 class="line" nam /3* * point ng/at the head page.o/spa1672167 class="line" nam /3*aIf nd Lef="lise cache isLpresene"in nd Lp naedein ef="lise, nden * point ng/at the head page.o/spa1673167 class="line" nam /3*" nam 167 class="line" nam /33Lnasks mems_y */wed, or nsre>s="lds[N_MEMORY].)+c point ng/at the head page.o/spa1675167 class="line" nam /3* * point ng/at the head page.o/spa1676167 class="line" nam /L3LIf nd Lef="lise cache isLnot3yvailable for ndisLef="lise, doesmment">/* remove PageBuddy */o/spa1677167 class="line" nam /3* nothiparand nam 167 class="line" nam /1* * point ng/at the head page.o/spa1679167 class="line" nam /3*LIf nd Lfullef="s BITMAP"in nd Lef="lise cache isLs="le (more ndan * point ng/at the head page.o/spa1684168mclass="line" nam /L3La second since " nt zap'd) nden we zap ie"out (clear its bits.)+c point ng/at the head page.o/spa1681168 class="line" nam /3* * point ng/at the head page.o/spa1682168 class="line" nam /3*aWe hold"off ev35 cageiparzlc_snamp,oL2til afeer we'vg checked nde * point ng/at the head page.o/spa1683168 class="line" nam /3*"firnt zf=" in nd Lef="lise, on nd Lnd oryLndat most y */oations wiged_ point ng/at the head page.o/spa1684168 class="line" nam /33Lbe3s"lisfied fromLndat firnt zf=",eso bent no examoc.Lndat zf=" asmment">/* remove PageBuddy */o/spa1685168 class="line" nam /3* quickly as we can. * point ng/at the head page.o/spa1686168 class="line" nam /L3omment">/* remove PageBuddy */o/spa1687168 class="linepage" class="srnsremask_epageo/a>/*oa hrnsremask_e+code=page" class="srelc_snamppageo/a>/*oa hrelc_snampd_page" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+cod,o ne" class="sref">i1">/2dflagaef="+code=reset1">/2dflagaclaso/* remove PageBuddy */o/spa16881688clasclass="sref">nr_unshow3o/a>)1689168 class="line"e" class="sref">bad_paef="lise_cachepageo/a>/*oa href="lise_cache+code=page" class="srelcpageo/a>/*oa hrelcode=pfLLLL ="line" nam //*acached ef="lise speedup infoL3omment">/* remove PageBuddy */o/spa1694169mclass="line" static/nsremask_epageo/a>/*oa hrnsremask_e+code=page" class="sry */wednsreaef="+code=reset1">/wednsreaode=pfLLLLLL ="line" nam //*aef="lise_cache approximation 3omment">/* remove PageBuddy */o/spa1691169 class="line" nam /281o/1692169 class="line"page" class="srelcpageo/a>/*oa hrelcode= =os="sref">bad_paef="lisepageo/a>/*oa href="lise+cod-nt" class="sref">cuelcache_ptigned int/oa hreelcache_pticlasrder" class="sref">ordero/a>1693169 class="line" nam!page" class="srelcpageo/a>/*oa hrelcode=o/* remove PageBuddy */o/spa16"41694class="line" nam
                                                                                                    iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>1695169 clasder" class="sref">ordero/a>16961696class="line" nam" class="sref">tim">ofeerpageo/a>/*oa hrtim">ofeerd_pagpage" class="srjiffieaef="+code=resetjiffieaclas,o class="sref">ielcpageo/a>/*oa hrelcode=-nt" class="sref">cul nt_full_zappageo/a>/*oa hrl nt_full_zapclass+one" class="srefHZpageo/a>/*oa hrHZd_pa)) class="sref">nr_unshow3o/a>)1697169 class="line" nam
                                                                                                      cufullef="sef="+code=reset"ullef="sclas,o class="sref">iMAX_ZONES_PER_ZONELISTpageo/a>/*oa hrMAX_ZONES_PER_ZONELISTode=)c/* remove PageBuddy */o/spa1698169 class="line" nam
                                                                                                        /*oa hrelcode=-nt" class="sref">cul nt_full_zappageo/a>/*oa hrl nt_full_zapclass=os="sref">bad_pajiffieaef="+code=resetjiffieaclasc/* remove PageBuddy */o/spa1699169 class="line" nam /292o/a> 17{4170mclass="line" nam /281o/17{1170 class="line"page" class="sry */wednsreaef="+code=reset1">/wednsreaode=s=o!page" class="srin_ neerrupepageo/a>/*oa hrin_ neerruped_pag) &r&r m" class="sref">1">/2dflagaef="+code=reset1">/2dflagaclaso&ros="sref">bad_paALLOC_CPUSETpageo/a>/*oa hrALLOC_CPUSETode=) ?s="line" nam /281o/17{2170 class="line" nam ordero/a>17{3170 class="line" nam s="ldspageo/a>/*oa hrnsre>s="ldsclas[page" class="srN_MEMORYpageo/a>/*oa hrN_MEMORYclas]rder" class="sref">ordero/a>17{41704class="line" nam < class="sref">iy */wednsreaef="+code=reset1">/wednsreaode=pder" class="sref">ordero/a>17{5170 clas nam /292o/a> 17{6170 clasnam /292o/a> 17{7170 class="line" nam //*mment">/* remove PageBuddy */o/spa17{8170 class="line" nam / * Giv35 'z' scanniparaLef="lise, runraLcouple"of quick checka eo see * point ng/at the head page.o/spa17{9170 class="line" nam /3*L nait isLworth lookiparat furnd c for ree_ memory: * point ng/at the head page.o/spa1714171mclass="line" nam /L3L 1) CheckLndat nd Lef=" isn't thought eo be3rull (doesn't havg itsmment">/* remove PageBuddy */o/spa1711171 class="line" nam /3*line"bit set in nd Lef="lise_cache fullef="s BITMAP). * point ng/at the head page.o/spa1712171 class="line" nam /3*a 2) CheckLndat nd Lef="s nsre (obtained fromLnd Lef="lise_cache * point ng/at the head page.o/spa1713171 class="line" nam /3*"""""z_to_n[] mappipa) isLy */wed in nd Lp naedein 1">/wednsrea mask. * point ng/at the head page.o/spa1714171 class="line" nam /33LRnam < true"(non-zer )L naef=" isLworth lookiparat furnd c, or * point ng/at the head page.o/spa1715171 class="line" nam /3* else nam < falsf (zer )L nait isLnot. * point ng/at the head page.o/spa1716171 class="line" nam /L3 * point ng/at the head page.o/spa1717171 class="line" nam /3* Tdis check -ignorgs- nd Ldiseinction between"variousLwatermarks, * point ng/at the head page.o/spa1718171 class="line" nam / * such as GFP_HIGH, GFP_ATOMIC, PF_MEMALLOC, ... aIf yaef=" is * point ng/at the head page.o/spa1719171 class="line" nam /3*Lfound eo be3rull for any"variation ff nd sf watermarks,ait wiged_ point ng/at the head page.o/spa1724172mclass="line" nam /L3Lbe3considered full for up eo f=" second by 1"> nquests,oL2less * point ng/at the head page.o/spa1721172 class="line" nam /3*lwe are so low on memory on 1"> y */wed nsres ndat we are forcedcl point ng/at the head page.o/spa1722172 class="line" nam /3*aineo nd Lsecond scanLff nd Lef="lise. * point ng/at the head page.o/spa1723172 class="line" nam /3* * point ng/at the head page.o/spa1724172 class="line" nam /33LIn nd Lsecond scanLwe ignorg ndisLef="lise cache and exactly * point ng/at the head page.o/spa1725172 class="line" nam /3* apply nd Lwatermarks eo 1"> ef="s, ev35 it isLs*/wer no do so. * point ng/at the head page.o/spa1726172 class="line" nam /L3LWe are low on memory in nd Lsecond scan, and should leavg no stf="+c point ng/at the head page.o/spa1727172 class="line" nam /3* unam 172 class="line" nam / *omment">/* remove PageBuddy */o/spa17"91729class="lineine" class="sref">ielc_ef="dworth_trying"ageo/a>/*oa hrelc_ef="dworth_tryingd_page" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+cod,oe" class="sref">bad_paef="oa hageo/a>/*oa href="oa +code=page" class="srepageo/a>/*oa hreclas,/* remove PageBuddy */o/spa1734173mclass="line"s="line" nam /*oa hrnsremask_e+code=page" class="sry */wednsreaef="+code=reset1">/wednsreaode=o/* remove PageBuddy */o/spa1731173 clasclass="sref">nr_unshow3o/a>)1732173 class="line"e" class="sref">bad_paef="lise_cachepageo/a>/*oa href="lise_cache+code=page" class="srelcpageo/a>/*oa hrelcode=pfLLLL ="line" nam //*acached ef="lise speedup infoL3omment">/* remove PageBuddy */o/spa1733173 class="line"ine" class="sref">iipageo/a>/*oa hriode=pfLLLLLLLLLLLLLLLLLLLLLLLLL ="line" nam //*aindexLff *zein ef="liseLef="s 3omment">/* remove PageBuddy */o/spa17341734class="line"ine" class="sref">inef="+code=resetnode=pfLLLLLLLLLLLLLLLLLLLLLLLLL ="line" nam //*ansre ndat zf=" *zeis on 3omment">/* remove PageBuddy */o/spa1735173 clasder" class="sref">ordero/a>1736173 class="line"page" class="srelcpageo/a>/*oa hrelcode= =os="sref">bad_paef="lisepageo/a>/*oa href="lise+cod-nt" class="sref">cuelcache_ptigned int/oa hreelcache_pticlasrder" class="sref">ordero/a>1737173 class="line" nam!page" class="srelcpageo/a>/*oa hrelcode=o/* remove PageBuddy */o/spa1738173 class="line" nam
                                                                                                          ordero/a>1739173 clasder" class="sref">ordero/a>1744174mclass="line" static/ipageo/a>/*oa hriode=e=os="sref">bad_paepageo/a>/*oa hreclas -os="sref">bad_paef="lisepageo/a>/*oa href="lise+cod-nt" class="sref">cu_ef="oa aef="+code=reset_ef="oa aclasrder" class="sref">ordero/a>1741174 class="line"page" class="srnef="+code=resetnode=e=os="sref">bad_paelcpageo/a>/*oa hrelcode=-nt" class="sref">cuz_to_npageo/a>/*oa hre_to_nclas[page" class="sripageo/a>/*oa hriode=]rder" class="sref">ordero/a>1742174 clasder" class="sref">ordero/a>1743174 class="line"p="line" nam //*aTdisLef=" isLworth tryingL nait isLy */wed butLnot3full 3omment">/* remove PageBuddy */o/spa17441744class="line" nam < class="sref">insre>isseepageo/a>/*oa hrnsre>isseed_pagpage" class="srnef="+code=resetnode=,e=page" class="sry */wednsreaef="+code=reset1">/wednsreaode=o &r&r !page" class="srtese_biepageo/a>/*oa hrtese_bied_pagpage" class="sripageo/a>/*oa hriode=,o class="sref">ielcpageo/a>/*oa hrelcode=-nt" class="sref">cufullef="sef="+code=reset"ullef="sclas)c/* remove PageBuddy */o/spa1745174 clas nam /292o/a> 1746174 clasnam /292o/a> 1747174 class="line" nam //*mment">/* remove PageBuddy */o/spa1748174 class="line" nam / * Giv35 'z' scanniparaLef="lise, set nd Lcorrespondiparbit in * point ng/at the head page.o/spa1749174 class="line" nam /3*Lelc-nt" "ullef="s,eso ndat subsnquene"attempts eo 1">/oate a"pag"+c point ng/at the head page.o/spa1754175mclass="line" nam /L3LfromLndat ef=" don't waste tim"" n-examocingL e. * point ng/at the head page.o/spa1751175 class="line" nam /3*omment">/* remove PageBuddy */o/spa1752175 class="linevoid" class="sref">ielc_mark_ef="d"ull"ageo/a>/*oa hrelc_mark_ef="d"ulld_page" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+cod,oe" class="sref">bad_paef="oa hageo/a>/*oa href="oa +code=page" class="srepageo/a>/*oa hreclaso/* remove PageBuddy */o/spa1753175 clasclass="sref">nr_unshow3o/a>)17541754class="line"e" class="sref">bad_paef="lise_cachepageo/a>/*oa href="lise_cache+code=page" class="srelcpageo/a>/*oa hrelcode=pfLLLL ="line" nam //*acached ef="lise speedup infoL3omment">/* remove PageBuddy */o/spa17551755class="line"ine" class="sref">iipageo/a>/*oa hriode=pfLLLLLLLLLLLLLLLLLLLLLLLLL ="line" nam //*aindexLff *zein ef="liseLef="s 3omment">/* remove PageBuddy */o/spa1756175 clasnam /292o/a> 1757175 class="line"page" class="srelcpageo/a>/*oa hrelcode= =os="sref">bad_paef="lisepageo/a>/*oa href="lise+cod-nt" class="sref">cuelcache_ptigned int/oa hreelcache_pticlasrder" class="sref">ordero/a>1758175 class="line" nam!page" class="srelcpageo/a>/*oa hrelcode=o/* remove PageBuddy */o/spa1759175 class="line" nam
                                                                                                            ordero/a>1764176mclass="line" nam /281o/17"1176 class="line"page" class="sripageo/a>/*oa hriode=e=os="sref">bad_paepageo/a>/*oa hreclas -os="sref">bad_paef="lisepageo/a>/*oa href="lise+cod-nt" class="sref">cu_ef="oa aef="+code=reset_ef="oa aclasrder" class="sref">ordero/a>1762176 clasder" class="sref">ordero/a>17"31763class="line"page" class="srsna_biepageo/a>/*oa hrsna_bied_pagpage" class="sripageo/a>/*oa hriode=,o class="sref">ielcpageo/a>/*oa hrelcode=-nt" class="sref">cufullef="sef="+code=reset"ullef="sclas)c/* remove PageBuddy */o/spa17"41764clas nam /292o/a> 17"5176 clasder" class="sref">ordero/a>1766176 class="line" nam //*mment">/* remove PageBuddy */o/spa1767176 class="line" nam /3* clear 1"> ef="s3full, cageed afeer direlasrellaim makes progresseso ndatmment">/* remove PageBuddy */o/spa1768176 class="line" nam /1* yaef=" ndat was" nc58"ly full isLnot3skipped over for up eo a secondmment">/* remove PageBuddy */o/spa1769176 class="line" nam /3*omment">/* remove PageBuddy */o/spa1774177mclass="linevoid" class="sref">ielc_clear_ef="sd"ull"ageo/a>/*oa hrelc_clear_ef="sd"ulld_page" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+codo/* remove PageBuddy */o/spa1771177 clasclass="sref">nr_unshow3o/a>)1772177 class="line"e" class="sref">bad_paef="lise_cachepageo/a>/*oa href="lise_cache+code=page" class="srelcpageo/a>/*oa hrelcode=pfLLLL ="line" nam //*acached ef="lise speedup infoL3omment">/* remove PageBuddy */o/spa1773177 clasnam /292o/a> 17741774class="line"page" class="srelcpageo/a>/*oa hrelcode= =os="sref">bad_paef="lisepageo/a>/*oa href="lise+cod-nt" class="sref">cuelcache_ptigned int/oa hreelcache_pticlasrder" class="sref">ordero/a>17751775class="line"inam!page" class="srelcpageo/a>/*oa hrelcode=o/* remove PageBuddy */o/spa1776177 class="line" nam
                                                                                                              ordero/a>1777177 class="line" nam /317o/17781778class="line"page" class="srbitmap_zer gned int/oa hrebitmap_zer d_pagpage" class="srelcpageo/a>/*oa hrelcode=-nt" class="sref">cufullef="sef="+code=reset"ullef="sclas,o class="sref">iMAX_ZONES_PER_ZONELISTpageo/a>/*oa hrMAX_ZONES_PER_ZONELISTode=)c/* remove PageBuddy */o/spa1779177 clas nam /292o/a> 1784178mclass="line" nam /281o/1781178 class="linepage" class="srbool if (oa href="boolclasepage" class="sref="d1">/ws_rellaimpageo/a>/*oa href="d1">/ws_rellaimd_page" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sr>/oal_ef="pageo/a>/*oa hr>/oal_ef="+cod,oe" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+codo/* remove PageBuddy */o/spa1782178 clasclass="sref">nr_unshow3o/a>)1783178 class="line" nam < class="sref">insre>isseepageo/a>/*oa hrnsre>isseed_pagpage" class="sr>/oal_ef="pageo/a>/*oa hr>/oal_ef="+cod-nt" class="sref">cunsrepageo/a>/*oa hrnsreode=,o class="sref">ief="pageo/a>/*oa href="+cod-nt" class="sref">cuef="_rgdaepageo/a>/*oa href="_rgdae+cod-nt" class="sref">curellaim_nsreaef="+code=resetrellaim_nsreaode=)c/* remove PageBuddy */o/spa17841784clas nam /292o/a> 1785178 clasder" class="sref">ordero/a>1786178 class="linevoid" class="sref">i_pgBuinuiniepageo/a>/*oa hr_pgBuinuinieclasepage" class="srinie_ef="d1">/ws_rellaimpageo/a>/*oa hrinie_ef="d1">/ws_rellaimd_pagine" class="sref">inidgned int/oa hrenid+codo/* remove PageBuddy */o/spa1787178 clasclass="sref">nr_unshow3o/a>)1788178 class="line" ne" class="sref">iipageo/a>/*oa hriode=plass="sref">nr_unshow3o/a>)1789178 clasder" class="sref">ordero/a>1794179mclass="line" static/for_each_onloc._nsrepageo/a>/*oa hrfor_each_onloc._nsred_pagpage" class="sripageo/a>/*oa hriode=o/* remove PageBuddy */o/spa1791179 class="line" nam
                                                                                                                nsre>diseancepageo/a>/*oa hrnsre>diseanced_pagpage" class="srnidgned int/oa hrenid+cod,o class="sref">iipageo/a>/*oa hriode=o de=p=os="sref">bad_paRECLAIM_DISTANCEpageo/a>/*oa hrRECLAIM_DISTANCEode=o/* remove PageBuddy */o/spa1792179 class="line" nam nsre>seepageo/a>/*oa hrnsre>seed_pagpage" class="sripageo/a>/*oa hriode=,o class="sref">iNODE_DATAef="+code=resetNODE_DATAd_pagpage" class="srnidgned int/oa hrenid+cod)-nt" class="sref">curellaim_nsreaef="+code=resetrellaim_nsreaode=)c/* remove PageBuddy */o/spa1793179 class="line"""""""""else/* remove PageBuddy */o/spa17941794class="line" nam /*oa href="drellaim_msreode= =o1rder" class="sref">ordero/a>1795179 clas nam /292o/a> 1796179 clasnam /292o/a> 1797179 clas#else LL ="line" nam //*aCONFIG_NUMAL3omment">/* remove PageBuddy */o/spa1798179 clas/* remove PageBuddy */o/spa17991799class="line" class="sref">nsremask_epageo/a>/*oa hrnsremask_e+code=page" class="srelc_snamppageo/a>/*oa hrelc_snampd_page" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+cod,o ne" class="sref">i1">/2dflagaef="+code=reset1">/2dflagacde=o/* remove PageBuddy */o/spa18{4180mclasclass="sref">nr_unshow3o/a>)18{1180 class="line" nam < class="sref">iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>18{2180 clas nam /292o/a> 18{3180 clasnam /292o/a> 18{41804class="lineine" class="sref">ielc_ef="dworth_trying"ageo/a>/*oa hrelc_ef="dworth_tryingd_page" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+cod,oe" class="sref">bad_paef="oa hageo/a>/*oa href="oa +code=pa"sref">bad_paepageo/a>/*oa hreclas,/* remove PageBuddy */o/spa18{51805class="line" nam nsremask_epageo/a>/*oa hrnsremask_e+code=page" class="sry */wednsreaef="+code=reset1">/wednsreaode=o/* remove PageBuddy */o/spa18{6180 clasclass="sref">nr_unshow3o/a>)18{71807class="line" nam < 1rder" class="sref">ordero/a>18{8180 clas nam /292o/a> 18{9180 clasder" class="sref">ordero/a>1814181mclass="linevoid" class="sref">ielc_mark_ef="d"ull"ageo/a>/*oa hrelc_mark_ef="d"ulld_page" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+cod,oe" class="sref">bad_paef="oa hageo/a>/*oa href="oa +code=page" class="srepageo/a>/*oa hreclaso/er" class="sref">ordero/a>1811181 clasclass="sref">nr_unshow3o/a>)1812181 clas nam /292o/a> 1813181 clasnam /292o/a> 18141814class="linevoid" class="sref">ielc_clear_ef="sd"ull"ageo/a>/*oa hrelc_clear_ef="sd"ulld_page" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+codo/* remove PageBuddy */o/spa1815181 clasclass="sref">nr_unshow3o/a>)1816181 clas nam /292o/a> 1817181 class="line" nam /317o/1818181 class="linepage" class="srbool if (oa href="boolclasepage" class="sref="d1">/ws_rellaimpageo/a>/*oa href="d1">/ws_rellaimd_page" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sr>/oal_ef="pageo/a>/*oa hr>/oal_ef="+cod,oe" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+codo/* remove PageBuddy */o/spa1819181 clasclass="sref">nr_unshow3o/a>)18241820class="line" nam < class="sref">itruepageo/a>/*oa hrtrueclasrder" class="sref">ordero/a>1821182 clas nam /292o/a> 1822182 clasder" class="sref">ordero/a>1823182 class="linepage" class="srinloc.c#geo/a>/*oa hrinloc.classvoid" class="sref">iinie_ef="d1">/ws_rellaimpageo/a>/*oa hrinie_ef="d1">/ws_rellaimd_pagine" class="sref">inidgned int/oa hrenid+codo/* remove PageBuddy */o/spa18241824clasclass="sref">nr_unshow3o/a>)1825182 clas nam /292o/a> 1826182 clas#endifLL ="line" nam //*aCONFIG_NUMAL3omment">/* remove PageBuddy */o/spa1827182 class="line" nam /317o/1828182 class="line" nam //*mment">/* remove PageBuddy */o/spa18"9182 class="line" nam /3*Lget_eBuddfrom_ree_lise goes ndrough nd Lef="lise tryingLeo 1">/oatemment">/* remove PageBuddy */o/spa1834183mclass="line" nam /L3La poL3. * point ng/at the head page.o/spa1831183 class="line" nam /3*omment">/* remove PageBuddy */o/spa1832183 class="linee" class="sref">bad_paeBudgned int/oa hrepag"+code=/* remove PageBuddy */o/spa1833183 class="sref">bad_paget_eBuddfrom_ree_lisegned int/oa hreget_eBuddfrom_ree_lised_pagpage" class="srgfp_epageo/a>/*oa hrgfp_eclasepage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,o class="sref">insremask_epageo/a>/*oa hrnsremask_e+code=page" class="srnsremaskpageo/a>/*oa hrnsremaskode=,oL286">/28 ne" class="sref">i unsigned int/oa href="+code=,/* remove PageBuddy */o/spa18341834class="line" nam bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+cod,o ne" class="sref">ihigh_ef="idxgned int/oa hrehigh_ef="idx+cod,o ne" class="sref">i1">/2dflagaef="+code=reset1">/2dflagacde=,/* remove PageBuddy */o/spa18351835class="line" nam bad_paef="pageo/a>/*oa href="+code=page" class="srp" cerred_ef="pageo/a>/*oa hrp" cerred_ef="+cod,o ne" class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"+codo/* remove PageBuddy */o/spa1836183 clasclass="sref">nr_unshow3o/a>)1837183 class="line"e" class="sref">bad_paef="oa hageo/a>/*oa href="oa +code=page" class="srepageo/a>/*oa hreclasrder" class="sref">ordero/a>1838183 class="line"e" class="sref">bad_paeBudgned int/oa hrepag"+code=s="sref">bad_paeBudgned int/oa hrepag"+code=os="sref">bad_paNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>1839183 class="line" ne" class="sref">image_ef="didxgned int/oa hremage_ef="didxclasrder" class="sref">ordero/a>1844184mclass="line"e" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+codrder" class="sref">ordero/a>1841184 class="line"page" class="srnsremask_epageo/a>/*oa hrnsremask_e+code=page" class="sry */wednsreaef="+code=reset1">/wednsreaode=e=os="sref">bad_paNULLpageo/a>/*oa hrNULL+codr ="line" nam //*aef="lise_cache approximation 3omment">/* remove PageBuddy */o/spa18421842class="line" ne" class="sref">ielc_activ"pageo/a>/*oa hrelc_activ"ode=e=o0pfLLLLLLLLLLLL ="line" nam //*aset if usiparzf="lise_cache 3omment">/* remove PageBuddy */o/spa1843184 class="line" ne" class="sref">idid_elc_snamppageo/a>/*oa hrdid_elc_snampode=e=o0pfLLLLLLLLL ="line" nam //*ajuse ca"> elc_snamp() f=" tim""3omment">/* remove PageBuddy */o/spa18441844clas/* remove PageBuddy */o/spa18451845class="line"page" class="srmage_ef="didxgned int/oa hremage_ef="didxclas =os="sref">bad_paef="_idxgned int/oa hreef="didxclasgpage" class="srp" cerred_ef="pageo/a>/*oa hrp" cerred_ef="+cod)c/* remove PageBuddy */o/spa1846184 claspage" class="sref="lise_scanpageo/a>/*oa href="lise_scanclas:der" class="sref">ordero/a>1847184 class="line"p="line" nam //*mment">/* remove PageBuddy */o/spa1848184 class="line" nam / * ScanLef="lise, lookiparfor aaef=" with enough ree_. * point ng/at the head page.o/spa1849184 class="line" nam /3 * Se Ly soLcpusna_ef="d1">/wed() 185mclass="line" nam /L *omment">/* remove PageBuddy */o/spa1851185 class="line"page" class="srfor_each_ef="def="lise_nsremaskpageo/a>/*oa hrfor_each_ef="def="lise_nsremaskclasgpage" class="sref="pageo/a>/*oa href="+cod,o class="sref">iepageo/a>/*oa hreclas,ss="sref">bad_paef="lisepageo/a>/*oa href="lise+cod,/* remove PageBuddy */o/spa1852185 class="line" nam nr_unshow3o/a>)1853185 class="line""""""""" nam" class="sref">IS_ENABLEDpageo/a>/*oa hrIS_ENABLEDclasgpage" class="srCONFIG_NUMAef="+code=resetCONFIG_NUMAclaso &r&r class="sref">ielc_activ"pageo/a>/*oa hrelc_activ"ode=e&r&rlass="sref">nr_unshow3o/a>)18541854class="line" nam /*oa hrelc_ef="dworth_tryingd_pagpage" class="sref="lisepageo/a>/*oa href="lise+cod,o class="sref">iepageo/a>/*oa hreclas,ss="sref">bad_pay */wednsreaef="+code=reset1">/wednsreaode=oo/* remove PageBuddy */o/spa18551855class="line" nam nr_unshow3o/a>)1856185 class="line" nam
                                                                                                                  1">/2dflagaef="+code=reset1">/2dflagaclaso&ros="sref">bad_paALLOC_CPUSETpageo/a>/*oa hrALLOC_CPUSETode=) &r&rlass="sref">nr_unshow3o/a>)1857185 class="line" nam /wed_softwall"ageo/a>/*oa hrcpusna_ef="d1">/wed_softwallclasgpage" class="sref="pageo/a>/*oa href="+cod,o class="sref">igfp_maskpageo/a>/*oa hrgfp_maskode=oo/* remove PageBuddy */o/spa1858185 class="line" nam nr_unshow3o/a>)1859185 class="line" nam //*mment">/* remove PageBuddy */o/spa1864186mclass="line" nam /L * Wden 1">/oatiparaLeBud cache eBud for writipa, wemment">/* remove PageBuddy */o/spa18"1186 class="line" nam /3 * want eo get itLfromLyaef=" ndat isLwithip its dirty * point ng/at the head page.o/spa1862186 class="line" nam /3 * limie, such ndat no sipal Lef=" holds more ndan itsmment">/* remove PageBuddy */o/spa18"3186 class="line" nam /3 * proportional share of globy *yLy */wed dirty eBuds. * point ng/at the head page.o/spa18"4186 class="line" nam /3 * Td Ldirty limies takeaineo account nd Lef="'smment">/* remove PageBuddy */o/spa18"5186 class="line" nam /3 * lowmem reserves and highLwatermarkeso ndat kswapdmment">/* remove PageBuddy */o/spa1866186 class="line" nam /3 * should b Lyble eo balanceait without havingLeomment">/* remove PageBuddy */o/spa1867186 class="line" nam /3 * write eBudsLfromLies LRU lise. * point ng/at the head page.o/spa1868186 class="line" nam /1 * * point ng/at the head page.o/spa1869186 class="line" nam /3 * Tdia may look likeait could increase eressure on * point ng/at the head page.o/spa1874187mclass="line" nam /L * */wer ef="s3by failipara">/oations ip higher ef="s * point ng/at the head page.o/spa1871187 class="line" nam /3 * before ndey are full. But nd Lp ges ndat do spiged_ point ng/at the head page.o/spa1872187 class="line" nam /3 * over are limieed as nd L*/wer ef="s3are protectedcl point ng/at the head page.o/spa1873187 class="line" nam /3 * by ndisLvery s273 mecdanism. aIt should not3be/* remove PageBuddy */o/spa1874187 class="line" nam /3 * aLeractical burden eo nd m. * point ng/at the head page.o/spa1875187 class="line" nam /3 * * point ng/at the head page.o/spa1876187 class="line" nam /3 * XXX: For now,Ly */wra">/oations eo potentiy *y * point ng/at the head page.o/spa1877187 class="line" nam /3 * exceed nd Lper-ef=" dirty limie in nd Ls*/wpath * point ng/at the head page.o/spa1878187 class="line" nam /1 * (ALLOC_WMARK_LOWoL28et) before goingL neo rellaim, * point ng/at the head page.o/spa1879187 class="line" nam /3 * which isLimportant wden on 1 NUMALsnamp nd Ly */wed * point ng/at the head page.o/spa1884188mclass="line" nam /L * ef="s3are together not3big enough eo reach ndemment">/* remove PageBuddy */o/spa1881188 class="line" nam /3 * globy limie. aTd Lproper fix for nd sf situationsmment">/* remove PageBuddy */o/spa1882188 class="line" nam /3 * wige nquire awarenesseof ef="s3in nd mment">/* remove PageBuddy */o/spa188388ss="line" nam /3 * by nmie i-ndrottliparand nd Lflusher ndreads. * point ng/at the head page.o/spa1884188 class="line" nam /3 *omment">/* remove PageBuddy */o/spa18851885class="line" nam
                                                                                                                    1">/2dflagaef="+code=reset1">/2dflagaclaso&ros="sref">bad_paALLOC_WMARK_LOWpageo/a>/*oa hrALLOC_WMARK_LOWode=) &r&rlass="sref">nr_unshow3o/a>)1886188 class="line" nam bad_pa__GFP_WRITEpageo/a>/*oa hr__GFP_WRITEclaso &r&r !page" class="sref="dmie i_okpageo/a>/*oa href="dmie i_okclasgpage" class="sref="pageo/a>/*oa href="+codoo/* remove PageBuddy */o/spa1887188 class="line" nam itdis_ef="d"ull"ageo/a>/*oa hrtdis_ef="d"ull+codrder" class="sref">ordero/a>1888188 clas/* remove PageBuddy */o/spa1889188 class="line" nam iBUILD_BUG_ON"ageo/a>/*oa hrBUILD_BUG_ONclasgpage" class="srALLOC_NO_WATERMARKSpageo/a>/*oa hrALLOC_NO_WATERMARKSode=o<ros="sref">bad_paNR_WMARKpageo/a>/*oa hrNR_WMARK+cod)c/* remove PageBuddy */o/spa1894189mclass="line"s="line"inam!m" class="sref">1">/2dflagaef="+code=reset1">/2dflagaclaso&ros="sref">bad_paALLOC_NO_WATERMARKSpageo/a>/*oa hrALLOC_NO_WATERMARKSode=)) class="sref">nr_unshow3o/a>)1891189 class="line" nam /28lopar class="sref">imarkpageo/a>/*oa hrmark+codrder" class="sref">ordero/a>1892189 class="line" nam ireepageo/a>/*oa hrreed_parder" class="sref">ordero/a>1893189 clasnam /292o/a> 18941894class="line" nam bad_paef="pageo/a>/*oa href="+cod-nt" class="sref">cuwatermarkpageo/a>/*oa hrwatermark+cod[page" class="sr1">/2dflagaef="+code=reset1">/2dflagaclaso&ros="sref">bad_paALLOC_WMARK_MASKpageo/a>/*oa hrALLOC_WMARK_MASKclas]rder" class="sref">ordero/a>18951895class="line" nam ef="dwatermark_okpageo/a>/*oa href="dwatermark_okclasgpage" class="sref="pageo/a>/*oa href="+cod,o class="sref">i unsigned int/oa href="+code=,"page" class="srmarkpageo/a>/*oa hrmark+cod,/* remove PageBuddy */o/spa1896189 class="line" nam bad_pay */2dflagaef="+code=reset1">/2dflagacde=oo/* remove PageBuddy */o/spa1897189 class="line" nam itry_tdis_ef=""ageo/a>/*oa hrtry_tdis_ef="d_parder" class="sref">ordero/a>1898189 clas/* remove PageBuddy */o/spa1899189 class="line" nam IS_ENABLEDpageo/a>/*oa hrIS_ENABLEDclasgpage" class="srCONFIG_NUMAef="+code=resetCONFIG_NUMAclaso &r&r/* remove PageBuddy */o/spa19{4190mclass="line"s="line" nam inr_onloc._nsreaef="+code=resetnr_onloc._nsreaode=e&t" 1) class="sref">nr_unshow3o/a>)19{1190 class="line" nam //*mment">/* remove PageBuddy */o/spa19{2190 class="line" nam /3 *lwe do elc_snamp" nathere are multiple nsreaodent">/* remove PageBuddy */o/spa19{3190ss="line" nam /3 * by *land before consideringLed LfirseLef="Ly */wed * point ng/at the head page.o/spa19{4190 class="line" nam /3 *lby nd Lcpusna. * point ng/at the head page.o/spa19{5190 class="line" nam /3 *omment">/* remove PageBuddy */o/spa19{6190 class="line" nam /wednsreaode=e=os="sref">bad_paelc_snamppageo/a>/*oa hrelc_snampd_pagpage" class="sref="lisepageo/a>/*oa href="lise+cod,o class="sref">iy */2dflagaef="+code=reset1">/2dflagacde=or/* remove PageBuddy */o/spa19{7190 class="line" nam ielc_activ"pageo/a>/*oa hrelc_activ"ode=e=o1rder" class="sref">ordero/a>19{8190 class="line" nam idid_elc_snamppageo/a>/*oa hrdid_elc_snampode=e=o1rder" class="sref">ordero/a>19{9190 class="line" nam /292o/a> 1914191mclass="line" nam /281o/1911191 class="line" nam ef="drellaim_msrepageo/a>/*oa href="drellaim_msreode= == 0 ||s="line" nam /281o/1912191 class="line" nam /ws_rellaimpageo/a>/*oa href="d1">/ws_rellaimd_pagpage" class="srp" cerred_ef="pageo/a>/*oa hrp" cerred_ef="+cod,o class="sref">ief="pageo/a>/*oa href="+codoo/* remove PageBuddy */o/spa1913191 class="line"""""""""""""""""""""""""goeo class="sref">itdis_ef="d"ull"ageo/a>/*oa hrtdis_ef="d"ull+codrder" class="sref">ordero/a>19141914clas/* remove PageBuddy */o/spa19151915class="line" nam //*mment">/* remove PageBuddy */o/spa1916191 class="line" nam /3 * Aslwe may haveajuse activaeed ZLC, check" natheLfirsemment">/* remove PageBuddy */o/spa1917191 class="line" nam /3 * "ligibl Lef=" has failed ef="_rellaim" nc58"ly. * point ng/at the head page.o/spa1918191 class="line" nam /1 *omment">/* remove PageBuddy */o/spa1919191 class="line" nam IS_ENABLEDpageo/a>/*oa hrIS_ENABLEDclasgpage" class="srCONFIG_NUMAef="+code=resetCONFIG_NUMAclaso &r&r class="sref">ielc_activ"pageo/a>/*oa hrelc_activ"ode=e&r&rlass="sref">nr_unshow3o/a>)1924192mclass="line"s="line" nam /*oa hrelc_ef="dworth_tryingd_pagpage" class="sref="lisepageo/a>/*oa href="lise+cod,o class="sref">iepageo/a>/*oa hreclas,ss="sref">bad_pay */wednsreaef="+code=reset1">/wednsreaode=oo/* remove PageBuddy */o/spa1921192 class="line" nam nr_unshow3o/a>)1922192 clasder" class="sref">ordero/a>1923192 class="line""""""""""""""""" class="sref">ireepageo/a>/*oa hrreed_pa =os="sref">bad_paef="_rellaimpageo/a>/*oa href="drellaimd_pagpage" class="sref="pageo/a>/*oa href="+cod,o class="sref">igfp_maskpageo/a>/*oa hrgfp_maskode=,o class="sref">i unsigned int/oa href="+code=or/* remove PageBuddy */o/spa19241924class="line" nam reepageo/a>/*oa hrreed_pa) class="sref">nr_unshow3o/a>)19251925class="line" nam ZONE_RECLAIM_NOSCAN"ageo/a>/*oa hrZONE_RECLAIM_NOSCANclas:der" class="sref">ordero/a>1926192 class="line" nam //*adidLnot3scanL*omment">/* remove PageBuddy */o/spa1927192 class="line" nam nr_unshow3o/a>)1928192 class="line" nam ZONE_RECLAIM_FULLpageo/a>/*oa hrZONE_RECLAIM_FULLclas:der" class="sref">ordero/a>1929192 class="line" nam //*ascanned butLunrellaimyble *omment">/* remove PageBuddy */o/spa1934193mclass="line"s="line" nam nr_unshow3o/a>)1931193 class="line" nam ordero/a>1932193 class="line" nam //*adidLwesrellaim enough *omment">/* remove PageBuddy */o/spa1933193 class="line"""""""""""""""""""""""""inam!page" class="sref="dwatermark_okpageo/a>/*oa href="dwatermark_okclasgpage" class="sref="pageo/a>/*oa href="+cod,o class="sref">i unsigned int/oa href="+code=,"page" class="srmarkpageo/a>/*oa hrmark+cod,/* remove PageBuddy */o/spa19341934class="line" nam bad_pay */2dflagaef="+code=reset1">/2dflagacde=oo/* remove PageBuddy */o/spa19351935class="line" nam itdis_ef="d"ull"ageo/a>/*oa hrtdis_ef="d"ull+codrder" class="sref">ordero/a>1936193 class="line" nam /292o/a> 1937193 class="line" nam
                                                                                                                      /292o/a> 1938193 clas/* remove PageBuddy */o/spa1939193 clas class="sref">itry_tdis_ef=""ageo/a>/*oa hrtry_tdis_ef="d_pa:der" class="sref">ordero/a>1944194mclass="line"s="line"page" class="srpBudgned int/oa hrepag"+code=os="sref">bad_pabuffered_rmqueuepageo/a>/*oa hrbuffered_rmqueued_pagpage" class="srp" cerred_ef="pageo/a>/*oa hrp" cerred_ef="+cod,o class="sref">ief="pageo/a>/*oa href="+cod,o class="sref">i unsigned int/oa href="+code=,der" class="sref">ordero/a>1941194 class="line" nam imigratetyp"pageo/a>/*oa hrmigratetyp"+codorder" class="sref">ordero/a>1942194 class="line" nam
                                                                                                                        pBudgned int/oa hrepag"+codo/* remove PageBuddy */o/spa1943194 class="line"""""""""""""""""breakrder" class="sref">ordero/a>19441944clas class="sref">itdis_ef="d"ull"ageo/a>/*oa hrtdis_ef="d"ull+cod:der" class="sref">ordero/a>19451945class="line" nam
                                                                                                                          IS_ENABLEDpageo/a>/*oa hrIS_ENABLEDclasgpage" class="srCONFIG_NUMAef="+code=resetCONFIG_NUMAclasoo/* remove PageBuddy */o/spa1946194 class="line" nam /*oa hrelc_mark_ef="d"ulld_pagpage" class="sref="lisepageo/a>/*oa href="lise+cod,o class="sref">iepageo/a>/*oa hreclasorder" class="sref">ordero/a>1947194 class="line" nam /292o/a> 1948194 clas/* remove PageBuddy */o/spa1949194 class="line" nam" class="sref">unlikelypageo/a>/*oa hrunlikelyd_pagpage" class="srIS_ENABLEDpageo/a>/*oa hrIS_ENABLEDclasgpage" class="srCONFIG_NUMAef="+code=resetCONFIG_NUMAclaso &r&r class="sref">ipBudgned int/oa hrepag"+code==os="sref">bad_paNULLpageo/a>/*oa hrNULL+cod &r&r class="sref">ielc_activ"pageo/a>/*oa hrelc_activ"ode=)) class="sref">nr_unshow3o/a>)1954195mclass="line"s="line"p="line" nam //*aDisyble elc cache for second ef="lise scanL*omment">/* remove PageBuddy */o/spa1951195 class="line" nam
                                                                                                                            ielc_activ"pageo/a>/*oa hrelc_activ"ode=e=o0rder" class="sref">ordero/a>1952195 class="line" nam ief="lise_scanpageo/a>/*oa href="lise_scanclasrder" class="sref">ordero/a>1953195 class="line" nam /292o/a> 19541954clas/* remove PageBuddy */o/spa19551955class="line" nam" class="sref">pBudgned int/oa hrepag"+codo/* remove PageBuddy */o/spa1956195 class="line" nam //*mment">/* remove PageBuddy */o/spa1957195 class="line" nam /3 * eBud-nt" pfmemy */o isLset wden ALLOC_NO_WATERMARKS waaodent">/* remove PageBuddy */o/spa1958195 class="line" nam /1 * necessaryLeo 1">/oate nd Lp ge.aTd Lexpectation iaodent">/* remove PageBuddy */o/spa1959195 class="line" nam /3 * ndat nd Lcy *er isLtakiparsteps ndat wige ree_ moreodent">/* remove PageBuddy */o/spa1964196mclass="line" nam /L * memory.aTd Lcy *er should avoid"nd Lp ge beiparused * point ng/at the head page.o/spa19"1196 class="line" nam /3 * for !PFMEMALLOC purposds. * point ng/at the head page.o/spa1962196 class="line" nam /3 *omment">/* remove PageBuddy */o/spa19"3196 class="line"""""""""" class="sref">pBudgned int/oa hrepag"+cod-nt" class="sref">cupfmemy */ogned int/oa hrepfmemy */oode=e=o!!m" class="sref">1">/2dflagaef="+code=reset1">/2dflagaclaso&ros="sref">bad_paALLOC_NO_WATERMARKSpageo/a>/*oa hrALLOC_NO_WATERMARKSode=)rder" class="sref">ordero/a>19"41964clas/* remove PageBuddy */o/spa19"51965class="line" nam < class="sref">ipBudgned int/oa hrepag"+codrder" class="sref">ordero/a>19"6196 clas nam /292o/a> 1967196 class="line" nam /317o/1968196 class="line" nam //*mment">/* remove PageBuddy */o/spa1969196 class="line" nam /3* Large machi="s3with many possibl Lnsrea should not3always dumpLper-nsred_ent">/* remove PageBuddy */o/spa1974197mclass="line" nam /L* meminfo3in irqLcontexa. * point ng/at the head page.o/spa1971197 class="line" nam /3*omment">/* remove PageBuddy */o/spa1972197 class="line class="sref">iinloc.c#geo/a>/*oa hrinloc.classs="sref">bad_pabool if (oa href="boolclasepage" class="srshould_superess_show_mem if (oa href="should_superess_show_memclasgvoido/* remove PageBuddy */o/spa1973197 clasclass="sref">nr_unshow3o/a>)19741974class="line"s="sref">bad_pabool if (oa href="boolclasepage" class="srreepageo/a>/*oa hrreed_pa =os="sref">bad_pafals.c#geo/a>/*oa hrfals.+codrder" class="sref">ordero/a>1975197 clasder" class="sref">ordero/a>1976197 clas# nas="sref">bad_paNODES_SHIFTpageo/a>/*oa hrNODES_SHIFTclaso&t" 8der" class="sref">ordero/a>19771977class="line"s="sref">bad_pareepageo/a>/*oa hrreed_pa =os="sref">bad_pain_interrupepageo/a>/*oa hrin_interrupeclasg)rder" class="sref">ordero/a>1978197 clas#endifder" class="sref">ordero/a>19791979class="line" nam < class="sref">ireepageo/a>/*oa hrreed_parder" class="sref">ordero/a>1984198mclas nam /292o/a> 1981198 clasnam /292o/a> 1982198 class="line class="sref">iDEFINE_RATELIMIT_STATEpageo/a>/*oa hrDEFINE_RATELIMIT_STATEclasgpage" class="srno292o/raef="+code=resetno292o/raode=,der" class="sref">ordero/a>198398 class="line"""""""""" class="sref">DEFAULT_RATELIMIT_INTERVALpageo/a>/*oa hrDEFAULT_RATELIMIT_INTERVALode=,der" class="sref">ordero/a>19841984class="line" nam DEFAULT_RATELIMIT_BURSTpageo/a>/*oa hrDEFAULT_RATELIMIT_BURSTode=)rder" class="sref">ordero/a>1985198 clasder" class="sref">ordero/a>1986198 clasvoid" class="sref">iwarn_1">/2dfailedpageo/a>/*oa hrwarn_1">/2dfailedclasgpage" class="srgfp_epageo/a>/*oa hrgfp_eclasepage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,o ne" class="sref">i unsigned int/oa href="+code=, const chare=page" class="srfmepageo/a>/*oa hrfmeode=, ...o/* remove PageBuddy */o/spa1987198 clasclass="sref">nr_unshow3o/a>)1988198 class="line"L286">/28 ne" class="sref">ifiltsigned int/oa hrefiltsid_pa =os="sref">bad_paSHOW_MEM_FILTER_NODESgned int/oa hreSHOW_MEM_FILTER_NODESd_parder" class="sref">ordero/a>1989198 clasder" class="sref">ordero/a>1994199mclass="line" namm" class="sref">gfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_NOWARN"ageo/a>/*oa hr__GFP_NOWARNclaso ||L!page" class="sr__ratelimie"ageo/a>/*oa hr__ratelimieclasg&rpage" class="srno292o/raef="+code=resetno292o/raode=) ||s="line" nam /281o/1991199 class="line" nampage" class="srdebug_guard199 class="line" nam
                                                                                                                              ordero/a>1993199 clasnam /292o/a> 19941994class="line"s="line" nam //*mment">/* remove PageBuddy */o/spa1995199 class="line" nam /3 * Tdia docu335"s exceptions given eo 1">/oations ip certain * point ng/at the head page.o/spa1996199 class="line" nam /3 *Lcontexas ndat are 1">/wedLeo 1">/oate outside curr32"'sLset * point ng/at the head page.o/spa1997199 class="line" nam /3 *eof 1">/wedLnsrea. * point ng/at the head page.o/spa1998199 class="line" nam / *omment">/* remove PageBuddy */o/spa1999199 class="line" nam!m" class="sref">gfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_NOMEMALLOC"ageo/a>/*oa hr__GFP_NOMEMALLOCclasoo/* remove PageBuddy */o/spa20{420{4class="line" nam
                                                                                                                                test_ndreaddflag"ageo/a>/*oa hrtest_ndreaddflagclasgpage" class="srTIF_MEMDIEpageo/a>/*oa hrTIF_MEMDIEode=) ||s=/pre>
                                                                                                                                /df="pa hreec/2d/8fcce41855ee6cb508cc45352beab2e189e7_3/20{4<>* remove PageBuddy */o/spa20{120{ class="line" nam /*oa hrcurr32"+cod-nt" class="sref">cuflagaef="+code=resetflagaclaso&rogpage" class="srPF_MEMALLOC"ageo/a>/*oa hrPF_MEMALLOCclaso|os="sref">bad_paPF_EXITING"ageo/a>/*oa hrPF_EXITINGclasooo/* remove PageBuddy */o/spa20{220{ class="line" nam ifiltsigned int/oa hrefiltsid_pa &r= ~s="sref">bad_paSHOW_MEM_FILTER_NODESgned int/oa hreSHOW_MEM_FILTER_NODESd_parder" class="sref">ordero/a>20{320{3class="line" nams="sref">bad_pain_interrupepageo/a>/*oa hrin_interrupeclasg) ||L!gpage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_WAITpageo/a>/*oa hr__GFP_WAITclasoo/* remove PageBuddy */o/spa20{420{4class="line" nam filtsigned int/oa hrefiltsid_pa &r= ~s="sref">bad_paSHOW_MEM_FILTER_NODESgned int/oa hreSHOW_MEM_FILTER_NODESd_parder" class="sref">ordero/a>20{520{ clasder" class="sref">ordero/a>20{620{6class="line" nams="sref">bad_pafmepageo/a>/*oa hrfmeode=) class="sref">nr_unshow3o/a>)20{720{ class="line" nam bad_pava_formaepageo/a>/*oa hrva_formaeclasepage" class="srva hageo/a>/*oa hrva d_parder" class="sref">ordero/a>20{820{ class="line" nam bad_pava_lisepageo/a>/*oa hrva_liseclasepage" class="srargaef="+code=reset1rgaclasrder" class="sref">ordero/a>20{920{ clasder" class="sref">ordero/a>201420"mclass="line" nam bad_pava_starepageo/a>/*oa hrva_stareclasgpage" class="srargaef="+code=reset1rgaclas,o class="sref">ifmepageo/a>/*oa hrfmeode=)rder" class="sref">ordero/a>201120" clasnam /292o/a>       20"220" class="line" nam ifmepageo/a>/*oa hrfmeode= =os="sref">bad_pafmepageo/a>/*oa hrfmeode=rder" class="sref">ordero/a>201320" class="line"""""""""" class="sref">va hageo/a>/*oa hrva d_pa. class="sref">ivahageo/a>/*oa hrvaode= =o&rpage" class="srargaef="+code=reset1rgaclasrder" class="sref">ordero/a>201420"4clas/* remove PageBuddy */o/spa20"520"5class="line" nam 
                                                                                                                                  ipr_warngned int/oa hrepr_warnclasgp="line" nam e" ing">"%pV"mment">,o&rpage" class="srva hageo/a>/*oa hrva d_pa)rder" class="sref">ordero/a>201620"6clas/* remove PageBuddy */o/spa20"720" class="line" nam bad_pava_endpageo/a>/*oa hrva_endclasgpage" class="srargaef="+code=reset1rgaclas)rder" class="sref">ordero/a>201820" class="line" nam /292o/a> 20"920" clasder" class="sref">ordero/a>202420"mclass="line"s="sref">bad_papr_warngned int/oa hrepr_warnclasgp="line" nam e" ing">"%s:Lp ge 1">/oation failure: unsi:%d, msre:0x%x\n"mment">,der" class="sref">ordero/a>202120" class="line" nam
                                                                                                                                    icurr32"pageo/a>/*oa hrcurr32"+cod-nt" class="sref">cu/*oa hrcoL1clas,o class="sref">i unsigned int/oa href="+code=,"page" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=order" class="sref">ordero/a>202220" clasder" class="sref">ordero/a>20"320"3class="line"s="sref">bad_padump_stackpageo/a>/*oa hrdump_stackclasg)rder" class="sref">ordero/a>20"420"4class="line"inam!page" class="srshould_superess_show_mem if (oa href="should_superess_show_memclasgoo/* remove PageBuddy */o/spa202520"5class="line" nam
                                                                                                                                      ishow_mem if (oa href="show_memclasg" class="sref">filtsigned int/oa hrefiltsid_pa)rder" class="sref">ordero/a>20"620" clas nam /292o/a> 20"720" class="line" nam /317o/20"820"8class="line class="sref">iinloc.c#geo/a>/*oa hrinloc.classints="line" nam /317o/20"920" clas class="sref">ishould_1">/2dretrypageo/a>/*oa hrshould_1">/2dretryclasgpage" class="srgfp_epageo/a>/*oa hrgfp_eclasepage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,oL286">/28 ne" class="sref">i unsigned int/oa href="+code=,der" class="sref">ordero/a>203420"mclass="line" nam /28lopar class="sref">idid_some_progresspageo/a>/*oa hrdid_some_progressode=,der" class="sref">ordero/a>203120" class="line" nam /28lopar class="sref">iref"s_rellaimedpageo/a>/*oa hrref"s_rellaimedd_pa)der" class="sref">ordero/a>203220"2clasclass="sref">nr_unshow3o/a>)20"320"3class="line"s="line" nam //*aDo not3loop" naspecifically nqueseed *omment">/* remove PageBuddy */o/spa20"420"4class="line"inam" class="sref">gfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_NORETRY"ageo/a>/*oa hr__GFP_NORETRYd_pa)der" class="sref">ordero/a>203520"5class="line" nam
                                                                                                                                        ordero/a>20"620"6clas/* remove PageBuddy */o/spa203720"7class="line"s="line" nam //*aAlways retry" naspecifically nqueseed *omment">/* remove PageBuddy */o/spa20"820"8class="line"inam" class="sref">gfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_NOFAILpageo/a>/*oa hr__GFP_NOFAILd_pa)der" class="sref">ordero/a>203920" class="line" nam
                                                                                                                                          ordero/a>204420"mclas/* remove PageBuddy */o/spa204120"1class="line"s="line" nam //*mment">/* remove PageBuddy */o/spa204220" class="line" nam /3 * SuspendLconverts GFP_KERNELLeo __GFP_WAIT which canLerev32" rellaimd_ent">/* remove PageBuddy */o/spa204320"ss="line" nam /3 * makiparforward progress without invokiparOOM. SuspendLalso disybleaodent">/* remove PageBuddy */o/spa20"420" class="line" nam /3 * stor ge devicea so kswapd wige not3help. Bail"inawe are suspendipa. * point ng/at the head page.o/spa20"520" class="line" nam /3 *omment">/* remove PageBuddy */o/spa204620"6class="line" nam!page" class="srdid_some_progresspageo/a>/*oa hrdid_some_progressode= &r&r class="sref">ipm_suspended_stor gepageo/a>/*oa hrrm_suspended_stor geclasgoo/* remove PageBuddy */o/spa204720" class="line" nam
                                                                                                                                            ordero/a>204820" clas/* remove PageBuddy */o/spa20"920"9class="line"s="line" nam //*mment">/* remove PageBuddy */o/spa205420"mclass="line" nam /3 * In ndisLimple334"ation, unsio<r= PAGE_ALLOC_COSTLY_ORDERmment">/* remove PageBuddy */o/spa205120" class="line" nam /3 * means __GFP_NOFAIL, butLndat may not3be trueain othermment">/* remove PageBuddy */o/spa205220" class="line" nam /3 * imple334"ationa. * point ng/at the head page.o/spa20"320"ss="line" nam /3 *omment">/* remove PageBuddy */o/spa205420"4class="line"inam" class="sref"> unsigned int/oa href="+code=o<r= s="sref">bad_paPAGE_ALLOC_COSTLY_ORDER"ageo/a>/*oa hrPAGE_ALLOC_COSTLY_ORDERmmpa)der" class="sref">ordero/a>205520"5class="line" nam
                                                                                                                                              ordero/a>205620"6clas/* remove PageBuddy */o/spa205720"7class="line"s="line" nam //*mment">/* remove PageBuddy */o/spa205820" class="line" nam / * For unsio&t" PAGE_ALLOC_COSTLY_ORDER,"ina__GFP_REPEAT iaodent">/* remove PageBuddy */o/spa20"920" class="line" nam /3 *aspecified,"nd nLwesretry"until"w Lns8lopasiorellaim any pef"sodent">/* remove PageBuddy */o/spa206420"mclass="line" nam /3 *a(above), u"w 'vesrellaimed an unsioofLp ges at lease asodent">/* remove PageBuddy */o/spa206120" class="line" nam /3 * large as nd L1">/oation'sL unsi. In both"cases," natheodent">/* remove PageBuddy */o/spa206220" class="line" nam /3 * 1">/oation stige rails,"w Lstopsretryipa. * point ng/at the head page.o/spa206320"ss="line" nam /3 *omment">/* remove PageBuddy */o/spa206420"4class="line"inam" class="sref">gfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_REPEATpageo/a>/*oa hr__GFP_REPEATode= &r&r class="sref">ipef"s_rellaimedpageo/a>/*oa hrref"s_rellaimedd_pao<ro(1o<r<ros="sref">bad_pa unsigned int/oa href="+code=o)der" class="sref">ordero/a>206520"5class="line" nam
                                                                                                                                                ordero/a>206620"6clas/* remove PageBuddy */o/spa206720"7class="line" nam < 0rder" class="sref">ordero/a>206820"8clas nam /292o/a> 206920" clasder" class="sref">ordero/a>207420"mclass="line class="sref">iinloc.c#geo/a>/*oa hrinloc.classe" class="sref">bad_papBudgned int/oa hrepag"+cod *der" class="sref">ordero/a>207120"1clas class="sref">i__1">/2dref"s_may_oom if (oa href="__1">/2dref"s_may_oomclasgpage" class="srgfp_epageo/a>/*oa hrgfp_eclasepage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,oL286">/28 ne" class="sref">i unsigned int/oa href="+code=,der" class="sref">ordero/a>207220" class="line"e" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+cod,oenumos="sref">bad_paef="_typ"pageo/a>/*oa href="_typ"clasepage" class="srhigh_ef="idxgned int/oa hrehigh_ef="idxode=,der" class="sref">ordero/a>207320"3class="line"s="sref">bad_pansremask_epageo/a>/*oa hrnsremask_e+code=page" class="srnsremaskpageo/a>/*oa hrnsremask+cod,oe" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="srp" cerred_ef="pageo/a>/*oa hrp" cerred_ef="+cod,der" class="sref">ordero/a>207420"4class="line"ine" class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"+cododer" class="sref">ordero/a>207520"5clasclass="sref">nr_unshow3o/a>)207620"6class="line"e" class="sref">bad_papBudgned int/oa hrepag"+cod *s="sref">bad_papBudgned int/oa hrepag"+codrder" class="sref">ordero/a>207720" class="line" nam /317o/207820"8class="line"s="line" nam //*aAcquire nd LOOM ki *er >/3k for nd Lef="s ip ef="lise *omment">/* remove PageBuddy */o/spa207920" class="line" nam!s="sref">bad_patry_set_ef="lise_oom if (oa href="try_set_ef="lise_oomclasgpage" class="sref="lisepageo/a>/*oa href="lise+cod,o class="sref">igfp_maskpageo/a>/*oa hrgfp_maskode=o) class="sref">nr_unshow3o/a>)208420"mclass="line" nam
                                                                                                                                                  ischedul"_timeout_uninterrupeibl pageo/a>/*oa hrschedul"_timeout_uninterrupeibl clasg1)rder" class="sref">ordero/a>208120" class="line" nam
                                                                                                                                                    iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>208220" class="line" nam /292o/a> 208320" clasnam /292o/a> 20"420"4class="line"s="line" nam //*mment">/* remove PageBuddy */o/spa20"520" class="line" nam /3 * Go ndrough nd Lef="lise yet f=" more time, keep very high watermark+cent">/* remove PageBuddy */o/spa20"620" class="line" nam /3 *Lhere, ndisLisL nlyLeo oatch a pary *el oom ki *ipa,"w Lmuse fail"in+cent">/* remove PageBuddy */o/spa20"720" class="line" nam /3 *ew 're stige unnsioheavy eressure. * point ng/at the head page.o/spa208820" class="line" nam / *omment">/* remove PageBuddy */o/spa20"920"9class="line"s="sref">bad_papBudgned int/oa hrepag"+cod = s="sref">bad_paget_eBuddfrom_ree_lisepageo/a>/*oa hrget_eBuddfrom_ree_liseclasgpage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=|s="sref">bad_pa__GFP_HARDWALLpageo/a>/*oa hr__GFP_HARDWALL+cod,o class="sref">insremaskpageo/a>/*oa hrnsremask+cod,/* remove PageBuddy */o/spa209420"mclass="line" nam
                                                                                                                                                      i unsigned int/oa href="+code=,"page" class="sref="lisepageo/a>/*oa href="lise+cod,o class="sref">ihigh_ef="idxgned int/oa hrehigh_ef="idxode=,der" class="sref">ordero/a>209120" class="line" nam
                                                                                                                                                        iALLOC_WMARK_HIGHgned int/oa hreALLOC_WMARK_HIGHode=|s="sref">bad_paALLOC_CPUSETpageo/a>/*oa hrALLOC_CPUSETode=,der" class="sref">ordero/a>209220" class="line" nam imigratetyp"pageo/a>/*oa hrmigratetyp"+codorder" class="sref">ordero/a>20"320"3class="line" nams="sref">bad_papBudgned int/oa hrepag"+cododer" class="sref">ordero/a>209420"4class="line" nam ioutgned int/oa hrefueode=rder" class="sref">ordero/a>209520" clasder" class="sref">ordero/a>209620"6class="line" nam!m" class="sref">gfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_NOFAILpageo/a>/*oa hr__GFP_NOFAILd_pa)) class="sref">nr_unshow3o/a>)209720" class="line" nam //*aTd LOOM ki *er wige not3help higher unsiohow3os *omment">/* remove PageBuddy */o/spa209820" class="line" nam unsigned int/oa href="+code=o>ros="sref">bad_paPAGE_ALLOC_COSTLY_ORDER"ageo/a>/*oa hrPAGE_ALLOC_COSTLY_ORDERmmpa)der" class="sref">ordero/a>209920" class="line" nam ioutgned int/oa hrefueode=rder" class="sref">ordero/a>21{421{4class="line" nam //*aTd LOOM ki *er do"s not3needlesslyLki * tasks for lowmem *omment">/* remove PageBuddy */o/spa21{121{ class="line" nam high_ef="idxgned int/oa hrehigh_ef="idxode= <ros="sref">bad_paZONE_NORMALpageo/a>/*oa hrZONE_NORMALmmpa)der" class="sref">ordero/a>21{221{ class="line" nam ioutgned int/oa hrefueode=rder" class="sref">ordero/a>21{3210 class="line""""""""""="line" nam //*mment">/* remove PageBuddy */o/spa21{4210 class="line" nam /3 * GFP_THISNODELcontains __GFP_NORETRY andLwesnevsiohit ndis. * point ng/at the head page.o/spa21{5210 class="line" nam /3 * Sanity check"for bare callsoofL__GFP_THISNODE, not3realrOOM. * point ng/at the head page.o/spa21{6210 class="line" nam /3 *aTd Lcy *er should handleLp ge 1">/oation failure by itself"in+cent">/* remove PageBuddy */o/spa21{7210 class="line" nam /3 * it specifiesL__GFP_THISNODE. * point ng/at the head page.o/spa21{8210 class="line" nam /1 * Note: Hugep ge us"s it butLwige hit PAGE_ALLOC_COSTLY_ORDER. * point ng/at the head page.o/spa21{9210 class="line" nam /3 *omment">/* remove PageBuddy */o/spa211421"mclass="line" nam gfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_THISNODEpageo/a>/*oa hr__GFP_THISNODEmmpa)der" class="sref">ordero/a>2111211 class="line" nam ioutgned int/oa hrefueode=rder" class="sref">ordero/a>21"2211 class="line" nam /292o/a> 21132113class="line"s="line" nam //*aExhauseed wdat canLbe df=" so i"'sLblamo time *omment">/* remove PageBuddy */o/spa21142114class="line"s="sref">bad_paout_of_memorygned int/oa hrefue_of_memoryclasgpage" class="sref="lisepageo/a>/*oa href="lise+cod,o class="sref">igfp_maskpageo/a>/*oa hrgfp_maskode=,o class="sref">i unsigned int/oa href="+code=,"page" class="srnsremaskpageo/a>/*oa hrnsremask+cod,opage" class="srfals.c#geo/a>/*oa hrfals.+codorder" class="sref">ordero/a>21"5211 clasder" class="sref">ordero/a>211621"6clas class="sref">ioutgned int/oa hrefueode=:der" class="sref">ordero/a>21"72117class="line"s="sref">bad_paclear_ef="lise_oom if (oa href="clear_ef="lise_oomclasgpage" class="sref="lisepageo/a>/*oa href="lise+cod,o class="sref">igfp_maskpageo/a>/*oa hrgfp_maskode=order" class="sref">ordero/a>21"821" class="line" nam < class="sref">ipBudgned int/oa hrepag"+codrder" class="sref">ordero/a>21"921" clas nam /292o/a> 2124212mclas/* remove PageBuddy */o/spa212121" clas#ifdenas="sref">bad_paCONFIG_COMPACTION"ageo/a>/*oa hrCONFIG_COMPACTIONclas/* remove PageBuddy */o/spa2122212 class="line" nam //*aTry memoryLcompaction for high- unsiohow3oations before rellaim *omment">/* remove PageBuddy */o/spa21"321"3class="linee" class="sref">bad_papBudgned int/oa hrepag"+cod *der" class="sref">ordero/a>21"42124clas class="sref">i__1">/2dref"s_direlt_compact if (oa href="__1">/2dref"s_direlt_compactclasgpage" class="srgfp_epageo/a>/*oa hrgfp_eclasepage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,oL286">/28 ne" class="sref">i unsigned int/oa href="+code=,der" class="sref">ordero/a>212521"5class="line"e" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+cod,oenumos="sref">bad_paef="_typ"pageo/a>/*oa href="_typ"clasepage" class="srhigh_ef="idxgned int/oa hrehigh_ef="idxode=,der" class="sref">ordero/a>21"62126class="line"s="sref">bad_pansremask_epageo/a>/*oa hrnsremask_e+code=page" class="srnsremaskpageo/a>/*oa hrnsremask+cod,o ne" class="sref">i1">/2dflagaef="+code=reset1">/2dflagaclas,oe" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="srp" cerred_ef="pageo/a>/*oa hrp" cerred_ef="+cod,der" class="sref">ordero/a>21"72127class="line"ine" class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"+cod,o class="sref">ibool if (oa href="boolclasepage" class="srsync_migrationpageo/a>/*oa hrsync_migration+cod,der" class="sref">ordero/a>21"82128class="line"s="sref">bad_pabool if (oa href="boolclase=page" class="srcontended_compaction if (oa href="contended_compaction+cod,o class="sref">ibool if (oa href="boolclase=page" class="srd cerred_compaction if (oa href="d cerred_compaction+cod,der" class="sref">ordero/a>21"9212 class="line"L286">/28lopar=page" class="srdid_some_progresspageo/a>/*oa hrdid_some_progressode=)der" class="sref">ordero/a>213421"mclasclass="sref">nr_unshow3o/a>)213121" class="line" nam!s="sref">bad_pa unsigned int/oa href="+code=olass="sref">nr_unshow3o/a>)2132213 class="line" nam
                                                                                                                                                          iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>21"3213 clasnam /292o/a> 21"421"4class="line"inam" class="sref">compaction_d cerred if (oa href="compaction_d cerredclasgpage" class="srp" cerred_ef="pageo/a>/*oa hrp" cerred_ef="+cod,o class="sref">i unsigned int/oa href="+code=o) class="sref">nr_unshow3o/a>)213521"5class="line" nam bad_patrue if (oa href="tru"+codrder" class="sref">ordero/a>21"6213 class="line" nam
                                                                                                                                                            iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>21"7213 class="line" nam /292o/a> 2138213 clas/* remove PageBuddy */o/spa21392139class="line"s="sref">bad_pacurr32"pageo/a>/*oa hrcurr32"+cod-nt" class="sref">cuflagaef="+code=resetflagaclaso|= s="sref">bad_paPF_MEMALLOC"ageo/a>/*oa hrPF_MEMALLOCclasrder" class="sref">ordero/a>2144214mclass="line"=page" class="srdid_some_progresspageo/a>/*oa hrdid_some_progressode= = s="sref">bad_patry_to_compactdref"s if (oa href="try_to_compactdref"sclasgpage" class="sref="lisepageo/a>/*oa href="lise+cod,o class="sref">i unsigned int/oa href="+code=,"page" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,der" class="sref">ordero/a>2141214 class="line" nam ordero/a>2142214 class="line" nam ordero/a>21432143class="line"s="sref">bad_pacurr32"pageo/a>/*oa hrcurr32"+cod-nt" class="sref">cuflagaef="+code=resetflagaclaso&r= ~s="sref">bad_paPF_MEMALLOC"ageo/a>/*oa hrPF_MEMALLOCclasrder" class="sref">ordero/a>21442144clas/* remove PageBuddy */o/spa21"52145class="line" nam=page" class="srdid_some_progresspageo/a>/*oa hrdid_some_progressode= != s="sref">bad_paCOMPACT_SKIPPED"ageo/a>/*oa hrCOMPACT_SKIPPED+codo class="sref">nr_unshow3o/a>)2146214 class="line" nam bad_papBudgned int/oa hrepag"+cod *s="sref">bad_papBudgned int/oa hrepag"+codrder" class="sref">ordero/a>2147214 class="line" nam /317o/2148214 class="line" nam //*aP ge migration ree_sLeo nd LPCP lises butLwe wane"mergipar*omment">/* remove PageBuddy */o/spa21"9214 class="line" nam ordero/a>2154215mclass="line" nam
                                                                                                                                                              iput_cpupageo/a>/*oa hrput_cpuclasg)rder" class="sref">ordero/a>2151215 clasnam /292o/a> 2152215 class="line" nam bad_paget_eBuddfrom_ree_lisepageo/a>/*oa hrget_eBuddfrom_ree_liseclasgpage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,o class="sref">insremaskpageo/a>/*oa hrnsremask+cod,/* remove PageBuddy */o/spa21"3215 class="line"""""""""s="line" nam /*oa href="lise+cod,o class="sref">ihigh_ef="idxgned int/oa hrehigh_ef="idxode=,der" class="sref">ordero/a>21542154class="line" nam /2dflagaef="+code=reset1">/2dflagaclaso&ro~s="sref">bad_paALLOC_NO_WATERMARKSpageo/a>/*oa hrALLOC_NO_WATERMARKSode=,der" class="sref">ordero/a>215521"5class="line" nam imigratetyp"pageo/a>/*oa hrmigratetyp"+codorder" class="sref">ordero/a>2156215 class="line" nam
                                                                                                                                                                bad_papBudgned int/oa hrepag"+codo class="sref">nr_unshow3o/a>)2157215 class="line" nam
                                                                                                                                                                  cu/3kskipdflush if (oa href="compactdb>/3kskipdflush+cod = s="sref">bad_pafals.c#geo/a>/*oa hrfals.+codrder" class="sref">ordero/a>2158215 class="line" nam
                                                                                                                                                                    cuordero/a>21"9215 class="line" nam cu/*oa hrcoLpactdd cer_shif"+cod = 0rder" class="sref">ordero/a>2164216mclass="line" nam unsigned int/oa href="+code=o>r= s="sref">bad_pap" cerred_ef="pageo/a>/*oa hrp" cerred_ef="+cod-nt" class="sref">cu/*oa hrnr_unshow3o/a>)2161216 class="line" nam bad_pap" cerred_ef="pageo/a>/*oa hrp" cerred_ef="+cod-nt" class="sref">cu/*oa hrbad_pa unsigned int/oa href="+code=o+ 1rder" class="sref">ordero/a>2162216 class="line" nam icount_vm_ev32"pageo/a>/*oa hrordero/a>2163216 class="line"""""""""s="line" nam < class="sref">ipBudgned int/oa hrepag"+codrder" class="sref">ordero/a>21642164class="line" nam
                                                                                                                                                                      /292o/a> 2165216 clasder" class="sref">ordero/a>2166216 class="line" nam //*mment">/* remove PageBuddy */o/spa2167216 class="line" nam /3 * I"'sLbadLinacompaction run occurs andLrails. * point ng/at the head page.o/spa2168216 class="line" nam /1 * Td Lmost likely nason is ndat ref"s exise, * point ng/at the head page.o/spa2169216 class="line" nam /3 * butLnot3enough no satisfy watermarks. * point ng/at the head page.o/spa2174217mclass="line" nam /3 *omment">/* remove PageBuddy */o/spa2171217 class="line" nam
                                                                                                                                                                        icount_vm_ev32"pageo/a>/*oa hrordero/a>2172217 clasder" class="sref">ordero/a>2173217 class="line""""""""""="line" nam //*mment">/* remove PageBuddy */o/spa2174217 class="line" nam /3 * As asyncacompaction consi"+cs a subset ffLp geb>/3ks,L nlymment">/* remove PageBuddy */o/spa2175217 class="line" nam /3 * d cer" nathe failure was a syncacompaction failure. * point ng/at the head page.o/spa2176217 class="line" nam /3 *omment">/* remove PageBuddy */o/spa2177217 class="line" nam sync_migrationpageo/a>/*oa hrsync_migration+codolass="sref">nr_unshow3o/a>)2178217 class="line" nam
                                                                                                                                                                          i unsigned int/oa href="+code=order" class="sref">ordero/a>2179217 clasder" class="sref">ordero/a>218421"mclass="line" nam
                                                                                                                                                                            icond_resched if (oa href="cond_reschedclasg)rder" class="sref">ordero/a>218121" class="line" nam /292o/a> 2182218 clasder" class="sref">ordero/a>2183218 class="line" nam < class="sref">iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>21"421"4clas nam /292o/a> 218521" clas#elsenam /292o/a> 218621" class="line class="sref">iinloc.c#geo/a>/*oa hrinloc.classe" class="sref">bad_papBudgned int/oa hrepag"+cod *der" class="sref">ordero/a>21"721" class="sref">bad_pa__1">/2dref"s_direlt_compact if (oa href="__1">/2dref"s_direlt_compactclasgpage" class="srgfp_epageo/a>/*oa hrgfp_eclasepage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,oL286">/28 ne" class="sref">i unsigned int/oa href="+code=,der" class="sref">ordero/a>21"8218 class="line"e" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+cod,oenumos="sref">bad_paef="_typ"pageo/a>/*oa href="_typ"clasepage" class="srhigh_ef="idxgned int/oa hrehigh_ef="idxode=,der" class="sref">ordero/a>21"921"9class="line"s="sref">bad_pansremask_epageo/a>/*oa hrnsremask_e+code=page" class="srnsremaskpageo/a>/*oa hrnsremask+cod,o ne" class="sref">i1">/2dflagaef="+code=reset1">/2dflagaclas,oe" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="srp" cerred_ef="pageo/a>/*oa hrp" cerred_ef="+cod,der" class="sref">ordero/a>219421"mclass="line"ine" class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"+cod,o class="sref">ibool if (oa href="boolclasepage" class="srsync_migrationpageo/a>/*oa hrsync_migration+cod,der" class="sref">ordero/a>219121" class="line" class="sref">ibool if (oa href="boolclase=page" class="srcontended_compaction if (oa href="contended_compaction+cod,o class="sref">ibool if (oa href="boolclase=page" class="srd cerred_compaction if (oa href="d cerred_compaction+cod,der" class="sref">ordero/a>219221" class="line"L286">/28lopar=page" class="srdid_some_progresspageo/a>/*oa hrdid_some_progressode=)der" class="sref">ordero/a>21"321"3clasclass="sref">nr_unshow3o/a>)219421"4class="line" nam < class="sref">iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>219521" clas nam /292o/a> 219621"6clas#endifLs="line" nam //*aCONFIG_COMPACTION *omment">/* remove PageBuddy */o/spa2197219 class="line" nam /317o/2198219 class="line" nam //*aPerform direlt synchronousLp ge rellaim *omment">/* remove PageBuddy */o/spa219921" class="lineints="line" nam /317o/22{422{4class="sref">bad_pa__perform_rellaim if (oa href="__perform_rellaimclasgpage" class="srgfp_epageo/a>/*oa hrgfp_eclasepage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,oL286">/28 ne" class="sref">i unsigned int/oa href="+code=,"e" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+cod,s="line" nam /317o/22{122{ class="line" nam bad_pansremask_epageo/a>/*oa hrnsremask_e+code=page" class="srnsremaskpageo/a>/*oa hrnsremask+cod)der" class="sref">ordero/a>22{22202clasclass="sref">nr_unshow3o/a>)22{3220 class="line"e" class="sref">bad_parellaim_stat"pageo/a>/*oa hrrellaim_stat"clasepage" class="srrellaim_stat"pageo/a>/*oa hrrellaim_stat"clasrder" class="sref">ordero/a>22{42204class="line"ine" class="sref">iprogresspageo/a>/*oa hrprogressode=rder" class="sref">ordero/a>22{5220 clasder" class="sref">ordero/a>22{62206class="line"s="sref">bad_pacond_resched if (oa href="cond_reschedclasg)rder" class="sref">ordero/a>22{7220 class="line" nam /317o/22{82208class="line"s="line" nam //*aW Lnsw go"ineo synchronousLrellaim *omment">/* remove PageBuddy */o/spa22{92209class="line"s="sref">bad_pacpuset_memory_eressure_bump if (oa href="cpuset_memory_eressure_bumpclasg)rder" class="sref">ordero/a>221422"mclass="line"s="sref">bad_pacurr32"pageo/a>/*oa hrcurr32"+cod-nt" class="sref">cuflagaef="+code=resetflagaclaso|= s="sref">bad_paPF_MEMALLOC"ageo/a>/*oa hrPF_MEMALLOCclasrder" class="sref">ordero/a>2211221 class="line" class="sref">i>/3kdep_set_curr32"_rellaim_stat"pageo/a>/*oa hr>/3kdep_set_curr32"_rellaim_stat"clasgpage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=order" class="sref">ordero/a>22"2221 class="line"page" class="srrellaim_stat"pageo/a>/*oa hrrellaim_stat"clas.page" class="srrellaimed_slabpageo/a>/*oa hrrellaimed_slab+cod = 0rder" class="sref">ordero/a>22132213class="line"s="sref">bad_pacurr32"pageo/a>/*oa hrcurr32"+cod-nt" class="sref">curellaim_stat"pageo/a>/*oa hrrellaim_stat"clase=o&rpage" class="srrellaim_stat"pageo/a>/*oa hrrellaim_stat"clasrder" class="sref">ordero/a>22142214clas/* remove PageBuddy */o/spa22"52215class="line"s="sref">bad_paprogresspageo/a>/*oa hrprogressode= = s="sref">bad_patry_to_ree_dref"s if (oa href="try_to_ree_dref"sclasgpage" class="sref="lisepageo/a>/*oa href="lise+cod,o class="sref">i unsigned int/oa href="+code=,"page" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,o class="sref">insremaskpageo/a>/*oa hrnsremask+codorder" class="sref">ordero/a>22"62216clas/* remove PageBuddy */o/spa22"72217class="line"s="sref">bad_pacurr32"pageo/a>/*oa hrcurr32"+cod-nt" class="sref">curellaim_stat"pageo/a>/*oa hrrellaim_stat"clase=o class="sref">iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>22"82218class="line"s="sref">bad_pa>/3kdep_clear_curr32"_rellaim_stat"pageo/a>/*oa hr>/3kdep_clear_curr32"_rellaim_stat"clasg)rder" class="sref">ordero/a>22192219class="line"s="sref">bad_pacurr32"pageo/a>/*oa hrcurr32"+cod-nt" class="sref">cuflagaef="+code=resetflagaclaso&r= ~s="sref">bad_paPF_MEMALLOC"ageo/a>/*oa hrPF_MEMALLOCclasrder" class="sref">ordero/a>2224222mclas/* remove PageBuddy */o/spa2221222 class="line" class="sref">icond_resched if (oa href="cond_reschedclasg)rder" class="sref">ordero/a>2222222 clasder" class="sref">ordero/a>22"3222 class="line" nam < class="sref">iprogresspageo/a>/*oa hrprogressode=rder" class="sref">ordero/a>22"42224clas nam /292o/a> 2225222 clasder" class="sref">ordero/a>22"6222 class="line" nam //*aTd Lreally slsw how3oator path whereLwe enter direlt rellaim *omment">/* remove PageBuddy */o/spa22"72227class="line class="sref">iinloc.c#geo/a>/*oa hrinloc.classe" class="sref">bad_papBudgned int/oa hrepag"+cod *der" class="sref">ordero/a>22"82228class="sref">bad_pa__1">/2dref"s_direlt_rellaim if (oa href="__1">/2dref"s_direlt_rellaimclasgpage" class="srgfp_epageo/a>/*oa hrgfp_eclasepage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,oL286">/28 ne" class="sref">i unsigned int/oa href="+code=,der" class="sref">ordero/a>22"9222 class="line"e" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+cod,oenumos="sref">bad_paef="_typ"pageo/a>/*oa href="_typ"clasepage" class="srhigh_ef="idxgned int/oa hrehigh_ef="idxode=,der" class="sref">ordero/a>2234223mclass="line"s="sref">bad_pansremask_epageo/a>/*oa hrnsremask_e+code=page" class="srnsremaskpageo/a>/*oa hrnsremask+cod,o ne" class="sref">i1">/2dflagaef="+code=reset1">/2dflagaclas,oe" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="srp" cerred_ef="pageo/a>/*oa hrp" cerred_ef="+cod,der" class="sref">ordero/a>223122" class="line" ne" class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"+cod,oL286">/28lopar=page" class="srdid_some_progresspageo/a>/*oa hrdid_some_progressode=)der" class="sref">ordero/a>22322232clasclass="sref">nr_unshow3o/a>)22"3223 class="line"e" class="sref">bad_papBudgned int/oa hrepag"+cod *s="sref">bad_papBudgned int/oa hrepag"+code=o class="sref">iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>22"422"4class="line" class="sref">ibool if (oa href="boolclasepage" class="srdrained if (oa href="drained+code=o class="sref">ifals.c#geo/a>/*oa hrfals.+codrder" class="sref">ordero/a>2235223 clasder" class="sref">ordero/a>22"6223 class="line"=page" class="srdid_some_progresspageo/a>/*oa hrdid_some_progressode= = s="sref">bad_pa__perform_rellaim if (oa href="__perform_rellaimclasgpage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,o class="sref">i unsigned int/oa href="+code=,"page" class="sref="lisepageo/a>/*oa href="lise+cod,s="line" nam /317o/22"7223 class="line" nam
                                                                                                                                                                              insremaskpageo/a>/*oa hrnsremask+codorder" class="sref">ordero/a>22382238class="line"inam" class="sref">unlikelypageo/a>/*oa hrunlikelyclasg!m=page" class="srdid_some_progresspageo/a>/*oa hrdid_some_progressode=)o)der" class="sref">ordero/a>2239223 class="line" nam
                                                                                                                                                                                iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>2244224mclas/* remove PageBuddy */o/spa2241224 class="line"s="line" nam //*aAfter successful rellaim, relonsi"+c howLef="s for how3oation *omment">/* remove PageBuddy */o/spa2242224 class="line"inam" class="sref">IS_ENABLED"ageo/a>/*oa hrIS_ENABLEDclasgpage" class="srCONFIG_NUMA"ageo/a>/*oa hrCONFIG_NUMAode=)o/* remove PageBuddy */o/spa2243224 class="line""""""""""age" class="srelc_clear_ef="s_full if (oa href="elc_clear_ef="s_fullclasgpage" class="sref="lisepageo/a>/*oa href="lise+codorder" class="sref">ordero/a>22442244clas/* remove PageBuddy */o/spa22"52245clasclass="sref">curetrygned int/oa hreretryclas:der" class="sref">ordero/a>22462246class="line"s="sref">bad_papBudgned int/oa hrepag"+cod = s="sref">bad_paget_eBuddfrom_ree_lisepageo/a>/*oa hrget_eBuddfrom_ree_liseclasgpage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,o class="sref">insremaskpageo/a>/*oa hrnsremask+cod," class="sref">i unsigned int/oa href="+code=,der" class="sref">ordero/a>2247224 class="line" nam
                                                                                                                                                                                  /*oa href="lise+cod,o class="sref">ihigh_ef="idxgned int/oa hrehigh_ef="idxode=,der" class="sref">ordero/a>2248224 class="line" nam
                                                                                                                                                                                    /2dflagaef="+code=reset1">/2dflagaclaso&ro~s="sref">bad_paALLOC_NO_WATERMARKSpageo/a>/*oa hrALLOC_NO_WATERMARKSode=,der" class="sref">ordero/a>22"9224 class="line" nam
                                                                                                                                                                                      imigratetyp"pageo/a>/*oa hrmigratetyp"+codorder" class="sref">ordero/a>2254225mclas/* remove PageBuddy */o/spa2251225 class="line"s="line" nam //*mment">/* remove PageBuddy */o/spa2252225 class="line" nam /LLLLLLLLL* If linhow3oation failed after direlt rellaim, it could be becaus.+cent">/* remove PageBuddy */o/spa2253225 class="line" nam /LLLLLLLLL* ref"s are pin>/28on the per-cpu lises. Drain them andLtry again+cent">/* remove PageBuddy */o/spa2254225 class="line" nam /3 *omment">/* remove PageBuddy */o/spa225522"5class="line" nam!s="sref">bad_papBudgned int/oa hrepag"+cod &r&ro!s="sref">bad_padrained if (oa href="drained+codo class="sref">nr_unshow3o/a>)2256225 class="line" nam bad_padrainshowdref"s if (oa href="draindhowdref"sclasg)rder" class="sref">ordero/a>2257225 class="line" nam itrue if (oa href="tru"+codrder" class="sref">ordero/a>2258225 class="line" nam iretrygned int/oa hreretryclasrder" class="sref">ordero/a>2259225 class="line" nam /292o/a> 2264226mclas/* remove PageBuddy */o/spa2261226 class="line" nam < class="sref">ipBudgned int/oa hrepag"+codrder" class="sref">ordero/a>2262226 clas nam /292o/a> 2263226 clasnam /292o/a> 2264226 class="line" nam //*mment">/* remove PageBuddy */o/spa2265226 class="line" nam /3*aTdisLisLcy *e28 n the how3oator slsw-path nathe how3oation requestLisL n+cent">/* remove PageBuddy */o/spa2266226 class="line" nam /3* suffici32" urgencyLeo ignore watermarks andLtake other desperate measures+cent">/* remove PageBuddy */o/spa2267226 class="line" nam /3*omment">/* remove PageBuddy */o/spa2268226 class="line class="sref">iinloc.c#geo/a>/*oa hrinloc.classe" class="sref">bad_papBudgned int/oa hrepag"+cod *der" class="sref">ordero/a>2269226 class="sref">bad_pa__1">/2dref"s_high_prioritygned int/oa hre__1">/2dref"s_high_priorityclasgpage" class="srgfp_epageo/a>/*oa hrgfp_eclasepage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,oL286">/28 ne" class="sref">i unsigned int/oa href="+code=,der" class="sref">ordero/a>2274227mclass="line"e" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+cod,oenumos="sref">bad_paef="_typ"pageo/a>/*oa href="_typ"clasepage" class="srhigh_ef="idxgned int/oa hrehigh_ef="idxode=,der" class="sref">ordero/a>2271227 class="line" class="sref">insremask_epageo/a>/*oa hrnsremask_e+code=page" class="srnsremaskpageo/a>/*oa hrnsremask+cod,oe" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="srp" cerred_ef="pageo/a>/*oa hrp" cerred_ef="+cod,der" class="sref">ordero/a>2272227 class="line"ine" class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"+codo/* remove PageBuddy */o/spa22732273clasclass="sref">nr_unshow3o/a>)22742274class="line"e" class="sref">bad_papBudgned int/oa hrepag"+cod *s="sref">bad_papBudgned int/oa hrepag"+codrder" class="sref">ordero/a>2275227 clasder" class="sref">ordero/a>2276227 class="line"do class="sref">nr_unshow3o/a>)2277227 class="line" nam bad_papBudgned int/oa hrepag"+cod = s="sref">bad_paget_eBuddfrom_ree_lisepageo/a>/*oa hrget_eBuddfrom_ree_liseclasgpage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,o class="sref">insremaskpageo/a>/*oa hrnsremask+cod," class="sref">i unsigned int/oa href="+code=,der" class="sref">ordero/a>2278227 class="line" nam
                                                                                                                                                                                        /*oa href="lise+cod,o class="sref">ihigh_ef="idxgned int/oa hrehigh_ef="idxode=,o class="sref">iALLOC_NO_WATERMARKSpageo/a>/*oa hrALLOC_NO_WATERMARKSode=,der" class="sref">ordero/a>2279227 class="line" nam imigratetyp"pageo/a>/*oa hrmigratetyp"+codorder" class="sref">ordero/a>2284228mclas/* remove PageBuddy */o/spa2281228 class="line" nam
                                                                                                                                                                                          bad_papBudgned int/oa hrepag"+cod &r&ropage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_NOFAILpageo/a>/*oa hr__GFP_NOFAIL+codo/* remove PageBuddy */o/spa2282228 class="line" nam iwait_iffdconf"sted if (oa href="wait_iffdconf"stedclasgpage" class="srp" cerred_ef="pageo/a>/*oa hrp" cerred_ef="+cod,o class="sref">iBLK_RW_ASYNC"ageo/a>/*oa hrBLK_RW_ASYNC+cod,o class="sref">iHZ"ageo/a>/*oa hrHZ+cod/50order" class="sref">ordero/a>2283228 class="line"} whileam!s="sref">bad_papBudgned int/oa hrepag"+cod &r&rom" class="sref">gfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_NOFAILpageo/a>/*oa hr__GFP_NOFAIL+codoorder" class="sref">ordero/a>22842284clas/* remove PageBuddy */o/spa22852285class="line" nam < class="sref">ipBudgned int/oa hrepag"+codrder" class="sref">ordero/a>228622" clas nam /292o/a> 22"7228 class="line" nam /317o/22"8228 class="line class="sref">iinloc.c#geo/a>/*oa hrinloc.class="line" nam /317o/22"922"9clasvoidL class="sref">iwak317">_kswapd if (oa href="wak317">_kswapdclasgL286">/28 ne" class="sref">i unsigned int/oa href="+code=,"e" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+cod,s="line" nam /317o/2294229mclass="line" nam bad_paef="_typ"pageo/a>/*oa href="_typ"clasepage" class="srhigh_ef="idxgned int/oa hrehigh_ef="idxode=,der" class="sref">ordero/a>2291229 class="line" nam bad_paef="_typ"pageo/a>/*oa href="_typ"clasepage" class="srgeo/aef="_idxgned int/oa hregeo/aef="_idx+codo/* remove PageBuddy */o/spa22922292clasclass="sref">nr_unshow3o/a>)22"3229 class="line"e" class="sref">bad_paef="a hrageo/a>/*oa href="oa +code=page" class="srerageo/a>/*oa hre+codrder" class="sref">ordero/a>22942294class="line"e" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="sref="pageo/a>/*oa href="+codrder" class="sref">ordero/a>2295229 clasder" class="sref">ordero/a>22962296class="line"s="sref">bad_pafor_each_ef="_ef="lisepageo/a>/*oa hrfor_each_ef="_ef="liseclasgpage" class="sref="pageo/a>/*oa href="+cod,"page" class="srerageo/a>/*oa hre+cod,"page" class="sref="lisepageo/a>/*oa href="lise+cod,o class="sref">ihigh_ef="idxgned int/oa hrehigh_ef="idxode=o/* remove PageBuddy */o/spa2297229 class="line" nam bad_pawak3up_kswapd if (oa href="wak3up_kswapdclasgpage" class="sref="pageo/a>/*oa href="+cod,"page" class="sr unsigned int/oa href="+code=,"page" class="srgeo/aef="_idxgned int/oa hregeo/aef="_idx+codorder" class="sref">ordero/a>2298229 clas nam /292o/a> 2299229 clasder" class="sref">ordero/a>23{423{4class="line class="sref">iinloc.c#geo/a>/*oa hrinloc.classints="line" nam /317o/23{123{ claspage" class="srgfp_eo_1">/2dflagaef="+code=resetgfp_eo_1">/2dflagaclasgpage" class="srgfp_epageo/a>/*oa hrgfp_eclasepage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=o/* remove PageBuddy */o/spa23{22302clasclass="sref">nr_unshow3o/a>)23{3230 class="line" ne" class="sref">i1">/2dflagaef="+code=reset1">/2dflagaclas = s="sref">bad_paALLOC_WMARK_MINpageo/a>/*oa hrALLOC_WMARK_MINclas | s="sref">bad_paALLOC_CPUSETpageo/a>/*oa hrALLOC_CPUSET+codrder" class="sref">ordero/a>23{42304class="line"lonse" class="sref">igfp_epageo/a>/*oa hrgfp_eclasepage" class="srwait if (oa href="wait+cod = s="sref">bad_pagfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_WAITpageo/a>/*oa hr__GFP_WAIT+codrder" class="sref">ordero/a>23{5230 clasder" class="sref">ordero/a>23{62306class="line"s="line" nam //*a__GFP_HIGHLisL naum/28to be the s296L n ALLOC_HIGHLno sav6L branch.3*omment">/* remove PageBuddy */o/spa23{72307class="line"s="sref">bad_paBUILD_BUG_ONpageo/a>/*oa hrBUILD_BUG_ONclasgpage" class="sr__GFP_HIGHpageo/a>/*oa hr__GFP_HIGHclass!=om" class="sref">__forc.c#geo/a>/*oa hr__forc.clasepage" class="srgfp_epageo/a>/*oa hrgfp_eclas) s="sref">bad_paALLOC_HIGHpageo/a>/*oa hrALLOC_HIGH+codorder" class="sref">ordero/a>23{8230 clas/* remove PageBuddy */o/spa23{92309class="line"s="line" nam //*mment">/* remove PageBuddy */o/spa2314231mclass="line" nam /3 *aTd Lcy *er may dip"ineo eBud reserv"s a bit more nathe cy *ermment">/* remove PageBuddy */o/spa2311231 class="line" nam /3 *acannot3run direlt rellaim, or nathe cy *er hasLrealti96Lschedulocgmment">/* remove PageBuddy */o/spa2312231 class="line" nam /LLLLLLLLL* policy or sL nkiparfor __GFP_HIGHLmemory. GFP_ATOMIC requests willclent">/* remove PageBuddy */o/spa2313231 class="line" nam /LLLLLLLLL* set both ALLOC_HARDER (!wait) andLALLOC_HIGHL(__GFP_HIGH). * point ng/at the head page.o/spa2314231 class="line" nam /3 *omment">/* remove PageBuddy */o/spa23"52315class="line"s="sref">bad_pa1">/2dflagaef="+code=reset1">/2dflagaclas |=om" class="sref">__forc.c#geo/a>/*oa hr__forc.claseine)om" class="sref">gfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_HIGHpageo/a>/*oa hr__GFP_HIGHclasorder" class="sref">ordero/a>23"62316clas/* remove PageBuddy */o/spa23"72317class="line" nam!s="sref">bad_pawait if (oa href="wait+codo class="sref">nr_unshow3o/a>)23"8231 class="line" nam //*mment">/* remove PageBuddy */o/spa23"9231 class="line" nam /3 * Not3worth tryipareo how3oate ha="+crformment">/* remove PageBuddy */o/spa2324232mclass="line" nam /3 * __GFP_NOMEMALLOC ev32" nait can'tLschedule. * point ng/at the head page.o/spa2321232 class="line" nam /3 *omment">/* remove PageBuddy */o/spa2322232 class="line" nam
                                                                                                                                                                                            gfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_NOMEMALLOC"ageo/a>/*oa hr__GFP_NOMEMALLOC+codoo/* remove PageBuddy */o/spa2323232 class="line"""""""""s="line"s="sref">bad_pa1">/2dflagaef="+code=reset1">/2dflagaclas |=os="sref">bad_paALLOC_HARDERpageo/a>/*oa hrALLOC_HARDER+codrder" class="sref">ordero/a>23"42324class="line" nam //*mment">/* remove PageBuddy */o/spa2325232 class="line" nam /3 * Ignore cpusetL naGFP_ATOMIC (!wait) rather than fail how3o. * point ng/at the head page.o/spa2326232 class="line" nam /3 * See hoso cpuset_ef="_age.wed() 232 class="line" nam /3 *omment">/* remove PageBuddy */o/spa2328232 class="line" nam bad_pa1">/2dflagaef="+code=reset1">/2dflagaclas &r= ~s="sref">bad_paALLOC_CPUSETpageo/a>/*oa hrALLOC_CPUSET+codrder" class="sref">ordero/a>23"9232 class="line"} else"inam" class="sref">unlikelypageo/a>/*oa hrunlikelyclasg" class="sref">rt_taskpageo/a>/*oa hrrt_taskclasg" class="sref">curr32"pageo/a>/*oa hrcurr32"+cod)) &r&ro!s="sref">bad_pain_interrup"pageo/a>/*oa hrin_interrup"clasgoo/* remove PageBuddy */o/spa2334233mclass="line" nam
                                                                                                                                                                                              i1">/2dflagaef="+code=reset1">/2dflagaclas |=os="sref">bad_paALLOC_HARDERpageo/a>/*oa hrALLOC_HARDER+codrder" class="sref">ordero/a>233123" clasder" class="sref">ordero/a>2332233 class="line"inam" class="sref">likelypageo/a>/*oa hrlikelyclasg!m" class="sref">gfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_NOMEMALLOC"ageo/a>/*oa hr__GFP_NOMEMALLOC+codooo class="sref">nr_unshow3o/a>)23"3233 class="line"""""""""inam" class="sref">gfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_MEMALLOC"ageo/a>/*oa hr__GFP_MEMALLOC+codolass="sref">nr_unshow3o/a>)23"42334class="line" nam
                                                                                                                                                                                                i1">/2dflagaef="+code=reset1">/2dflagaclas |=os="sref">bad_paALLOC_NO_WATERMARKSpageo/a>/*oa hrALLOC_NO_WATERMARKSode=rder" class="sref">ordero/a>23352335class="line" nam in_servipa_softirqpageo/a>/*oa hrin_servipa_softirqclasgo &r&rom" class="sref">curr32"pageo/a>/*oa hrcurr32"+cod-nt" class="sref">cuflagaef="+code=resetflagaclaso&r s="sref">bad_paPF_MEMALLOC"ageo/a>/*oa hrPF_MEMALLOCclasoo/* remove PageBuddy */o/spa2336233 class="line" nam
                                                                                                                                                                                                  i1">/2dflagaef="+code=reset1">/2dflagaclas |=os="sref">bad_paALLOC_NO_WATERMARKSpageo/a>/*oa hrALLOC_NO_WATERMARKSode=rder" class="sref">ordero/a>2337233 class="line" nam bad_pain_interrup"pageo/a>/*oa hrin_interrup"clasgo &r&rder" class="sref">ordero/a>2338233 class="line" nam
                                                                                                                                                                                                    curr32"pageo/a>/*oa hrcurr32"+cod-nt" class="sref">cuflagaef="+code=resetflagaclaso&r s="sref">bad_paPF_MEMALLOC"ageo/a>/*oa hrPF_MEMALLOCclaso ||der" class="sref">ordero/a>2339233 class="line" nam iunlikelypageo/a>/*oa hrunlikelyclasg" class="sref">test_tlasaddflagpageo/a>/*oa hrtest_tlasaddflagclasg" class="sref">TIF_MEMDIEpageo/a>/*oa hrTIF_MEMDIE+codoooo/* remove PageBuddy */o/spa2344234mclass="line" nam i1">/2dflagaef="+code=reset1">/2dflagaclas |=os="sref">bad_paALLOC_NO_WATERMARKSpageo/a>/*oa hrALLOC_NO_WATERMARKSode=rder" class="sref">ordero/a>2341234 class="line" nam /292o/a> 2342234 clas#ifdefos="sref">bad_paCONFIG_CMA"ageo/a>/*oa hrCONFIG_CMAode=nam /292o/a> 2343234 class="line"inam" class="sref">a> flaga_eo_migratetyp"pageo/a>/*oa hra> flaga_eo_migratetyp"clasgpage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=o ==os="sref">bad_paMIGRATE_MOVABLEpageo/a>/*oa hrMIGRATE_MOVABLE+codolass="sref">nr_unshow3o/a>)23442344class="line" nam i1">/2dflagaef="+code=reset1">/2dflagaclas |=os="sref">bad_paALLOC_CMA"ageo/a>/*oa hrALLOC_CMAode=rder" class="sref">ordero/a>2345234 clas#endifder" class="sref">ordero/a>23462346class="line" nam < class="sref">i1">/2dflagaef="+code=reset1">/2dflagaclasrder" class="sref">ordero/a>2347234 clas nam /292o/a> 2348234 clas/* remove PageBuddy */o/spa23"9234 class="sref">bad_pabool if (oa href="boolclasepage" class="srgfp_pfmem1">/2dage.wedpageo/a>/*oa hrgfp_pfmem1">/2dage.wedclasgpage" class="srgfp_epageo/a>/*oa hrgfp_eclasepage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=o/* remove PageBuddy */o/spa2354235mclasclass="sref">nr_unshow3o/a>)2351235 class="line" nam < !!m" class="sref">gfp_eo_1">/2dflagaef="+code=resetgfp_eo_1">/2dflagaclasgpage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=o &r s="sref">bad_paALLOC_NO_WATERMARKSpageo/a>/*oa hrALLOC_NO_WATERMARKSode=order" class="sref">ordero/a>2352235 clas nam /292o/a> 2353235 clasnam /292o/a> 2354235 class="line class="sref">iinloc.c#geo/a>/*oa hrinloc.classe" class="sref">bad_papBudgned int/oa hrepag"+cod *der" class="sref">ordero/a>23552355clasclass="sref">cu__1">/2dref"s_slswpath"ageo/a>/*oa hr__1">/2dref"s_slswpathclasgpage" class="srgfp_epageo/a>/*oa hrgfp_eclasepage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,oL286">/28 ne" class="sref">i unsigned int/oa href="+code=,der" class="sref">ordero/a>2356235 class="line"e" class="sref">bad_paef="lisepageo/a>/*oa href="lise+code=page" class="sref="lisepageo/a>/*oa href="lise+cod,oenumos="sref">bad_paef="_typ"pageo/a>/*oa href="_typ"clasepage" class="srhigh_ef="idxgned int/oa hrehigh_ef="idxode=,der" class="sref">ordero/a>23572357class="line"s="sref">bad_pansremask_epageo/a>/*oa hrnsremask_e+code=page" class="srnsremaskpageo/a>/*oa hrnsremask+cod,oe" class="sref">bad_paef="pageo/a>/*oa href="+code=page" class="srp" cerred_ef="pageo/a>/*oa hrp" cerred_ef="+cod,der" class="sref">ordero/a>2358235 class="line"ine" class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"+codo/* remove PageBuddy */o/spa2359235 clasclass="sref">nr_unshow3o/a>)2364236mclass="line"lonse" class="sref">igfp_epageo/a>/*oa hrgfp_eclasepage" class="srwait if (oa href="wait+cod = s="sref">bad_pagfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_WAITpageo/a>/*oa hr__GFP_WAIT+codrder" class="sref">ordero/a>2361236 class="line"e" class="sref">bad_papBudgned int/oa hrepag"+cod *s="sref">bad_papBudgned int/oa hrepag"+code=o class="sref">iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>2362236 class="line"ine" class="sref">i1">/2dflagaef="+code=reset1">/2dflagaclasrder" class="sref">ordero/a>2363236 class="line"L286">/28lopars="sref">bad_papBuds_rellaimedgned int/oa hrepag"s_rellaimed+code=o0rder" class="sref">ordero/a>23642364class="line"L286">/28lopars="sref">bad_padid_some_progresspageo/a>/*oa hrdid_some_progressode=rder" class="sref">ordero/a>23652365class="line"s="sref">bad_pabool if (oa href="boolclasepage" class="srsync_migrationpageo/a>/*oa hrsync_migration+code=o class="sref">ifals.c#geo/a>/*oa hrfals.+codrder" class="sref">ordero/a>23662366class="line"s="sref">bad_pabool if (oa href="boolclasepage" class="srd cerred_compaction if (oa href="d cerred_compaction+code=o class="sref">ifals.c#geo/a>/*oa hrfals.+codrder" class="sref">ordero/a>23672367class="line"s="sref">bad_pabool if (oa href="boolclasepage" class="srcontended_compaction if (oa href="contended_compaction+code=o class="sref">ifals.c#geo/a>/*oa hrfals.+codrder" class="sref">ordero/a>2368236 clas/* remove PageBuddy */o/spa23692369class="line"s="line" nam //*mment">/* remove PageBuddy */o/spa2374237mclass="line" nam /3 *aIn the slswpath,Lwe sanity check f="+creo hvoidLev+creryipareomment">/* remove PageBuddy */o/spa2371237 class="line" nam /3 *arellaim nt" = MAX_ORDER areas which will nev+crsucceed. Cy *ers maymment">/* remove PageBuddy */o/spa2372237 class="line" nam /LLLLLLLLL* be usiparhow3oators in f="+crof p" cerence for hn area thatLismment">/* remove PageBuddy */o/spa2373237 class="line" nam /LLLLLLLLL* too large. * point ng/at the head page.o/spa2374237 class="line" nam /3 *omment">/* remove PageBuddy */o/spa23752375class="line" nam class="sref">i unsigned int/oa href="+code= nt" = s="sref">bad_paMAX_ORDERpageo/a>/*oa hrMAX_ORDERode=o class="sref">nr_unshow3o/a>)2376237 class="line" nam bad_paWARN_ON_ONCEpageo/a>/*oa hrWARN_ON_ONCEclasg!m" class="sref">gfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_NOWARN"ageo/a>/*oa hr__GFP_NOWARN+codoorder" class="sref">ordero/a>2377237 class="line" nam
                                                                                                                                                                                                      iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>2378237 class="line" nam /292o/a> 2379237 clasder" class="sref">ordero/a>23842380class="line"s="line" nam //*mment">/* remove PageBuddy */o/spa2381238 class="line" nam /3 *aGFP_THISNODE (meanipar__GFP_THISNODE, __GFP_NORETRY andmment">/* remove PageBuddy */o/spa2382238 class="line" nam /LLLLLLLLL* __GFP_NOWARN set) should not3caus.arellaim sipce the subsystemmment">/* remove PageBuddy */o/spa2383238 class="line" nam /LLLLLLLLL* (f.e. slab) usiparGFP_THISNODE may choos.aeo trigg+crrellaimclent">/* remove PageBuddy */o/spa2384238 class="line" nam /3 * usiparh larger set of nsres after it hasLestablish/28thatLtheclent">/* remove PageBuddy */o/spa2385238 class="line" nam /3 * age.wed per nsre queu"s are empty andLthatLnsres areclent">/* remove PageBuddy */o/spa2386238 class="line" nam /3 * over how3oated.clent">/* remove PageBuddy */o/spa2387238 class="line" nam /3 *omment">/* remove PageBuddy */o/spa23"82388class="line"inam" class="sref">IS_ENABLED"ageo/a>/*oa hrIS_ENABLEDclasgpage" class="srCONFIG_NUMA"ageo/a>/*oa hrCONFIG_NUMAode=) &r&rder" class="sref">ordero/a>23"9238 class="line" nam gfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_paGFP_THISNODEpageo/a>/*oa hrGFP_THISNODEode=o ==os="sref">bad_paGFP_THISNODEpageo/a>/*oa hrGFP_THISNODEode=oder" class="sref">ordero/a>2394239mclass="line" nam inopBudgned int/oa hrenopBud+codrder" class="sref">ordero/a>2391239 clasder" class="sref">ordero/a>23922392clas class="sref">irestart if (oa href="restartclas:der" class="sref">ordero/a>23"3239 class="line"inam!m" class="sref">gfp_maskpageo/a>/*oa hrgfp_maskode=o&ros="sref">bad_pa__GFP_NO_KSWAPD"ageo/a>/*oa hr__GFP_NO_KSWAPD+codooder" class="sref">ordero/a>23"42394class="line" nam iwak317">_kswapd if (oa href="wak317">_kswapdclasg class="sref">i unsigned int/oa href="+code=,Lpage" class="sref="lisepageo/a>/*oa href="lise+cod,o class="sref">ihigh_ef="idxgned int/oa hrehigh_ef="idxode=,der" class="sref">ordero/a>23"52395class="line" nam bad_paef="_idxgned int/oa hreef="_idx+codgpage" class="srp" cerred_ef="pageo/a>/*oa hrp" cerred_ef="+codoorder" class="sref">ordero/a>23962396clas/* remove PageBuddy */o/spa2397239 class="line"s="line" nam //*mment">/* remove PageBuddy */o/spa2398239 class="line" nam /3 * OK,Lwe're belsw the kswapd watermark andLhav6Lkicked backgroundmment">/* remove PageBuddy */o/spa2399239 class="line" nam /3 *arellaim. Nsw thipas get more complex, so set up 1">/2dflaga acct/oocgmment">/* remove PageBuddy */o/spa243{4/*oa hrcurr32"+cef">be_NOFAIL+codo/* remove PageBuddy ** remref">imigratetyp"pageo/a>5 remref">ikher ntemrepro/* redy */o/spa243{4/*oa hrc1rr32"+cef"3"mm>239 clasder" class=4"srgf40">/3 *aGFP_THISNODE (meanipar_ddy */o/spa23"82302clasclass="sref4>nr_u40"sref">i1">/2gaef="+code=reset1">/2dflagaclas |=os="sref">bad_paALLOC_kpageo/a>/*oa hrgfp_mresetgfp_eo_1">/2dflagaclasgpage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=o &r s="sref">bad_paALo/a>2396230 class="line" ne4 clas40> 23542304class="line"lon4e" cl4ss="sref">igfpmment">/* remove PageBuddy */o/spa2398230 clasder" class=4sref"40">/3 * age.wed per nsre queu"s Fi/* ret">rue " class="mmentstLisL n+cent">/* ris un_epagf">itr bddy */o/spa23722306class="line"s="4ine" 40">/3 * over how3oated.clent">/*the hesedy */o/spa243{4/*oa hrc7c#L296" 423"mm>239 class="line"s="4ref">40">/3 *omment">/* remove PageBuddy */o/spa23"8230 clas/* remove P4geBud40="sref">IS_ENABLEkpageo/a>/*oa hrget1">/2dflagaclas &r= ~s="sref">bad_paALLOC_USETpageo/a>/*oa hrALLOC_CPUSET+codrder" class="sref">orderad_pain_interrup"pageo/a>/*oasremask+codorder" class="sref">orderspa23"8239 class="line" na4ine" 40ref">bad_pa__GFP_MEMAo/a>/*oa hrfals.2clasclass="sref4>nrtgeo/a>/liseclasgpage" class="sr>nrtgeo/a>/liseclashrgfp_maskode=o &ss="sref">ihigh_ef="idxgned int/oa hrehigh_ef="idxode=,o class="sref">iALLOC_NO_WATERMARKSpageo/a>/*oa hrALLOC_Nref">ordero/a>2378/3 4 *aT41LLLLLLLLLLLLenumos="sref">bad_paef="_typ"page>/*oa hrp" cerred_ef="+codoorder" class="sref">ordero/a>2396231 class=4line" nam /3 4 *ac41ef23"mm/page_alloc.c#L292" i23"mm4231 class=4line" nam /LLLLLL4LL* p41"restartclas:der" clasbalans="sref">gfp_maskasbalans=ef23"mm/page_alloc.c#L293" i23"mm4231 class=4line" nam /LLLLLL4LL* s413">/* remove PageBuddy */o/spa2398/3 4 *om41href="boolclasepage" class="f">iNULLpageo/a>/*oa hrNULL+codrder" class="seBuddfrom_ree_liseclasgpage" class="srgfp_maskpageo/a>/*oa hrgfp_maskode=,o class="sref">insremaskpageo/a>/*oa hrnsremask+cod," class="sref">i unsigned int/oa href="+code=,der" class="sref">ordero/a>2278ihigh_ef="idxgned int/oa hmm/page_alloc.c#L297" i23{mm4230 clasderline"s="sref">bad_pa1">/24flaga41LLLLLLLLLLLLs="sref">bad_paefehigh_ef="idxode=,o class="sref">iALLOC_NO_WATERMARKSpageo/a>/*oa hrALLOC_N &r= ~s="sref">bad_paALLOC_USETpageo/a>/*oa ha>/*oa hrALLOC_NO_WATERMARKSode=,der" class="sref">ordero/a>22"9i1">/2dflagaef="+code=reset1">/2dflagaclas="+cod,o class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"+codorder" class="sref">ordero/a>2284bad_pa4ait 4f (oa href="wait+csepage" class="f">iNULLpageo/a>/*oa hrNULL"mm/page_all4c9c#L298" 423"mm>231 class=4line" nam //*mment">/* remove nopBud+codrder" clasnop_pass="sref">TIF_Mnop_paef23"mm/page_alloc.c#L291" i23"mm4231 class=4line" nam /3 4 41ef23"mm/page_alloc.c#L280" i23"mm4232mclass=4line" nam /3 4 42t">/* remove PageBuddy */o/spa2381/t">/* refalsxtatLnsrs/3 4 421(oa href="wait+csepage" class=" &r= ~s="sref">bad_paALLOC_USETpageo/a>/*oa hrALLOC_CPUSET+codrderRMARKSode=order" class="sref">ordero/a>2352gfp_maskpageo/a>/*oPageBuddy */o/spa2398232 class=4line"""""""""s="line"s="s4ef">b42e. slab) usiparGFP_THISNODE may chooooooooooher than mem. GFie>/t">">ordero/a>2352itr bdd_WAT /*oa hrguddy */eeBuda h/3 4 4 * Ignore cpusetL naGFP_ATOMIC (!wait) ratheepagf">itremove 383/ef22"mm/page_alloc.c#L266" i22"mm42316clas/*4line" nam /3 4 4 * See hoso cpuset_ef="_age.wed() /3 4 42p_kswapd if (oa href="wak3up_kswapd" class="sref="lisepageo/a>/*oa hrefcodrder" class="st/oa/liseclasgpage" class="st/oa/liseclashrgfp_maskode=,o clanuma_t/oa/is="sref">i unsignuma_t/oa/ishrgfp)hrmigratetyp"+codr s="sref">bad_paALo/a>2396232 class=4line" nam bad4pa1">42ef23"mm/page_alloc.c#L269" i23"mm4232 class=4line"} else"inam" class="4ref">42MEMAo/a>/*oa hrfals.2clasclass="sreff">iNULLpageo/a>/*oa hrNULL+codrder" class="se__1">/2dref"s_high_priorityclasgpage" class="srgfp_epageo/a>/*oa hrgfp_eclasepage" class="srsref">insremaskpageo/a>/*oa hrnsremask+cod," cla"sref">ordero/a>235642dflagaef="+code=resetapd if (oa href="wak3up_kswapd" class="sref="lisepageo/a>/*oa hrehrehigh_ef="idxode=,o class="sref">iALLOC_NO_WATERMARKSpageo/a>/*oa hrALLOC_Nss="sref">i unsigned int/oa href="+cmm/page_alloc.c#L256" i23"mm4232 class=4" class="sref">ordero/a>2432bad_paef="_1">/2dflagaclas="+cod,o class="sref">imigratetyp"pageo/a>/*oa hrmigratetyp"+codorder" class="sref">ordero/a>2284l4kelyp43">gfp_maskpageo/a>/*oa hcsepage" class="f">iNULLpageo/a>/*oa hrNULL"3"mm/page_alloc.c#L276" i23"mm4233 class=4line"""""""""inam" class=4sref"4gfp_maskpageo/a>/*oa hhhhhhhhhnopBud+codrder" clasnop_pass="sref">TIF_Mnop_paef23"mm/page_alloc.c#L291" i23"mm42334class=4line" nam
                                                                                                                                                                                                        i1">/2dflagaef="+co"mm/page_alloc.c#L279" i23"mm42335class=4line" nam in_servip"mm/page_alloc.c#L279" i23"mm42316clas/*4line" nam
                                                                                                                                                                                                          /* remove PageBuddy */o/spa2398itrem- redd page.o/sbalans=uddyflaga8 href23{mm/page_alloc.c#L297" i23{mm4233 class=4line" nam
                                                                                                                                                                                                            /*oa hrgeef="wak317">_kswar_unshow3o/a>)23"8iunlikelypnopBud+codrder" class="sref">ordero/a>2391/292o/a4 4 2342bad_paCONFIG4CMA"a44eo/a>/*oa hrlikelyclasg!m" classss="sref">cuflagaef="+code=resetflagaclaso&r s="sref">bad_paPF_MEMALLOC"ageo/a>/*oa hrPF_MEMALLOCclaso ||der" class="sref">ordero/a>2339a4 fl44fp_maskpageo/a>/*oa hnopBud+codrder" class="sref">ordero/a>239144ef22"mm/page_alloc.c#L285" i22"mm4234 clas#e4difder" class="sref">orde4o/a>2445342itremwith noures+cent">/page loopaga8endlessly8 href23{mm/page_alloc.c#L297" i23{mm42316clas/*4line" nam < class="sref"4i1">/4dflagaef="+codikelyclasg!m" classddflagclasg" class="sref">TIF_MEMDIEpageo/a>/*oa hrTIF_MEMDIE+codoooo/* remove PageBuddy */o/spa2344/*oasrp_maskode=o&ros="sref">bad_pa__GFP_NOFAILpageo/a>/*oa hr__GFP_NOFAIL+codoorder" class="sref">ordero/a>2284/292o/a> 4348ordero/a>2391bad_pabool if (oa 4ref="44t">/* remove PageBuddy */o/spa2374nr_unshow3o/a>)4351/*oa h.bit mr>nrt pip"OMIC rynchronous. Subso/spreseef23"mm/page_alloc.c#L270" i23"mm4234 class=4line" nam < !!m" class="s4ef">g45_THISNODE (meanipar__GFP_THISNODE, __GattPage>/* remoti96Lscheduloc8ove 38nchronousseef23"mm/page_alloc.c#L270" i23"mm4234 clas#i4m /292o/a> 4353/292o/a> 2454/* remove Plasclass="sreff">iNULLpageo/a>/*oa hrNULL+codrder" class="se__1">/2dref"sti96Lseo/a>/*oyclasgpage" class="srgfp_epagti96Lseo/a>/*ofp_eclasepage" class="srsref">insremaskpageo/a>/*oa hrnsremask+cod," cla"sref">ordero/a>2356iinloc.4#geo/45">i1">/2dflagaef="+code=resettttttttttttttttt"lise+cod,o class="sref">ihigh_ef="idxgned int/oa hrehigh_ef="idxode=,der" class="sref">ordero/a>23"5cu__1">/2dref"s4slswp45LLLLLLLLLLLLs="sref">bad_paef="_idxgned int/o>/*oa hrALLOC_Nss="sref">i unsigned int/oa href="+cmm/page_alloc.c#L256" i23"mm4235 class=4line"e" class="sref">bad_4aef="45">i1">/2dflagaef="+code=reset="_idxgned int/o>/*oa hrALLOC_N &r= ~s="sref">bad_paALLOC_USETpageo/ahrehigh_ef="idxod="+cod,der" class="sref">ordero/a>2358bad_pansrem4sk_ep45p_kswapd if (oa hrefde=reset="_idxgned int/o>/*oa hrALLOC_Norder" class="sref">ordero/a>2284ifals.c#geo/a>/*oa hrfal"mm/page_alloc.c#L258" i23"mm4233 class=4line"ine" class="sref">im4grate45class="sref">curr32"pageo/a>/*oa hrcuuuuuuuuu>/*oa hrp" cerred_efded_compaction+code=o class="sref">ifals.c#geo/a>/*oa hrfal"mm/page_alloc.c#L258" i23"mm4234 class=4ss="sref">nr_unshow3o/a>)4364iunlikelypageo/a>/*oa hrunluuuuuuu>/*oa hrp" cerred_efd_compaction+code=o class="sref">ifals.c#geo/a>/*oa hrfal"mm/page_alloc.c#L258" i23"mm4236mclass=4line"lonse" class="sref">4gfp_e46LLLLLLLLLLLLenumos="sref">bad_paef="_typ"page>/*oa hrp" cerred_efprogressode=rder" class="sref">ordero/a>2365bad_4apBud461(oa href="wait+csepage" class="f">iNULLpageo/a>/*oa hrNULL"mm/page_all4c9c#L298" 423"mm>236 class=4line"ine" class="sref">i14>/2df46">gfp_maskpageo/a>/*onopBud+codrder" clasnop_pass="sref">TIF_Mnop_paef23"mm/page_alloc.c#L291" i23"mm4236 class=4line"L286">/28lopars="sre4">bad463">/* remove Plasclass="srefon+code=o class="sref">ifals.c#geo/a>/*oa hrfals.+codrder" class=ntstss="sref">TIF_MEtstef23"mm/page_alloc.c#L291" i23"mm4235 class=4line"L286">/28lopars="sre4">bad46ef22"mm/page_alloc.c#L285" i22"mm42365class=4line"s="sref">bad_pabool 4if (o465342bad_pabool 4if (o46r how3oated.clent">/*the hesedy */o/spIfco/a>/*oa hOMICfals.c#gBuddy/a>2-ent">/epagf">itre,ove MICbe* remhref23{mm/page_alloc.c#L297" i23{mm42357class=4line"s="sref">bad_pabool 4if (o46nt">/* remove PageBuddy */o/spa23"8/*oa hO96Ly *ly8/spa */o hvoinathe un_caseuddy */e2311itr */o/sdoesnt">/heavilyltisdero5itr bn3oraga8ti96Lscheduloca href48eo/a>/*oa hrc7c#L296" 423"mm>237mclass=4line" nam /3 4 *aI4 the slswpath,Lwe sanity check f="+cre href23{mm/page_alloc.c#L297" i23{mm4237 class=4line" nam /3 4 *ar471(oa href="wait+ccsepage" class="d_compaction+code=o class="sref">ifals.c#geo/a>/*oa hrfals| hrALLOC_CPUSET+cded_compaction+code=o class="sref">ifals.c#geo/a>/*oa hrfal"9/LLLLLL4LL* b47">gfp_maskpageo/a>/*ooooooooooooooooooooooooooooooooop_maskode=o&ros="sref">bad_pa__GFP_NO_KSWAPD"ageo/a>/*oa hr__GFP_NO_KSWAPD+codooder" class="sref">ordero/a>23"4/LLLLLL4LL* t47fp_maskpageo/a>/*oa hnopBud+codrder" class="sref">ordero/a>2391/3 4 *om47ef22"mm/page_alloc.c#L285" i22"mm42375class=4line" nam class="sref">i 4nsign475342iga8 href23{mm/page_alloc.c#L297" i23{mm4237 class=4line" nam bad4paWAR47href="boolclasepage" class="f">iNULLpageo/a>/*oa hrNULL+codrder" class="se__1">/2dref"sti96Lsehedulocyclasgpage" class="srgfp_epagti96Lse2384insremaskpageo/a>/*oa hrnsremask+cod," cla"sref">ordero/a>2356iNULLpageo/a>/*oa hrrrrrrrrrrrrrrrrrrrrrrrrr"lise+cod,o class="sref">ihigh_ef="idxgned int/oa hrehigh_ef="idxode=,der" class="sref">ordero/a>23"5/292o/a4 47class="sref">curr32"pageo/a>/*oa hrcuuuuuuuuu>/*oa hrALLOC_Nss="sref">i unsigned int/oa href="+cmm/page_alloc.c#L256" i23"mm4237 clasde4" class="sref">ordero/a>2484iunlikelypageo/a>/*oa hrunluuuuuuu>/*oa hrALLOC_N &r= ~s="sref">bad_paALLOC_USETpageo/ahrehigh_ef="idxod="+cod,der" class="sref">ordero/a>2358bad_paef="_typ"page>/*oa hrALLOC_Norder" class="sref">ordero/a>2284/*oa hrp" cerred_efprogressode=rder" class="sref">ordero/a>2365/3 4 *aG481(oa href="wait+csepage" class="f">iNULLpageo/a>/*oa hrNULL"mm/page_all4c9c#L298" 423"mm>238 class=4line" nam /LLLLLL4LL* _48">gfp_maskpageo/a>/*onopBud+codrder" clasnop_pass="sref">TIF_Mnop_paef23"mm/page_alloc.c#L291" i23"mm4238 class=4line" nam /LLLLLL4LL* (48ef23"mm/page_all4c.c#L294" 423{mm>238 class=4line" nam /3 4 * u48t">/* remove PageBuddy */o/spa2398238 class=4line" nam /3 4 * a4e.wed per nsre queu"s are empty andLthaIfcwe8/spa *o/spmak=uddy 365/3 4 * o4er how3oated.clent">/* remove PageBuddyrunnt">/outuoflop>itremo PageBud/sp*/o/it">/got">/OOMhref23"mm/page_alloc.c#L286" i23"mm4237 class=4line" nam /3 4 *om4ent">/* remove PageBuddy */o/spa23"8I4_ENAB4ED"ageo/a>/*oa hrIeef="wak317">_ksprogressode=rder" class="sref">ordero/a>2365gfp_maskpageo/a>/it+ccsepage" class="os="sref">bad_pa__GFP_NO_KSWAPD"ageo/a>/*oa hr__GFP_NO_KSWAPD+cFder" class="srefWAPD+cFd hrefageo/a>/*oasrp_maskode=o&ros="sref">bad_pa__GFP_NOFAILpageo/a>/*oa hr__GFP_NOFAIL+codoorderpa238class="sref">ordero/a>2pa238ref23"3"mm/page_alloc.c#L276" i23"mm4239mclass=4line" nam i unsigoom_ki1239 clasde4" class="sref">ordero/a>2492bad_paef="_nopBud+codrder" class="sref">ordero/a>2391irestart if (4a hre49">gfp_maskpageo/a>/*oooooooooPageBuddy */o/spa2398/*oa hhhhhhhhhit+ccsepage" class="ss="sref">cuflagaef="+code=resetflagaclaso&r s="sref">bad_paPF_MEMALLOC"ageo/a>/*oa hrPF_MEMALLOCclaso |DUMPC2paass="sref">ordero/DUMPC2parfal"9_kswapd if (oa hrrrrrrrrrrrrrrp_maskode=o&ros="sref">bad_pa__GFP_NOFAILpageo/a>/*oa hr__GFP_NOFAIL+codoorder" class="sref">ordero/a>2284bad_paef="_idxgnnopBud+codrder" class="sref">ordero/a>2391i1">/2dflagaef="+code=reset1">/2dflagaclas=">iNULLpageo/a>/*oa hrNULL+codrder" class="se__1">/2dref"smay_oomyclasgpage" class="srgfp_epagmay_oomhr_eclasepage" class="srsref">insremaskpageo/a>/*oa hrnsremask+cod," cla"sref">ordero/a>2356iNULLpageo/a>/*oa hrrrrrrrrrrrrrrrrrrrrrrrrr"lise+cod,o class="sref">ihigh_ef="idxgned int/oa hrehigh_ef="idxode=,der" class="sref">ordero/a>23"5/3 4 * O49class="sref">curr32"pageo/a>/*oa hrcuuuuuuuuu>/*oa hrALLOC_Nss="sref">i unsigned int/oa href="+crehigh_ef="idxod="+cod,der" class="sref">ordero/a>2358/3 4 *ar49ass="sref">iunlikelypageo/a>/*oa hrunluuuuuuu>/*oa hrALLOC_Norder" class="sref">ordero/a>2284i50nopBudgned int/oa hrehref="wait+csepage" class="f">iNULLpageo/a>/*oa hrNULL"mm/page_all4c9c#L298" 423"mm5239 clasde5" class=4"srgf40">/3 5 *aG50""""""""""""enumos="sref">bad_paef="_nopBud+codrder" clasnop_pass="sref">TIF_Mnop_paef23"mm/page_alloc.c#L291" i23"mm52302clascl5ss="sref4>nr_u40"sref">i15>/2ga5f="+comm/page_alloc.c#L291" i23"mm52302clascl5sine"inam!m" class="sref"554/*oa hhhhhhhhhit+crp_maskode=o&ros="sref">bad_pa__GFP_NOFAILpageo/a>/*oa hr__GFP_NOFAIL+codoorder" class="sref">ordero/a>22845gfpmm50">i1">/2dflagaef="+code=resetttttttttPageBuddy */o/spa2398/3 5 * a5e.wed per nsre queu"s Fi/* ret">rue """""""""""""""""""""""""*bit moom ki1/* ll#gBuddy/a>2-ent">href23"mm/page_all4c.c#L295" 423{mm5260 clasde5"emove PageBuddy */o/spa25 * o5er how3oated.clent">/*the hesedy */o/""""""""""""""""""""""""*bepagf">itrem*/o/smove/spa* remiclen 365/* remove PageBuddy */o/spa23"8<""""""""""""""""""""""""*bMICbet">/made, */ere8itremo Pefef23"mm/page_all4c.c#L295" 423{mm5280 clasde5"ine" nam /3 5_ENAB50Lwe're belsw the kswapd watermar""""""""""""""""""""""""*brepa2371/*oa hrc7c#L296" 423"mm5239 class=5line" na4ine" 40ref">bad_5a__GF50laim. Nsw thipas get more complex, s""""""""""""""""""""""""* href23{mm/page_alloc.c#L297" i23{mm5231mclass=5line" nam /3 5 *aT51LLLLLLLLLLLLenumos="sref">bad_paef="_"+code= nt" = s="sref">bad_paMAX_ORDERpageo/a>/*oa hrrPF_MEMALLOCclasoAGE_d_pain_OSTLY="sref">nr_unshow3o/aoAGE_d_pain_OSTLY="srefNULL"mm/page_all4c9c#L298" 423"mm5231 class=5line" nam /3 5 *ac51""""""""""""enumos="sref">bad_paef="_________nopBud+codrder" class="sref">ordero/a>2391/LLLLLL5LL* p51">gfp_maskpageo/a>/*oooooooooooooooooPageBuddy */o/spa2398/LLLLLL5LL* s51e. slab) usiparGFP_THISNODE may choooooooooooooooooooooooooo*bit moom ki1/* ll#gBuddylowma href23"mm/page_alloc.c#L283" i23"mm5231 class=5line" nam /3 5 *om51parh larger set of nsres after it haoooooooooooooooooooooooo*bepagf">itrem*n 36eves needlessly8ki1<4/*oa hrcurr32"+cef">be_5230 clasde5line"s="sref">bad_pa1">/25flaga51.wed per nsre queu"s Fi/* ret">rue """""""""""""""""""""""""*binnoLy * tpag/*oa hrc7c#L296" 423"mm52316clas/*5remove PageBuddy */o/spa25"7/*the hesedy */o/""""""""""""""""""""""""* href23{mm/page_alloc.c#L297" i23{mm5270 clasde5line" nam!s="sref">bad_pa5ait 51>iNULLpageo/a>/*oa hrrrrrrrrrrrrrrrrr"+code= nt" = s="sre=,der" class="sref">ordero/a>23"52pMAlass="sref">ordeZONEa>2pMAlNULL"mm/page_all4c9c#L298" 423"mm5280 clasde5line" nam //*mment">/* remove nopBud+codrder" class="sref">ordero/a>2391/3 5 51ass="sref">iunlikelypageo/a>/"mm/page_alloc.c#L279" i23"mm5232mclass=5line" nam /3 5 52ef22"mm/page_alloc.c#L281" i22"mm5232 class=5line" nam /3 5 52""""""""""""enumos="sref">badnopBud+codrder" clasass="sref">ordero/a>23"3gfp_maskpageo/a>/*o"mm/page_alloc.c#L279" i23"mm5231 class=5line"""""""""s="line"s="s5ef">b52fp_maskpageo/"mm/page_alloc.c#L279" i23"mm5231 class=5line" nam /3 5 525342itr * href23{mm/page_alloc.c#L297" i23{mm52316clas/*5line" nam /3 5 52href="boolclasepage" class="f">i+code=o0rder" class="sref">ordero/a>2364ordero/a>2365/3 5 52 (oa href="wait+csepage" class="temmmes="srgfrepa2s="sref">ifals.cemmmes="srgfrepa2hr_eclasepage" class="srsref">insremaskpageo/a>/*oa hrnsremask+cod," cla"sref">ordero/a>2356ordero/a>2365bad5pa1">52>//*mment">/* remove "boolclasepage" class="f">i+code=o0rder" class="sref">ordero/a>236452MEMAo/a>/*oa hrfals.2cageBuddy */o/spa2398 write /o/spa2sd/sp*/mpletn_*/en_repa22* href23{mm/page_alloc.c#L297" i23{mm5233mclass=5line" nam
                                                                                                                                                                                                              52dflagaef="+code=resetsepage" class="8imigratetyp"pageo/a>/*oa hrmigratetyp"+codBLK_RW_ASYNlass="sref">ordeBLK_RW_ASYNl*oa hrmigratetyp"+codHZass="sref">ordeHZ*oa /502"mm/page_alloc.c#L280" i22"mm5232 class=5" class="sref">ordero/a>2532gfp_maskasbalans=ef23"mm/page_alloc.c#L280" i22"mm5232 class=5line"inam" class="sref">l5kelyp53">gfp_maskpag} else3"mm/page_alloc.c#L276" i23"mm5233 class=5line"""""""""inam" class=5sref"5gfp_maskpageo/a>/*oa hPageBuddy */o/spa2398/epagf">itre do t">/nec hrarilylloop/* remhref23"mm/page_all4c.c#L295" 423{mm5232 class=5line" nam /* ll#gB* remove PageBuo/* lleti96Lslylicleec hrar href23"mm/page_all4c.c#L296" 423{mm5233 class=5line" nam /* remove PageBuddy */o/spa23"8<""""""""* href23{mm/page_alloc.c#L297" i23{mm5232 class=5line" nam
                                                                                                                                                                                                                //*mment">/* remove sepage" class="f">iNULLpageo/a>/*oa hrNULL+codrder" class="se__1">/2dref"sti96Lseo/a>/*oyclasgpage" class="srgfp_epagti96Lseo/a>/*ofp_eclasepage" class="srsref">insremaskpageo/a>/*oa hrnsremask+cod," cla"sref">ordero/a>2356iunlikelyppppppppppppppppppppppppp"lise+cod,o class="sref">ihigh_ef="idxgned int/oa hrehigh_ef="idxode=,der" class="sref">ordero/a>23"5bad_paef="_typ"page>/*oa hrALLOC_Nss="sref">i unsigned int/oa href="+cmm/page_alloc.c#L256" i23"mm5234 class=5line" nam /292o/a5 54""""""""""""enumos="sref">bad_paef="_________>/*oa hrALLOC_N &r= ~s="sref">bad_paALLOC_USETpageo/ahrehigh_ef="idxod="+cod,der" class="sref">ordero/a>2358bad_paCONFIG5CMA"a54">gfp_maskpageo/a>/*ooooooooooooooooooooooooo>/*oa hrALLOC_Norder" class="sref">ordero/a>2284ifals.c#geo/a>/*oa hrfal"mm/page_alloc.c#L258" i23"mm5233 class=5line"inam" class="sref">a5 fl54fp_maskpageo/a>/*oa hhhhhhhhhhhhhhhhhhhhhhhhh>/*oa hrp" cerred_efded_compaction+code=o class="sref">ifals.c#geo/a>/*oa hrfal"mm/page_alloc.c#L258" i23"mm52334class=5line" nam i1">54">i1">/2dflagaef="+code=resettttttttttttttttt>/*oa hrp" cerred_efd_compaction+code=o class="sref">ifals.c#geo/a>/*oa hrfal"mm/page_alloc.c#L258" i23"mm5234 clas#e5difder" class="sref">orde5o/a>254LLLLLLLLLLLLs="sref">bad_paef="_idxgntttttttt>/*oa hrp" cerred_efdrogressode=rder" class="sref">ordero/a>2365/54">i1">/2dflagaef="+coit+csepage" class="f">iNULLpageo/a>/*oa hrNULL"mm/page_all4c9c#L298" 423"mm5233 class=5m /292o/a> 5348TIF_Mnop_paef23"mm/page_alloc.c#L291" i23"mm5233 class=5remove PageBuddy */o/spa25"9bad_pabool if (oa 5ref="54ef23"mm/page_alloc.c#L280" i23"mm5235mclascl5ss="sref">nr_unshow3o/a>)5351ordero/a>2391g552342insremaskpageo/a>/*oa hrnsremask+cod," cla"sref">ordero/a>2356ordero/a>2378/292o/a> 5353gfp_maskpagNULL+codrder" class="sf">iNULLpageo/a>/*oa hrNULL"mm/page_alloc.c#L280" i22"mm5233 class=5 /292o/a> 2554/*d+codrder" clasnop_pass="sref">TIF_Mnop_paef23"mm/page_alloc.c#L293" i23"mm52334class=5line class="sref">iinloc.5#geo/55">i1">/2dflagit+csepage" class="kmem>/* r_enablns="sref">i unsigkmem>/* r_enablnsNULL"mm/page_all4c9c#L298" 423"mm52355clascl5ss="sref">cu__1">/2dref"s5slswp55LLLLLLLLLLLLs="sref">sepage" class="kmem>/* r_9c#L="srgf="srg="sref">i unsigkmem>/* r_9c#L="srgf="srghr_eclasepage" class=">iNULLpageo/a>/*oa hrNULLsremask+cod," cla"sref">ordero/a>2356bad_paALo/a>2396bad_5aef="55ef23"mm/page_alloc.c#L297" i23"mm52357class=5line"s="sref">bad_pansrem5sk_ep55p_kswapd if NULL+codrder" class="sf">iNULLpageo/a>/*oa hrNULL"mm/page_alloc.c#L280" i22"mm5233 class=5line"ine" class="sref">im5grate55class"mm/page_alloc.c#L279" i23"mm5234 class=5ss="sref">nr_unshow3o/a>)53645gfp_e56the slswpath,Lwe sanity chea href23"mm/page_all4c.c#L295" 423{mm5236 class=5line"e" class="sref">bad_5apBud56_THISNODE (meanipar__GFP_THI h nathe un_age.oheartage.ouofl un_a hrd buddy/epagf">ora href48eo/a>/*oa hrc7c#L296" 423"mm5236 class=5line"ine" class="sref">i15>/2df56FP_NOWARN set) should not3ca* href23{mm/page_alloc.c#L297" i23{mm5236 class=5line"L286">/28lopars="sre5">bad563">/*struct sepage" class="f">iNULLpageo/a>/*oa hrNULL+*mm/page_alloc.c#L297" i23{mm52334class=5line"L286">/28lopars="sre5">bad56ef22"drder" class="se__1">/2dref"sss="sref">i unsigned ine__1">/2dref"sss="srefhr_eclasepage" class="srsgpage" class="sr"srsNULL+lasepage" class="srsref">insremaskpageo/a>/*oa hrnsrunsighrd int sepage" class=""sref">ordero/a>2356bad_pabool 5if (o56LLLLLLLLLLLLs="sref">bad_paefstruct sepage" class="" class="sref="lisepageo/a>/*oa href*"lise+cod,o class="sref">ihigh_ef="idxgned int/oa hrehigh_ef="idxodss="srefrsgpage" class="sss="srefrs href*"lise+cod,o cla class="sref">orderspa23"8bad_pabool 5if (o56r how"mm/page_alloc.c#L276" i23"mm52357class=5line"s="sref">bad_pabool 5if (o56p_kswapd if enum="_idx+codgpage" clasclass="sref">ordero clasclasNULL+lasepage" classe=,der" class="sref">ordero/a>23"5/2" class="sref">orde">/2" clhr_eclasepage" class="srsref">insremaskpageo/a>/*oa hrn3"mm/page_all4c.c#L293" 423{mm5236 clas/*5remove PageBuddy */o/spa2569ordero cla href*"lise+cod,o cla="+cod,der" class="sref">ordero/a>2358iNULLpageo/a>/*oa hrNULL+*sepage" class="f">iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>2378/3 5 *aI57LLLLLLLLLLLLeint sepage" class="order" class="sref">ordero/a>2284ordero93" 4ETpagskpaorder" clashr_eclasepage" class="srsref">insremaskpageo/a>/*oa hrn3"mm/page_all4c.c#L293" 423{mm5237 class=5line" nam /3 5 *ar571(oa href="waunsighrd int sepage" class="a243{4_mems_cookiss="sref">orderoa243{4_mems_cookisef23"mm/page_all4c.c#L293" 423{mm5236 class=5line" nam /LLLLLL5LL* b57">gfp_maskpagint sepage" class=" &r= ~s="sref">bad_paALLOC_USETpageo/a+codrder" class="sd_painW2bad_paALd_painW2orderad_pain_interrup""mm/page_all4c.c#L293" 423{mm5236 class=5line" nam /LLLLLL5LL* t57fp_maskpageo/struct sepage" class="mem_c399ordero/em_c399TIF_Mmem>aNULL+codrder" class="sref">ordero/a>2378/3 5 *om57ef22"mm/page_alloc.c#L285" i22"mm52375class=5line" nam class="sref">i 5nsign575342insremaskpageo/a>/*oa hrnt>/*oafp_mresetgfp_eo_1">/285" w58insremaskpageo/a>85" w58bad5paWAR57ef23"mm/page_alloc.c#L297" i23"mm5237 class=5line" nam
                                                                                                                                                                                                                  iNULLpageo/a_mresetgfp_eo_1" ikdesrsracef="srg="sref">i unsig" ikdesrsracef="srghr_eclasepage" class="srsref">insremaskpageo/a>/*oa hrn3"mm/page_all4c.c#L293" 423{mm5236 clas/*5line" nam /292o/a5 57ef23"mm/page_alloc.c#L249" i23"mm5237 clasde5" class="sref">ordero/a>2584iusepage" class="ordht_sleesrifs="sref">ordero/a>ht_sleesrifhr_eclasepage" class="srsref">insremaskpageo/a>/*oa hrn>/*oa hr__GFP_NOFAIL+codoordWAIss="sref">orderaodoordWAIs hrn3"mm/page_all4c.c#L293" 423{mm52380class=5line"s="line" nam /3 5 *aG581(oa href="wait+csepage" class="cemmmes/spa__1">/2drefs="sref">ifals.cemmmes/spa__1">/2drefhr_eclasepage" class="srsref">insremaskpageo/a>/*oa hrnsremask+cod," cla"sref">ordero/a>2356/LLLLLL5LL* _58">gfp_maskpageo/a>/*oNULL+codrder" class="sref">ordero/a>2378/LLLLLL5LL* (58ef23"mm/page_all4c.c#L294" 423{mm5238 class=5line" nam /3 5 * u58t">/* remove PageBuddy */o/spa2398/3 5 * a5e.wed per nsre queu"s are empty andLthaC/* re un_a hrs suitabln_uddyin+c3/a>/*oarefalain at ley t hrefef23"mm/page_all4c.c#L295" 423{mm52386class=5lie" nam /3 4 51">i50nopBudgned int/oa hrehre/a>/*oyclasgpage" class="srgfp_ep cla"sref">ord_uddyfp_ep cla"sref">ord_uddyfp. Ic7c#L2s possi_allline23"msree_aly s="srefr as ass=4ulam < !!m" class="s4ef">g45_THISNODE 5ve PageBud5y */o/spa23"8g45_THISNODE 5v_alloc.c#Lwak317">_ksprogressode=rd5r" cl58ln_epagf">itr */o/sdoesnt">/heavilylt86">/28lopars="sre5">bad563">/*structkpageo/a>/5t+ccsepage" class="os="sr5f">ba5_pa__GFP_NO_KS.cemmmes/spa__1">/29 class=8 class=5line" 9 class=srema>2365s="liLOCWs hrrPF_MEMALLOCclaso |D class="sref">ordero/a>2358332">/LLLLLL5LL* _58">gfp_maskpint/oa hre5ref="wait+csepage" class=5oom_k51ige_all4c.c#L293" 423{mm5238 class=5line" nam /LLLLLL5LL* (58ef23"mm/pag"enumos="s5ef">bad_paef="_nopBud+cod5der" 59/LLLLLL4LL* p41"restartcl5ageo/a>/*o5oooooooPageBuddy */o/spa2598/3 5 * a5e.wed per nso/a>/*oa h5hhhhhhhit+ccsepage" class5"ss="59ooooo*bit moom ki1/* ll#gB* Will nalyne23"msry effhrfewss=55line"KMEMCGref4ass. ora hrefm /3 5 * a5e.wed per nso PageBuddyrrrrrrrrrrrrp_maskode=o&a5pros=59>/epagf">itre do t">/nec hrarilylloo">oerifia243{c#L29(alwayhrenrp_m)23"mm/sm < !!m" class="s4ef">g45_THISNODE 5Ls="sref">5ad_paef="_idxgnnopBud+cod5der" 59uitabln_uddyin+c3/a>/*oarefalain at l86">/28lopars="sre5">bad563">/*structagaef="+co5e=reset1">/2dflagaclas=">5NULLp59f">TIF_MEMDIEpage>2365insmm/pa_geo/_newbad56charlasremask+cod," cla"sref">ordero/a>235623652378/LLLLLL5LL* _58">gfp_maskp/a>/*oa hr5rrrrrrrrrrrrrrrrrrrrrrr"l5se+co5,o class="sref">ihigh_ge_all4c.c#L293" 423{mm5238 class=5line" nam /LLLLLL5LL* (58ef23"mm/pag"_alloc.c#Lgeo/a>/*oa hrcuuuuuuuuu>/5oa hr59ref">ordero/a>2584iunlikelyp5geo/a>/*oa hrunluuuuuuu>/5oa hr5LLOC_Nc.c#L293" 423{mline"_ class8 class=5line" line"_ class="sref">iinloc.5#geo/55">i1">/2df6int/oa hre6ref="wait+csepage" class=6f">iN6LLpageo/a>/*oamems_cookisef23"mm/page_all4c.c#L293" 423{mm5236 class=5line" nam 2356bad_paef="_nopBud+cod6der" 60/LLLLLL4LL* p41"restartcl6e_alloc.c#6291" i23"mm52302clascl5si6e"ina60o358umpsdd p 3{mm5238 class=5line" naallocss=5line" s="sm5239sass=5listatefrics l.c#L l86">/28lopars="sre5">bad563">/*struc6o/a>/*oa h6hhhhhhhit+crp_maskode=o&a6pros=60s.c#geo/a>/*oa hrfals.+codrdloc.cs="lislanuma_t/oa/is="sref">i loc.cs="lislanuma_t/sremask+cod," cla"srder" class="sref">ordero/a>23"5 ? :>ifals.c#geo/a>/*oa hrclass=eo/a>/*=5line=5line"ro/a>2356/*=5line=5line"/2dflagaclas=">6"""""60f">TIF_MEMDIEpage>23652391orderoua/LLLLLL5LL* (58ef23"mm/pa6belsw the 6swapd watermar"""""""""""6"""""60ref">ordero/a>2584orderCONFIG_CMAef">ordero/a>2584bad_paef="_"+code= nt6 = s=6sref">bad_paMA.cemmmes/spa__1">/2rder" clashr_eclasepage" class="srsref">insremaskpageo/a>/*oa hrn3"mm/page_all4c.c#L293" 423{mm5237 class=5line" nam bad_paef="_________no6Bud+c6drder" class="sref">ora+codrder" class="sd_painW2bad_paALd_painW2|order" clasCMA/LLLLLL5LL* (58ef23"mm/pa6ageo/a>/*o6oooooooooooooooPageBuddy 6/o/sp62398/LLLLLL5LL* (58ef23"mm/pa6a/a>/*oa h6SNODE may chooooooooooooo6ooooo613358umpsdd p 3{mm5238 class=5line" naaFoc.c#as/*5line" page_al l86">/28lopars="sre5">bad563">/*struc6 set of ns6es after it haooooooooooo6ooooo614.c#geo/a>/*oa hrfals.+codrdo/a>2378orderfss=bad5623{m623e" cla3"mm/page_all4c.c#L293" 423{mm5237 class=5line" nam alloc.c#L256" i23"mm5232 class=5line" nam rue """"""""""""6"""""61 cerred_efdrogressode=rder" csk+cod," cla"srder" class="sref">ordero/a>23"5ordero/a>2358/*oa hrNULL+codrder" class="se__1">/2dreall4c.c#L293" 423{mm5234 class=5line"s="line" ef22"mm/page_alloc.c#L280" i22"mm4233 class=4line"inam" class="sref">l4kelyp43">gfp_mask6/a>/*oa hr6rrrrrrrrrrrrrrr"+code= nt6 = s=61ef">ifals.cemmmes="srgfrepa2hr_e9 class=8 class=5line" 9 class=srema>2365/292o am ora hrfals.+codrdo/a>2378ordero/a>2356/"mm/page_alloc.c#L679" i63"mm5232mclass=5line" nam ordero/a>23"5/292o/a5 54""""""""""6e_alloc.c#6281" i22"mm5232 class=5li6e" na62LOC_Nss="sref">i unsigned int/oa hrefss="se__1">/2dreall4c.c#L293" 423{mm5234 class=5line"s="line" ef22"mm/page_alloc.c#L280" i22"mm4233 class=4line"inam" class="sref">l4kelyp43">gfp_mask6"enumos="s6ef">badnopBud+codrder" cl6sass=62/LLLLLL4LL* p41"restartcl6ageo/a>/*o6mm/page_alloc.c#L279" i236mm5236 class=5line""22"mm/page_allo/a>/*omm_* p41"rest22"mm4233 class/a>/*omm_* p41"restsremask+cod," cla"srro/a>2356bad_paALo/a>2396l4kelyp43">gfp_mask6"/a>/*oa h6alloc.c#L279" i23"mm5231 6lass=62/3 5 * u58t">/* remo6e_alloc.c#6285" i22"mm5232 class=5li6e" na62ine__1">/2dref"sss="ouass="sref">orderouaiinloc.5#geo/55">i1">/2df623PageBudd6 */o/spa2398itr * href23{mm/pa6">/28lopars="sre5">bad563">/*struc6lasepage" 6lass="f">i+code=o0rder" c6ass="62_ep cla"sref">ord_uddyfp_ep cla"sref">Wss=5updline" aemove7c#L2s 5line=5line"class=4lpossi_alllina>/*page_6">/28lopars="sre5">bad563">/*struc6la>/*oa hr6e" class="temmmes="srgfre6a2s="62loc.c#L288" i23"mm42388class=4line"in9par"mm/ef48spa2hren such aeway#L295"an#as/*5line" e_al hrefwhilsm < !!m" class="s4ef">g45_THISNODE 6/* remove 6 "b6olcla62ln_epagf">itr */o/sdoesnt">/heavilylti#L2923{mmpage_all4updliloc.cf ae">g4o/a>/*oa hrc7s abpagelin{mm52m < !!m" class="s4ef">g45_THISNODE 6/ipas get 6ageBuddy */o/spa2398itr bn3oraga8ti9c_alloc.c*4remclass9c_anged du>237mas/*5line" pndoc.cso,5line"e" class="sref">i15>/2df56FP_NOWARN 6code=reset6epage" class="8/3 4 *ar471(oa href=6"enumos="s6opBud+codrder" clasasbala6s="sr63="sref">ifals.cemmmes/spa__1">/29 class=8 class=5line" 9 class=srema>23652356/*o2365/292o am TIF_Mnop_paef23"mm/page_alloc.c#L291" iline"_ class8 class=5line" line"_ class="srss="sref">l4kelyp43">gfp_mask6o/a>/*oa h6ageBuddy */o/spa2398/3 5 * u58t">/* remo6 set of ns6es after it haooooooooheH6>2-en634.c#geo/a>/*oa hrfals.+codrdmm/pa_geo/_4237it6charlass="srsref">insmm/pa_geo/_4237it6charlasremask+cod," cla"srro/a>23562378l4kelyp43">gfp_mask6o3PageBudd6GFP_ATOMIC (!wait) rathet696Lsc6edulocs="sref">l4kelyp43">gfp_mask6oasepage" 6f="_age.wed() /*63eo/a>/*oa hrNge_alloc.c#L280" i22"mm5233 class=5line"ine" class="sref">im5grate55class"mm/p6ve PageBud6y */o/spa23"8<""""""""* h6ef23{6m/pagenshow3o/a>)5364iNULLpag6o/a>/6oa hrNc.c#L280" i22"mEXPORT_SYMBO38 class=5line" EXPORT_SYMBO3sremask+cod," cla"srsrefhr_eclasepage" class="srsgpage" class="sr"srsNULL+lasepage"3ss="sref">l4kelyp43">gfp_mask6oipas get 6ppppppppppppppppppppppp"l6se+co63" class="sref">5gfp_e56the slswpa6Lenumos="s6ef">bad_paef="_typ"page>/6oa hr645" 423{mm5236 class=5line"e" class="sref">bad_5apBud56_THISNODE 6"enumos="s6ef">bad_paef="_________>/6oa hr64.ouofl un_a hrd buddy/epagf">oCdy/e" e" ner funr" cl PageBuddy */o/spa25"7/*o6ooooooooooooooooooooooo>/6oa hr6497" i23{mm5236 class=5line"L286">/28lopars="sre5">bad563">/*struc6o/a>/*oa h6hhhhhhhhhhhhhhhhhhhhhhh>/6oa hr6" cerrorderoa24lo37msk+cod," cla"srsrfss=23e"r"srsNss="srsgpage" clafss=23e"r"srsNsremask+cod," cla"sref">emaskpageo/a>/*oa hrnsrunsighrd int sepage" class=""sref">ordero/a>2356 am 6ad_paef="_idxgntttttttt>/6oa hr6" cerred_efdroge" class="f">iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>2378l4kelyp43">gfp_mask6agaef="+co6t+csepage" class="f">iNUL6pageo64
                                                                                                                                                                                                                    iNULLpage6f (oa href6fffffffnopBud+codrder" cl6snop_6ass="sref">TIF3{mm5236 class=5line"e" class="sref">bad_5apBud56_THISNODE 6"* remove 6alloc.c#L279" i23"mm5234 6lass=64ln_epagf">itr */o/sdoesnt">/heavilyltilafss=23e"r"srsN()Nge_alls as32-bassadd nam,fwhich e_a423{reps=4lnam < !!m" class="s4ef">g45_THISNODE 6e_alloc.c#6280" i23"mm5235mclascl5ss6"sref64 un_epagf">itr bn3oraga8ti9ade5"emm/ m/page< !!m" class="s4ef">g45_THISNODE 6der" class6"sref">ordero/a>2391/3 4 *ar471(oa href=623Pepage" 6lass="8orderaodoordWAIs hrn3"mm/page_all4c.c#L293HIGHMEM8 class=5line" 5line"HIGHMEMordero/a>2532iNULLpage6/a>/*65m" class="sref"554TIF_Mnop_pa6f23"m65s.c#geo/a>/*oa hrfals.+codrdo/a>2378orde"srsNsremask+cod," cla"sref">ordero/a>2356ordero/a>2532i unsigkmem>/* o2365/292oordero/a>25326epage" class="kmem>/* r_96#L="s6gf="srg="sref">i unsigge_allo0>ordero/a>2532/*oa hrNge_allo(orderoa24lo37)oa hrfals.+codrdo/a>_add nam3 class=5m _add namsremask+cod," cla"srro/a>2356ordero/a>2532iNULLpage6/a>/*65/pagenshow3o/a>)5364ordero/a>25325gfp_e56the slswpa6h,Lwe sani6y chea href23"mm/page_all6c.c#L695" 42orderoa24lo37msk+cod," cla"srfss=zeroed" class="srsref">insfss=zeroed" clasremask+cod," cla"sref">emaskpageo/a>/*oa hrnsrunsighrd int sepage" class=""sref">ordero/a>23562532oordWAIss="sref">orderaodoordWAI|3"mm/page_all4c.c#L293ZERO8 class=5line" 5line"ZEROpage_af">ordero/a>2532iNULLpageo/a>/*oa6hrNUL6+*mm/pnshow3o/a>)5364/2dref"sss="sref">i u6signe6 ine__1">/2dref"sss="EXPORT_SYMBO38 class=5line" EXPORT_SYMBO3sremask+cod," cla"srfss=zeroed" class="srsref">insfss=zeroed" clasrem">ordero/a>25326ad_paefstruct sepage" cla6s="" 66dulocs="sref">l4kelyp43">gfp_mask6ge_alloc.c6L276" i23"mm52357class=5l6ne"s=6sref">void3"mm/page_all4c.c#23e"r"srsNss="srsgpage" cla23e"r"srsNsremage" class="f">iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>2378 am or6ero clbad_pabool 5if (o56p_kswapd 6ee_alloc.c6page" class="" cls="sref"6order66s="sref">ordero/a23652356235652MEMAo/a>/*623struct s6page" class="f">iNULLpage6/a>/*66pa__GFP_NO_KSWAPD"ageo/a>loc.c#L256" i23"mm52365class=5line"s="sref"> =se0 am o67LOC_Nss="sref">i unsigned intloc.c#L256" i2323e"rho>/*old" class="srsref">ins23e"rho>/*old" clasremask+cod," cla"srro/a>2356ordero/a>2532or""""ordero/a>2532bad67LOC_Norder" class="sref">orde"mm/page_all4c.c#23e"r"srsN_oass="srsgpage" cla23e"r"srsN_oasremask+cod," cla"srro/a>2356bad_paALo/a>2396ordero/a>2532)5364)53646 class="srsref">insremask6ageo/67dulocs="sref">l4kelyp43">gfp_mask6e_alloc.c#6297" i23"mm5237 class=5li6e" na6
                                                                                                                                                                                                                      ordero/a>2532i unsordero/a>2532void3"mm/page_all4c.23e"r"srsNss="srsgpage" c23e"r"srsNsremaorderoa24lo37msk+cod," cla"sradd er" class="sref"dd ge_aef23"mm/page_alloc.c#L256" i23"mm52365class=5line"s="sref"> am or6ero/a>am" class="5ref">52MEMAo/a>/*6e_alloc.c#6281" i22"mm5238 class=5li6e" na68ref">bad_paMA.cemmmes/spa__1">/2rdd er" class="sref"dd ge_aI!= f"nam" class="5ref">52MEMAo/a>/*6wait+csepa6e" class="cemmmes/spa__1"6/2dre68rder" class="sref">ora+codrder" clasVM_BUG_ON2378/2rdd er" class="sref"dd ge_a)">ordero/a>2532/*o6ULL+codrder" class="sref"6order6/a>2378insvirt_to" clasremaavoid3*)mmes/spa__1">/2rdd er" class="sref"dd ge_a)class="sr s="sref">bad_paALo/a>2396ordero/a>2532)5364)5364l4kelyp43">gfp_mask6 int/oa hr6hre/a>/*oyclasgpage" clas6="srg68
                                                                                                                                                                                                                        ordero/a>25322532_ksprogressode=rd6r" cl68ln_epagf">itr */o/sdoesnt">" class="sref">bad_5apBud56_THISNODE 6kpageo/a>/6t+ccsepage" class="os="sr6f">ba68 un_epagf">itr bn3bad_5apBud56_THISNODE 6int/oa hre6ref="wait+csepage" class=6oom_k69loc.c#L297" i23{mm4237 class* "srsN ps/*5lipagage_55line"KMEMCGPageBuddy */o/spa25"7bad_paef="_nopBud+cod6der" 69.ouofl un_a hrd buddy/epagf">ageBuddy */o/spa25"7/*o6oooooooPageBuddy */o/spa2698rticular mm/pa, embedda243{c#L2ageBuddy */o/spa25"7* correspond237m/28lopars="sre5">bad563">/*struc6o PageBudd6rrrrrrrrrrrrp_maskode=o&a6pros=69>/epagf">itre do t">/nec hra*l4c.c#Lass=n4c.mline" nalynlin{indopagelLass=ss=4lnam l4c.cuserN whine23"mno6">/28lopars="sre5">bad563">/*struc6oe queu"s 6ad_paef="_idxgnnopBud+cod6der" 69uitabln_uddyin+c3/a>/*oarefa16cltee" ns=n316afewsatsoever,c#L2providclassse funr" cl PageBuddy */o/spa25"7/2dflagaclas=">6NULLp69_ep cla"sref">ord_uddyfp_ep >ageBuddy */o/spa25"7s=ssrelieclasPageBuddy */o/spa25"7/*oa hrcuuuuuuuuu>/6oa hr69ln_epagf">itr */o/sdoesnt">/nam /3 4 *ar471(oa href=6iunlikelyp6geo/a>/*oa hrunluuuuuuu>/6oa hr6LLOC_Nvoid3"mm/page_all4c.c#23e"rmm/pa_geo/_"srsNss="srsgpage" cla23e"rmm/pa_geo/_"srsNsremage" class="f">iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero/a>2378 am iN7LLpageam" class="5ref">52MEMAo/a>/*7"enumos="s7ef">bad_paef="_nopBud+cod7der" 70sref"82356bad_paALo/a>2396ordero/a>25322356bad_paALo/a>2396ordero/a>2532)5364i 5nsign575342 am /2dflagaclas=">7"""""70ref">bad_pabool 5if (o56p_kswapd 7"7aef="+co7errrrrrrrrrrrrrrrrrrrrr"l7"""""70ef">ifals.cemmmes="srgfrepa2hr_erdd er" class="sref"dd ge_aI!= f"nam" class="5ref">52MEMAo/a>/*7belsw the 7swapd watermar"""""""""""7"""""70rder" class="sref">ora hrfals.+codrdVM_BUG_ON2378/2rdd er" class="sref"dd ge_a)">ordero/a>2532 write /o/spa2sd/smm/page_all4c.c#23e"rmm/pa_geo/_"srsNss="srsgpage" cla23e"rmm/pa_geo/_"srsNsrema2365insvirt_to" clasremaavoid3*)mmes/spa__1">/2rdd er" class="sref"dd ge_a)class="sr s="sref">bad_paALo/a>2396ordero/a>2532bad_paef="_"+code= nt7 = s=7sref">bad_paMAnshow3o/a>)5364bad_paef="_________no7Bud+c7drder"nshow3o/a>)5364/*oa h7SNODE may chooooooooooooo7ooooo71*mm/paglinc void3*rgf/spa *hr_eclmak50fp_ma_expage" class="srsremak50fp_ma_expagsremaorderoa24lo37msk+cod," cla"sradd er" class="sref"dd ge_aef23"mm/pagass="sr s="sref">bad_paALo/a>2396emaskpageo/a>/*o_ize>esrunsighrd int sepag_izemaskpageo/a>/*o_izeef"> am rue """"""""""""7"""""71 cerred_efdrommes="srgfrepa2hr_erdd er" class="sref"dd ge_a"nam" class="5ref">52MEMAo/a>/*7r6aef="+co7he hesedy */o/"""""""""""7"""""71eo/a>/*oa hrNULL+codrorderoa24lo37msk+cod," cla"srap_ma_enu2378 =msk+cod," cla"sradd er" class="sref"dd ge_a +es="srgfrepa2hr_ePAGE_SIZEer" class="srefPAGE_SIZEge_a <<lass="sr s="sref">bad_paALo/a>2396ordero/a>253223912396 =msk+cod," cla"sradd er" class="sref"dd ge_a +e="srgfrepa2hr_ePAGE_ALIGN2378/*o_izeef"> >ordero/a>2532ordero/a>2584/"mm/page_alloc.c#L779" i73"mm5232mclass=5line" 2365ins_plit" clasrema2365insvirt_to" clasremaavoid3*)mmes/spa__1">/2rdd er" class="sref"dd ge_a)class="sr s="sref">bad_paALo/a>2396ordero/a>2532i unsiwhilsemmmes/spa__1">/29sas_paALo/a>2396 <lass="sr s="srefap_ma_enu2378"nam" class="5ref">52MEMAo/a>/*7"enumos="s7ef">badnopBud+codrder" cl7sass=72LOC_N &r= ~s="sref">bad_pask+cod," cla"sr23e"r"srsss="srsgpage" c23e"r"srssrema23652396">ordero/a>2532orde"mm/page_all4c.9sas_paALo/a>2396 +=msk+cod," cla"srPAGE_SIZEer" class="srefPAGE_SIZEge_a>ordero/a>2532/*oa h7alloc.c#L279" i23"mm5231 7lass=72 cerred_efded_compactnshow3o/a>)5364i unsigkmemnshow3o/a>)5364/2rdd er" class="sref"dd ge_a>ordero/a>2532i+code=o0rder" c7ass="72_ep cnshow3o/a>)5364itr */o/sdoesnt">/*>ageBuddy */o/spa25"7itr bn3o@deraodoo: ine ro/a>s4c.c#L29as/*5line"ageBuddy */o/spa25"7/*oa h7ageBuddy */o/spa2398* ra hrfunr" clref4aimilar to as/*5r"srsN()clexcepgelLass=ssas/*5lipsc#L2ageBuddy */o/spa25"72-en73>/epagf">itre do t">/nec hra*lminimumlnumber of "srsN #o sateffyc#L29requess. oas/*5r"srsN() e_alnalyageBuddy */o/spa25"7/*oarefa16ps/*5lipm39 clas=n3power-of-two "srsNPageBuddy */o/spa25"7/*73_ep cla"sref">ord_uddyfp_ep >ageBuddy */o/spa25"7iNULLpag7o/a>/73ln_epagf">itr */o/sdoesnt">/nageBuddy */o/spa25"7itr bn3bad_paef="_typ"page>/7oa hr745" 423{mm5236 class=5line"e/nam /3 4 *ar471(oa href=7"enumos="s7ef">bad_paef="_________>/7oa hr74.ouofvoid3*rgf/spa *hr_eclss="sr"srsNUexpag2378emaskpageo/a>/*o_ize>esrunsighrd int sepag_izemaskpageo/a>/*o_izeef">m/page_all4c.c#L293" emaskpageo/a>/*oa hrnsrunsighrd int sepage" class=""sref">ordero/a>23562532/*o7ooooooooooooooooooooooo>/7oa hr7497" iam" class="5ref">52MEMAo/a>/*7o/a>/*oa h7hhhhhhhhhhhhhhhhhhhhhhh>/7oa hr74 cerred_efded23"mm/page_alloc.c#L256" i23"mm52365class=5line"s="sref">ll4c.c#L293" 423{mfss="mm52365class=5line"fss="mm52srema2365/*o_izeef"> >ordero/a>2532ordero/a>2532l4kelyp43">gfp_mask7agaef="+co7t+csepage" class="f">iNUL7pageo74eo/a>/*oa hrNsk+cod," cla"sradd er" class="sref"dd ge_a l4c.c#L293" 423{mlafss=23e"r"srsNss="srsgpage" clafss=23e"r"srsNsremask+cod," cla"sref">oordWAIss="sref">orderaodoordWAclass="sr s="sref">bad_paALo/a>2396ordero/a>2532bad_paALo/a>2396/*o_izeef"> >ordero/a>2532nr_unshow3o/a>)5364ordero/a>2532ordero/a>2391/3 5 *aG581(oa href=723Pepage" 7lass="8ageBuddy */o/spa25"7iNULLpage7/a>/*7597" i23{mm5236 class=5line"L2 ap_ma_"srsNUexpag_nid3- ps/*5lipmsreexpag number of "hysi3"mmy-5238iguousageBuddy */o/spa25"7/*oa h7p_pass="sref">TIF_Mnop_pa7f23"m75ooooo*bit moom ki1* "srsN e" p ne"sPageBuddy */o/spa25"7/epagf">itre do t">/nec hra*l@nid:316clss=5line" ne"s IDewssrpm39 clasremask b29ps/*5lipaageBuddy */o/spa25"7/*oarefa16@_ize:316clnumber of bytesgto as/*5lipageBuddy */o/spa25"7ord_uddyfp_ep >o@deraodoo: ine ro/a>s4c.c#L29as/*5line"ageBuddy */o/spa25"7iNULLpage7/a>/*75loc.c#L288" i23"mm42388classaageBuddy */o/spa25"7itr */o/sdoesnt">/n Like ap_ma_"srsNUexpag()clbagelrygto as/*5lip e" ne"s nid3loc.c b24c.e fas/ingageBuddy */o/spa25"7itr bn3g45_THISNODE 7meanipar__7FP_THI h nathe un_age.o7earta76.ouofl un_a hrd buddy/epagf">obageid net expagPageBuddy */o/spa25"7/28lopars="sre5">bad563">/*struc7 sepage" c7ass="f">iNULLpageo/a>/*oa7hrNUL7+*mm/pvoid3*rgf/spa *hr_eclss="sr"srsNUexpag_nid2378emaskpageo/a>/*o_ize>esrunsighrd int sepag_izemaskpageo/a>/*o_izeef">m/page_all4c.c#L293" emaskpageo/a>/*oa hrnsrunsighrd int sepage" class=""sref">ordero/a>23562532/2dref"sss="sref">i u7signe76 cerrbad_pabool 5if (o56p_kswapd 7 s="sref">7ad_paefstruct sepage" cla7s="" 76enrepa22 un_e23"mm/pagass="sr s="sref">bad_paALo/a>2396 >ordero/a>2532/*oa hrNge" class="f">iNULLpageo/a>/*oa hrNULL+codrder" class="sref">ordero>/*oa hrNULL+codef"> =msk+cod," cla"srap_ma_"srsNUne"s2378oordWAIss="sref">orderaodoordWAclass="sr s="sref">bad_paALo/a>2396ordero/a>2532or76ef">ifals.cemmmeso2365/*oa hrNULL+codef">oordero/a>2532orge_all4c.c#L293" 423{mm5238 class=5line" nam /LLLLLL5LL* (58ef23"mm/pa723struct s7page" class="f">iNULLpage7/a>/*76pa__GFP_NO_KSge_alloc.c#L280" i22"mmak50fp_ma_expage" class="srsremak50fp_ma_expagsrema(orderoa24lo37)ss="f">iNULLpageo/a_add nam3 class=5m _add namsremask+cod," cla"srr>/*oa hrNULL+codef">oefass="sr s="sref">bad_paALo/a>2396/*o_izeef"> >ordero/a>2532o77LOC_Nnshow3o/a>)5364ordero/a>2532bad77m" class="sref"554ageBuddy */o/spa25"7/epagf">itre do t">/nec hra*l43e"r"srsN_expag3- re5liepm39 clasps/*5lipagvia ap_ma_"srsNUexpag()ageBuddy */o/spa25"77 class="srsref">insremask7ageo/77uitabln_uddyin+c3/a>/*oarefa16@virt:316clvalueSge_allpagbycap_ma_"srsNUexpagPageBuddy */o/spa25"7ord_uddyfp_ep >o@_ize:3_ize of as/*5line", sasslvalueSas "ssspagto ap_ma_"srsNUexpag()PageBuddy */o/spa25"7itr */o/sdoesnt">/n Re5liepm#L2929 clasps/*5lipagbycalss=vious 3"mmgto ap_ma_"srsNUexpagPageBuddy */o/spa25"7or77 un_epagf">itr bn3/28lopars="sre5">bad563">/*struc7e_alloc.c#7281" i22"mm5238 class=5li7e" na78ref">void3"mm/page_all4c.23e"r"srsN_expage" class="srsre23e"r"srsN_expagsremavoid3*rgf/spa *hr_eclvirtss="srsref">insvirtsrem*oa hrfal"mm/page_ize>emaskpageo/a>/*o_ize>esrunsighrd int sepag_izemaskpageo/a>/*o_izeef">oordero/a>2532/*o7ULL+codrder" class="sref"7order7/a>2378iNULLpagvirtss="srsref">insvirtsrem>ordero/a>2532 =msk+cod," cla"sradd er" class="sref"dd ge_a +esk+cod," cla"srPAGE_ALIGN2378/*o_izeef"> >ordero/a>2532i 5nsign575342/2add er" class="sref"dd ge_a <lass="sr s="srefenu2378"nam" class="5ref">52MEMAo/a>/*7 int/oa hr7hre/a>/*oyclasgpage" clas7="srg78eo/a>/*oa hrNULL+codrsk+cod," cla"sr23e"r"srsss="srsgpage" c23e"r"srssrema2365ordero/a>25322391_ksprogressode=rd7r" cl78rder" class="nshow3o/a>)5364/7t+ccsepage" class="os="sr7f">ba78 un_enshow3o/a>)5364ordero/a>2532bad_paef="_nopBud+cod7der" 79/LLLLLL4LL* p41"restartcl7"geo/a>/*o7oooooooPageBuddy */o/spa2798oordero/a>253252MEMAo/a>/*7o PageBudd7rrrrrrrrrrrrp_maskode=o&a7pros=794cerred_efdedge" class="f">iNULLpag="liine" class=5line" ="liiner" class="sref">orderz" class=5line" =ge_a>ordero/a>2532iNULLpag293" 423{mm5234 cla="line" lass="sref">orderz93" 423{mm5234 cla="line" >ordero/a>2532/2dflagaclas=">7NULLp79
                                                                                                                                                                                                                          iNULLpage7" enum="_i7rrrrrrrrrrrrrrrrrrrrrrr"l7se+co79ss="sref">TIF3{mm5236 class=5line"e" Just pick ="smne"s23_ince fas/back 23"5eid circular *86">/28lopars="sre5">bad563">/*struc7a_alloc.c#7geo/a>/*oa hrcuuuuuuuuu>/7oa hr79rder" class="23"mm/page_alloc.c#L256" i23summaskpageo/a>/*o_umef"> =m0>ordero/a>2532/*oa hrunluuuuuuu>/7oa hr79" class="sref">5gfp_e56the slswpa8int/oa hre8ref="wait+csepage" class=8f">iN800cerred_efdroge" class="f">iNULLpag293" class="sref">ordero/a>23"5orderz93" class="sref">ordero/a>23"5orderne"s_z93" clam ema2365ordero/a>2532bad_paef="_nopBud+cod8der" 80/LLLLLL4LL* p41"restartcl8e_alloc.c#8291" i23"mm52302clascl5si8e"ina80class=5line""22"mm/page_allofor_eacine" n_z93" class="sref">orderfor_eacine" n_z93" clam ema2365ordero/a>23"5onam" class="5ref">52MEMAo/a>/*8e3alloc.c#82hhhhhhit+ccsepage" class8pros=80 cerred_efded_compact23"mm/paglo37msk+cod," cla"sr_izemaskpageo/a>/*o_izeef">l=msk+cod," cla"srz93" 423{mm5234 cla="line" ->sk+cod," cla"srrs=4lnar"srsNss="srsgpage" crs=4lnar"srsNne" >ordero/a>2532l=msk+cod," cla"sr=5linwmarkr"srsNss="srsgpage" c=5linwmarkr"srsNm ema2365ordero/a>2532i unsigmmes="srgfrepa2hr_e_izemaskpageo/a>/*o_izeef">l>msk+cod," cla"sre5"ess="srsgpage" ce5"eef">oordero/a>2532/2dflagaclas=">8"""""80eo/a>/*oa hrNULL+codrder" class="se__1">/2drsummaskpageo/a>/*o_umef"> +=msk+cod," cla"sr_izemaskpageo/a>/*o_izeef">l-msk+cod," cla"sre5"ess="srsgpage" ce5"eef">>ordero/a>2532ifals.cemnshow3o/a>)5364ordero/a>2584/*o_umef">>ordero/a>2532bad_paef="_"+code= nt8 = s=81LOC_Nnshow3o/a>)5364bad_paef="_________no8Bud+c81/LLLLLL4LL* p41"restartcl8"_alloc.c#8oooooooooooooooPageBuddy 8/o/sp8197" i23{mm5236 class=5line"" class="sref">bad_5apBud56_THISNODE 8a/a>/*oa h8SNODE may chooooooooooooo8ooooo81ooooo*bit moom ki1* Amouni of 23e" RAMsps/*5lia_allage_in ZONE_DMA pndoZONE_NORMALclass="sref">bad_5apBud56_THISNODE 8agaef="+co8es after it haooooooooooo8ooooo81>/epagf">itre do t">/nec hra*86">/28lopars="sre5">bad563">/*struc8re queu"s 8i/* ret">rue """"""""""""8"""""81 cerr23"mm/page_alloc.c#L256" i23nr=23e"rbufferr"srsNss="srsgpage" cnr=23e"rbufferr"srsNsremavoidoordero/a>2532bad_pabool 5if (o56p_kswapd 8L7aef="+co8rrrrrrrrrrrrrrr"+code= nt8 = s=81 hrNULL"mm/page_alloc.c#L280" i22"mnr=23e"r="lir"srsNss="srsgpage" cnr=23e"r="lir"srsNsremaa hrfal"mm/pageef">z93" 423{mm5234 claef">z93"sremaa hrfal"mm/pageine"USER8 class=5line" ine"USERef">o)>ordero/a>2532nr_unshow3o/a>)5364/"mm/page_alloc.c#L879" i81LOC_Nc.c#L293" 423{mEXPORT_SYMBO3_GP38 class=5line" EXPORT_SYMBO3_GP3m ema2365ordero/a>2532/3 5 *aG581(oa href=8"enumos="s8ef">badnopBud+codrder" cl8sass=82.ouofl un_a hrd buddy/epagf/*6">/28lopars="sre5">bad563">/*struc8e_alloc.c#8mm/page_alloc.c#L279" i238mm5238297" i23{mm5236 class=5line"L2 Amouni of 23e" RAMsps/*5lia_allage_in "mmgz93"sageBuddy */o/spa25"7/*oa h8alloc.c#L279" i23"mm5231 8lass=82ooooo*bit moom ki1*86">/28lopars="sre5">bad563">/*struc8e_alloc.c#8285" i22"mm5232 class=5li8e" na82">i u23"mm/page_alloc.c#L256" i23nr=23e"rbad5caciir"srsNss="srsgpage" cnr=23e"rbad5caciir"srsNsremavoidoordero/a>2532i+code=o0rder" c8ass="82eo/a>/*oa hrNge_alloc.c#L280" i22"mnr=23e"r="lir"srsNss="srsgpage" cnr=23e"r="lir"srsNsremaa hrfal"mm/pageef">z93" 423{mm5234 claef">z93"sremaa hrfal"mm/pageine"HIGHUSER_MOVABLEer" class="srefine"HIGHUSER_MOVABLEef">o)>ordero/a>2532ordero/a>2584iNULLpag293" 423{mm5234 cla="line" lass="sref">orderz93" 423{mm5234 cla="line" oordero/a>253252MEMAo/a>/*8cenumos="s8opBud+codrder" clasasbala8s="sr83="sref">ifals.cemmmes/spa__1">/2IS_ENABLED 423{mm5234 claIS_ENABLEDsremaa hrfal"mm/pageCONFIG_NUMA 423{mm5234 claCONFIG_NUMAef">o)m" class="5ref">52MEMAo/a>/*8c_alloc.c#8m/page_alloc.c#L276" i23"8m523383">TIF_Mnop_paef23"mm/sk+cod," cla"srrse_adWAIss="sref">orrse_adsremaabit moom ki1ge"ing">"Ne"s %d "6">/28lefass="sr s="srefzer"_to"nid2378ordero/a>2532/*oa h8ageBuddy */o/spa2398)53642-en83class="sref">i 5nsign575342/*o_irmm/=n4csremage" class="f">iNULLpagsys=n4cmaskpageo/a>/*o_ys=n4cne" lass="sref">ordervalss="srsref">insvalne" oordero/a>2532/*83ref">bad_pabool 5if (o56p_kswapd 8ve PageBud8y */o/spa23"8<""""""""* h8ef23{83ss="sref">TIF3s="sref">ordervalss="srsref">insvalne" ->sk+cod," cla"srtotalrammaskpageo/a>/*ototalramef">l=msk+cod," cla"srtotalramr"srsNss="srsgpage" ctotalramr"srsNef">>ordero/a>2532iNULLpag8o/a>/838s="sref">TIF3s="sref">ordervalss="srsref">insvalne" ->sk+cod," cla"srsharedrammaskpageo/a>/*osharedramef"> =m0>ordero/a>2532TIF3s="sref">ordervalss="srsref">insvalne" ->sk+cod," cla"sr23e"rammaskpageo/a>/*o23e"ramef">l=msk+cod," cla"srglobalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365ordero/a>2532bad_paef="_typ"page>/8oa hr840s="sref">TIF3s="sref">ordervalss="srsref">insvalne" ->sk+cod," cla"srbufferrammaskpageo/a>/*obufferramordero/a>2532bad_paef="_________>/8oa hr84sref"8insvalne" ->sk+cod," cla"srtotale5"ess="srsgpage" ctotale5"eef">l=msk+cod," cla"srtotal=5lin"srsNss="srsgpage" ctotal=5lin"srsNef">>ordero/a>2532/*o8ooooooooooooooooooooooo>/8oa hr84class=5line""22"mm/page_allovalss="srsref">insvalne" ->sk+cod," cla"sr23e"e5"ess="srsgpage" c23e"e5"eordero/a>2532/*oa h8hhhhhhhhhhhhhhhhhhhhhhh>/8oa hr84 cerred_efded22"mm/page_allovalss="srsref">insvalne" ->sk+cod," cla"sreo/_unige" class="srsremo/_unigl4kelyp43">gfp_mask8agaef="+co8t+csepage" class="f">iNUL8pageo84
                                                                                                                                                                                                                            /*o_irmm/=n4csremo>ordero/a>25322532nr_u#ifdefmsk+cod," cla"srCONFIG_NUMA 423{mm5234 claCONFIG_NUMAef">ordero/a>2532iNULLpagsys=n4cmaskpageo/a>/*o_ys=n4cne" lass="sref">ordervalss="srsref">insvalne" ,ge_alloc.c#L256" i23nid23782532ordero/a>239152MEMAo/a>/*823Pepage" 8lass="8orderpgdatmaskpageo/a>/*opgdatordero/a>2532iNULLpage8/a>/*85m" class="sref"554/*oa h8p_pass="sref">TIF_Mnop_pa8f23"m85 cerred_efded22"mm/page_allovalss="srsref">insvalne" ->sk+cod," cla"srtotalrammaskpageo/a>/*ototalramef">l=msk+cod," cla"srpgdatmaskpageo/a>/*opgdatordero/a>2532insvalne" ->sk+cod," cla"sr23e"rammaskpageo/a>/*o23e"ramef">l=msk+cod," cla"srne"s_rsrs_agli" 423{mm5234 clane"s_rsrs_agli"m ema2365ordero/a>2532/*oa hrNsk+cod," cla"srvalss="srsref">insvalne" ->sk+cod," cla"srtotale5"ess="srsgpage" ctotale5"eef">l=msk+cod," cla"srpgdatmaskpageo/a>/*opgdat[sk+cod," cla"srZONE_HIGHMEM 423{mm5234 claZONE_HIGHMEMaga>].sk+cod," cla"srrs=4lnar"srsNss="srsgpage" crs=4lnar"srsNne" >ordero/a>2532iNULLpage8/a>/*85ss="sref">TIF3s="sref">ordervalss="srsref">insvalne" ->sk+cod," cla"sr23e"e5"ess="srsgpage" c23e"e5"e/*opgdat[sk+cod," cla"srZONE_HIGHMEM 423{mm5234 claZONE_HIGHMEMaga>],ordero/a>2532orref">TIF3s="sref">orderNR_FREE_PAGES 423{mm5234 claNR_FREE_PAGESsrem)>ordero/a>25322532TIF3s="sref">ordervalss="srsref">insvalne" ->sk+cod," cla"srtotale5"ess="srsgpage" ctotale5"eef">l=m0>ordero/a>2532insvalne" ->sk+cod," cla"sr23e"e5"ess="srsgpage" c23e"e5"eordero/a>25322532/*oa h8ass="f">iNULLpageo/a>/*oa8hrNUL86 cerred_efded22"mm/page_allovalss="srsref">insvalne" ->sk+cod," cla"sreo/_unige" class="srsremo/_unig/2dref"sss="sref">i u8signe86classnshow3o/a>)53648ad_paefstruct sepage" cla8s="" 86enrep#endifordero/a>2532iNULLpage8f enum="_i8x+codgpage" clasclass="sr8f">or86loc.c#L288" i23"mm42388clas/*6">/28lopars="sre5">bad563">/*struc8 * remove 8page" class="" cls="sref"8order86ln_epagf">itr */o/sdoesnt">/n Deter/=neewssthe.c#L29ne"s remask b29displayed or net, depend237monewssthe.6">/28lopars="sre5">bad563">/*struc8 ipas get 8page" class="f">iNULLpage8/a>/*86 un_epagf">itr bn3o875" 423{mm5236 class=5line"e/nam /3 4 *ar471(oa href=8waunsighrd8int sepage" class="a243{48mems_87rder"c.c#L293" 423{mboolss="srsref">insbooliNULLpagskipU23e"rareasUne"s2378ss="srsgpage" c2o/a>ne" ,ge_alloc.c#L256" i23nid23782532bad8797" iam" class="5ref">52MEMAo/a>/*8wsepage" c8page" class="mem_c399insbooliNULLpagrss8 class=5line" regordero/a>2532ordero/a>25328 class="srsref">insremask8ageo/87dulocs="sref">l4kelyp43">gfp_mask8e_alloc.c#8297" i23"mm5237 class=5li8e" na87eo/a>/*oa hrNmmesoask+cod," cla"sr2o/a>ss="srsgpage" c2o/a>ne" &lloc.c#L256" i23SHOW_MEM_FILTER_NODESss="srsgpage" cSHOW_MEM_FILTER_NODESef">o)m" class="5ref">52MEMAo/a>/*8e enum="_i8p_eo_1" ikdesrsracef="srg8"sref87o/a>2391ordero/a>2532ordero/a>2584or879s="sref">TIFdonam" class="5ref">52MEMAo/a>/*8e_alloc.c#8281" i22"mm5238 class=5li8e" na88LOC_Nss="sref">i unsiloc.c#L256" i23cpusetrmm/s_cooki"ss="srsgpage" ccpusetrmm/s_cooki"ge_all4c.c#L293" 423{mfss=mm/s_MEMAwas_paALo/a>2396ordero/a>2532iNULLpagrss8 class=5line" reg2396ordero/a>2532/*o8ULL+codrder" class="sref"8order8/a>23782396ordero/a>25322532ordero/a>25328re empty andLthaC/* re un8a hrs88enrepnshow3o/a>)5364/*oyclasgpage" clas8="srg88
                                                                                                                                                                                                                              iNULLpage8e enum="_i8y */o/spa23"82#def=neec.c#L280" i22"mK8 class=5line" Km ema236552MEMAo/a>/*8v_alloc.c#8wak317">_ksprogressode=rd8r" cl88ref">ordero/a>2584/8t+ccsepage" class="os="sr8f">ba88 un_eaglinc void3"mm/page_all4c.showUmigrline"_typ"s 423{mm5234 clashowUmigrline"_typ"sm ema23"mm/pagrharmsk+cod," cla"srtyp"ss="srsgpage" ctyp"sremoordero/a>253252MEMAo/a>/*8"enumos="s8ef">bad_paef="_nopBud+cod8der" 89LOC_N &r= aglinc constgrharmsk+cod," cla"srtyp"Nss="srsgpage" ctyp"sm em[sk+cod," cla"srMIGRATE_TYPESss="srsgpage" cMIGRATE_TYPESaga>]l=mam" class="5ref">52MEMAo/a>/*8"geo/a>/*o8oooooooPageBuddy */o/spa2898TIF_Mnop_paef23"mm/[sk+cod," cla"srMIGRATE_UNMOVABLEer" class="srefMIGRATE_UNMOVABLEaga>]lllll= abit moom ki1ge"ing">'U'6">/28lem" class="5ref">52MEMAo/a>/*8"_all4c.c#8hhhhhhhit+ccsepage" class8"ss="89 cerred_efded_compact[sk+cod," cla"srMIGRATE_RECLAIMABLEer" class="srefMIGRATE_RECLAIMABLEaga>]lll= abit moom ki1ge"ing">'E'6">/28lem" class="5ref">52MEMAo/a>/*8"_alloc.c#8rrrrrrrrrrrrp_maskode=o&a8pros=894cerred_efded_compact[sk+cod," cla"srMIGRATE_MOVABLEer" class="srefMIGRATE_MOVABLEaga>]lllllll= abit moom ki1ge"ing">'M'6">/28lem" class="5ref">52MEMAo/a>/*8"s="sref">8ad_paef="_idxgnnopBud+cod8der" 89 cerred_efdro_compact[sk+cod," cla"srMIGRATE_RESERVEer" class="srefMIGRATE_RESERVEaga>]lllllll= abit moom ki1ge"ing">'R'6">/28lem" class="5ref">52MEMAo/a>/*8"int/oa hr8e=reset1">/2dflagaclas=">8NULLp89
                                                                                                                                                                                                                                ordero/a>25322391]lllllllllll= abit moom ki1ge"ing">'C'6">/28lem" class="5ref">52MEMAo/a>/*8"_alloc.c#8geo/a>/*oa hrcuuuuuuuuu>/8oa hr89rder"#endifordero/a>2532/*oa hrunluuuuuuu>/8oa hr89"mm5232mclass=5line" [sk+cod," cla"srMIGRATE_ISOLATE 423{mm5234 claMIGRATE_ISOLATEaga>]lllllll= abit moom ki1ge"ing">'I'6">/28lem" class="5ref">52MEMAo/a>/*9int/oa hre9ref="wait+csepage" class=9f">iN900cerred_efdro}>ordero/a>2532bad_paef="_nopBud+cod9der" 90LOC_N &r= rharmsk+cod," cla"srtmr>/*oa hrNULL+cotmrm em[sk+cod," cla"srMIGRATE_TYPESss="srsgpage" cMIGRATE_TYPESaga> + 1]>ordero/a>2532orderp_paALo/a>2396/*oa hrNULL+cotmrm em>ordero/a>2532/*oa hrNULL+coim em>ordero/a>2532i 5nsign575342/*oa hrNULL+coim em <lass="sr s="srefMIGRATE_TYPESss="srsgpage" cMIGRATE_TYPESaga>>lloc.c#L256" i23i>/*oa hrNULL+coim em++onam" class="5ref">52MEMAo/a>/*9"6aef="+co9e=reset1">/2dflagaclas=">9"""""90eo/a>/*oa hrNULL+codr.cemmmes/spa__1">/2typ"ss="srsgpage" ctyp"srem &l(1 <<lass="sr s="srefi>/*oa hrNULL+coim emo)m" class="5ref">52MEMAo/a>/*9"7aef="+co9errrrrrrrrrrrrrrrrrrrrr"l9"""""90o/a>2391orderp_paALo/a>2396/*oa hrNULL+coim em]>ordero/a>25325gfp_e56the slswpa9Lenumos="s9ef">bad_paef="_"+code= nt9 = s=910cerred_efdroass="sref">orderp_paALo/a>2396'\0'6">/28l>ordero/a>2532bad_paef="_________no9Bud+c91sref"8orrse_adsremaabit moom ki1ge"ing">"(%s) "6">/28lefass="sr s="sreftmr>/*oa hrNULL+cotmrm em)>ordero/a>2532)5364/*oa h9SNODE may chooooooooooooo9ooooo91oooooshow3o/a>)5364itre do t">/nec hr/*6">/28lopars="sre5">bad563">/*struc9re queu"s 9i/* ret">rue """"""""""""9"""""91uitabln_uddyin+c3/a>/*oarefa16Show 23e" area 23"5e(9sasde_si"s reift_scroll-"""k aguff)ageBuddy */o/spa25"7ord_uddyfp_ep >oWe4also calculatpm#L29percfp_a 5 23agyfp_line".oWe4doc#L hrby couni237m#L2ageBuddy */o/spa25"7itr */o/sdoesnt">/n Suprs=4ses9ne"sselLassare net ap_mwpagbyccurrlna's cpusetr.cageBuddy */o/spa25"7/"mm/page_alloc.c#L979" i91 un_epagf">itr bn3/3 4 *ar471(oa href=9"enumos="s9ef">badnopBud+codrder" cl9sass=92.ouofvoid3"mm/page_all4c.showU23e"rareas 423{mm5234 clashowU23e"rareasm ema23"mm/page_alloc.c#L256" i23riltad_paALo/a>2396253252MEMAo/a>/*9e/a>/*oa h9alloc.c#L279" i23"mm5231 9lass=92 cerred_efdede_alloc.c#L256" i23cpuss="srsgpage" ccpum em>ordero/a>2532iNULLpag="liss="srsgpage" c="line" lass="sref">orderz93" 423{mm5234 cla="line" >ordero/a>2532l4kelyp43">gfp_mask9e6aef="+co9lass="f">i+code=o0rder" c9ass="92eo/a>/*oa hrNsk+cod," cla"srfor_eacinpopulatpd>z93" 423{mm5234 clafor_eacinpopulatpd>z93"m ema236552MEMAo/a>/*9e7aef="+co9e" class="temmmes="srgfre9a2s="92o/a>239123962532orref">TIF5238inue>ordero/a>2532ordero/a>2532i unsiloc.c#L256" i23pse_adWAIss="sref">orrse_adsremaabit moom ki1ge"ing">"%s9per-cpu:\n"6">/28lefass="sr s="srefzer" 423{mm5234 cla="line" ->sk+cod," cla"srn_if2378ordero/a>2532/LLLLLL4LL* p41"restartcl9c_alloc.c#9m/page_alloc.c#L276" i23"9m523393">TIF_Mnop_paef23"mm/sk+cod," cla"srfor_eacinono/sp_cpuss="srsgpage" cfor_eacinono/sp_cpum ema236552MEMAo/a>/*9c/a>/*oa h9ageBuddy */o/spa2398iNULLpagper_cpur"srsNss8 class=5line" per_cpur"srsNssne" lass="sref">order"srsNss8 class=5line" psrsNssne" >ordero/a>25322-en93class="sref">i 5nsign575342i unsiloc.c#L256" i23psrsNss8 class=5line" psrsNssne" l=msk+cod," cla"srper_cpur"td_paALo/a>2396ordero/a>2532/*93
                                                                                                                                                                                                                                  iNULLpage9ve PageBud9y */o/spa23"8<""""""""* h9ef23{93o/a>2391orrse_adsremaabit moom ki1ge"ing">"CPU %4d: hi:%5d, btch:%4d usd:%4d\n"6">/28leam < clas5="sre5">iNULLpage9velsw the 9epage" class="f">iNULLpag9o/a>/93rder" class="sref">orref">TIF///////loc.c#L256" i23cpuss="srsgpage" ccpum emefass="sr s="srefrsrsNss8 class=5line" psrsNssne" ->sk+cod," cla"srrcp_paALo/a>2396eam < clas5="sre5">iNULLpage9vipas get 9ppppppppppppppppppppppp"l9se+co93"mm5232mclass=5line" compact">i unsiloc.c#L256" i23psrsNss8 class=5line" psrsNssne" ->sk+cod," cla"srrcp_paALo/a>239623962396ordero/a>2532bad_paef="_typ"page>/9oa hr94LOC_Nss="sref">i unsinshow3o/a>)5364bad_paef="_________>/9oa hr94sref"8)5364/9oa hr94m" class="sref"554/*oa h9hhhhhhhhhhhhhhhhhhhhhhh>/9oa hr94 cerred_efded22"mm/page_allopse_adWAIss="sref">orrse_adsremaabit moom ki1ge"ing">"activ50fnon:%lude_activ50fnon:%ludesolatpd>fnon:%lu\n"6">/28lass="sref"554/9oa hr944cerred_efded_compactabit moom ki1ge"ing">" activ50rile:%lude_activ50rile:%ludesolatpd>rile:%lu\n"6">/28lass="sref"554" unevicia_al:%lu"6">/28lass="sref"554iNUL9pageo94eo/a>/*oa hrNULL+codrsbit moom ki1ge"ing">" dirty:%ludwriteback:%ludunsia_al:%lu\n"6">/28lass="sref"5542391" 23e":%ludslab_reoomima_al:%ludslab_unreoomima_al:%lu\n"6">/28lass="sref"554orsbit moom ki1ge"ing">" mapped:%ludshmem:%lud/28lass="sref"554" 23e"_cma:%lu\n"6">/28leam < clas5="sre5">iNULLpage9der" class9"sref">ordero/a>2391i unsiloc.c#L256" i23globalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9denumos="s9lass="8iNULLpagglobalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9d_alloc.c#9der" class="sf">iNULLpage9/a>/*95">TIF_Mnop_paef23"mm/sk+cod," cla"srglobalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9d/a>/*oa h9p_pass="sref">TIF_Mnop_pa9f23"m95 cerred_efded_compactloc.c#L256" i23globalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9d_alloc.c#9e" class="kmem>/* r_enabl9s="sr954cerred_efded_compactas="f">iNULLpagglobalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9de queu"s 9epage" class="kmem>/* r_99#L="s95 cerred_efdro_compactak+cod," cla"srglobalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9d6aef="+co9297" i23"mm52357class=5li9e"s="95eo/a>/*oa hrNULL+codrsk+cod," cla"srglobalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9de PageBud9der" class="sf">iNULLpage9/a>/*95o/a>2391iNULLpage9delsw the 9L279" i23"mm5234 class=5s9="sre95rder" class="sref">orsk+cod," cla"srglobalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9dipas get 9280" i23"mm5236mclass=5li9e"lon95"mm5232mclass=5line" "mm/page_all4c.globalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9h,Lwe sani9y chea href23"mm/page_all9c.c#L96LOC_Nss="sref">i unsiloc.c#L256" i23globalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9henumos="s9FP_THI h nathe un_age.o9earta96LOC_N &r= ~s="srefss="f">iNULLpagglobalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9h_alloc.c#9not3ca* href23{mm/page_al9oc.c#96">TIF_Mnop_paef23"mm/sk+cod," cla"srglobalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9h/a>/*oa h9ass="f">iNULLpageo/a>/*oa9hrNUL96 cerred_efded_compactloc.c#L256" i23globalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9h_alloc.c#9_1">/2dref"sss="sref">i u9signe964cerred_efded_compactas="f">iNULLpagglobalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9he queu"s 9ad_paefstruct sepage" cla9s="" 96 cerred_efdro_compactak+cod," cla"srglobalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9h6aef="+co9L276" i23"mm52357class=5l9ne"s=96eo/a>/*oa hrNULL+codrsk+cod," cla"srglobalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365iNULLpage9he PageBud9x+codgpage" clasclass="sr9f">or96o/a>2391ordero/a>2532ordero/a>2584iNULLpage9/a>/*969s="sref">TIF3s="sref">orderfor_eacinpopulatpd>z93" 423{mm5234 clafor_eacinpopulatpd>z93"m ema236552MEMAo/a>/*9Leint sepa9e" class="order" class="s9ef">o97LOC_Nss="sref">i unsie_alloc.c#L256" i23i>/*oa hrNULL+coim em>ordero/a>2532/LLLLLL4LL* p41"restartcl9LgNULL+cod9e" class=" &r= ~s="sre9">bad97">TIF_Mnop_paef23"mm/mmes="srgfrepa2hr_e_kipU23e"rareasUne"s237823962532ordero/a>2532iNULLpagshowUne"s2378ordero/a>25329 class="srsref">insremask9ageo/97 cerred_efdro_compactak+cod," cla"srpse_adWAIss="sref">orrse_adsremaabit moom ki1ge"ing">"%s"6">/28lass="sref"554/*oa hrNULL+codrder" clasbit moom ki1ge"ing">" 23e":%lukB"6">/28lass="sref"5542391" min:%lukB"6">/28lass="sref"554orref">TIF3bit moom ki1ge"ing">" low:%lukB"6">/28lass="sref"554or97"mm5232mclass=5line" compact"3bit moom ki1ge"ing">" e5"e:%lukB"6">/28lass="sref"554i unsicompact"3bit moom ki1ge"ing">" activ50fnon:%lukB"6">/28lass="sref"554" e_activ50fnon:%lukB"6">/28lass="sref"554TIF_Mnop_paef23"mm/compact"3bit moom ki1ge"ing">" activ50rile:%lukB"6">/28lass="sref"554" e_activ50rile:%lukB"6">/28lass="sref"554" unevicia_al:%lukB"6">/28lass="sref"5549re empty andLthaC/* re un9a hrs98 cerred_efdro_compact">i unsilbit moom ki1ge"ing">" esolatpd(fnon):%lukB"6">/28lass="sref"554/*oyclasgpage" clas9="srg98eo/a>/*oa hrNULL+codrder" clasbit moom ki1ge"ing">" esolatpd(rile):%lukB"6">/28lass="sref"5542391" rs=4lna:%lukB"6">/28lass="sref"554_ksprogressode=rd9r" cl98rder" class="sref">orref">TIF3bit moom ki1ge"ing">" mana 5d:%lukB"6">/28lass="sref"554ba98"mm5232mclass=5line" compact"3bit moom ki1ge"ing">" m"""k5d:%lukB"6">/28lass="sref"554i unsicompact"3bit moom ki1ge"ing">" dirty:%lukB"6">/28lass="sref"554bad_paef="_nopBud+cod9der" 99LOC_N &r= ~s="srefcompact"3bit moom ki1ge"ing">" writeback:%lukB"6">/28lass="sref"554TIF_Mnop_paef23"mm/ref">TIF3bit moom ki1ge"ing">" mapped:%lukB"6">/28lass="sref"554TIF3bit moom ki1ge"ing">" shmem:%lukB"6">/28lass="sref"554TIF3bit moom ki1ge"ing">" slab_reoomima_al:%lukB"6">/28lass="sref"5549ad_paef="_idxgnnopBud+cod9der" 99 cerred_efdro_compactref">TIF3bit moom ki1ge"ing">" slab_unreoomima_al:%lukB"6">/28lass="sref"554/2dflagaclas=">9NULLp99eo/a>/*oa hrNULL+codrder" clasbit moom ki1ge"ing">" kernel_aglck:%lukB"6">/28lass="sref"5542391" /28lass="sref"554/*oa hrcuuuuuuuuu>/9oa hr99rder" class="sref">orref">TIF3bit moom ki1ge"ing">" unsia_al:%lukB"6">/28lass="sref"554/*oa hrunluuuuuuu>/9oa hr99"mm5232mclass=5line" ref">TIF3bit moom ki1ge"ing">" bouncl:%lukB"6">/28lass="sref"554/*oa hrunluuuuuuu>30int>30ino/a>/*oa hrNULL+codrder" clasbit moom ki1ge"ing">" 23e"_cma:%lukB"6">/28las/rs=>ss="sref"554bad_paef="_nopBud+co30if">30iLOC_N &r= ~s="srefcompact"3bit moom ki1ge"ing">" writeback_tmp:%lukB"6">/28lass="sref"55430i">TIF_Mnop_paef23"mm/ref">TIF3bit moom ki1ge"ing">" psrsN_scanned:%lu"6">/28lass="sref"55430i cerred_efded_compactref">TIF3bit moom ki1ge"ing">" fp__unreoomima_al? %s"6">/28lass="sref"55430i4cerred_efded_compactref">TIF3bit moom ki1ge"ing">"\n"6">/28leam < clas5="sre5">iNULLpag30i5t/oa hr30id_paef="_idxgnnopBud+co30id_>30i cerred_efdro_compact">i unsiloc.c#L256" i23zer" 423{mm5234 cla="line" ->sk+cod," cla"srn_if2378iNULLpag30i6t/oa hr30i=reset1">/2dflagaclas="30i=r>30ieo/a>/*oa hrNULL+codrder" clask+cod," cla"srK8 class=5line" Km ema2365iNULLpag30i7t/oa hr30irrrrrrrrrrrrrrrrrrrrrr"30irr>30io/a>2391iNULLpag30i8t/oa hr30ieo/a>/*oa hrcuuuuuuuuu>30ieo>30irder" class="sref">orref">TIF3s="sref">orderK8 class=5line" Km ema2365iNULLpag30i9t/oa hr30ieo/a>/*oa hrunluuuuuuu>30ieo>30i"mm5232mclass=5line" ref">TIF3s="sref">orderK8 class=5line" Km ema2365iNULLpag301nt/oa hr30ef">bad_paef="_"+code= n30ef">30efo/a>/*oa hrNULL+codrder" clask+cod," cla"srK8 class=5line" Km ema2365iNULLpag3011t/oa hr30ef">bad_paef="_________n30ef">30eLOC_N &r= ~s="srefcompact"3k+cod," cla"srK8 class=5line" Km ema2365iNULLpag3012t/oa hr30oooooooooooooooPageBuddy30ooo>30e">TIF_Mnop_paef23"mm/ref">TIF3k+cod," cla"srK8 class=5line" Km ema2365iNULLpag3013t/oa hr30SNODE may choooooooooooo30SNO>30e cerred_efded_compactref">TIF3k+cod," cla"srK8 class=5line" Km ema2365iNULLpag3014t/oa hr30es after it haoooooooooo30es >30e4cerred_efded_compactref">TIF3k+cod," cla"srK8 class=5line" Km ema2365iNULLpag3015t/oa hr30i/* ret">rue """""""""""30i/*>30e cerred_efdro_compact">i unsiloc.c#L256" i23K8 class=5line" Km ema2365iNULLpag3016t/oa hr30he hesedy */o/""""""""""30he >30eeo/a>/*oa hrNULL+codrder" clask+cod," cla"srK8 class=5line" Km ema2365iNULLpag3017t/oa hr30rrrrrrrrrrrrrrr"+code= n30rrr>30eo/a>2391iNULLpag3018t/oa hr30 n30 >30erder" class="sref">orref">TIF3s="sref">orderK8 class=5line" Km ema2365iNULLpag3019t/oa hr30geo/a>/"mm/page_alloc.c#30geo>30e"mm5232mclass=5line" ref">TIF3s="sref">orderK8 class=5line" Km ema2365iNULLpag302nt/oa hr30281" i22"mm5232 class=5l30281>3028mm5232mclass=5line" ref">TIF3s="sref">orderK8 class=5line" Km ema2365iNULLpag3021t/oa hr30ef">badnopBud+codrder" c30ef">302LOC_N &r= ~s="srefcompact"3k+cod," cla"srK8 class=5line" Km ema2365iNULLpag3022t/oa hr30mm/page_alloc.c#L279" i230mm/>302">TIF_Mnop_paef23"mm/ref">TIF3k+cod," cla"srK8 class=5line" Km ema2365iNULLpag3023t/oa hr30alloc.c#L279" i23"mm523130all>302 cerred_efded_compactref">TIF3k+cod," cla"srK8 class=5line" Km ema2365iNULLpag3024t/oa hr30285" i22"mm5232 class=5l30285>3024cerred_efded_compactref">TIF3k+cod," cla"srK8 class=5line" Km ema2365iNULLpag3025t/oa hr30 */o/spa2398302 cerred_efdro_compact">i unsiloc.c#L256" i23K8 class=5line" Km ema2365iNULLpag3026t/oa hr30lass="f">i+code=o0rder" 30las>302eo/a>/*oa hrNULL+codrder" clask+cod," cla"sr="lir"srs_agli" 423{mm5234 cla="lir"srs_agli"m emaloc.c#L256" i23zer" 423{mm5234 cla="line" efass="sr s="srefNR_KERNEL_STACK8 class=5line" NR_KERNEL_STACKsrem) *am < clas5="sre5">iNULLpag3027t/oa hr30e" class="temmmes="srgfr30e" >302o/a>2391iNULLpag3028t/oa hr30 "30 >302rder" class="sref">orref">TIF3s="sref">orderK8 class=5line" Km ema2365iNULLpag3029t/oa hr30ageBuddy */o/spa2398302"mm5232mclass=5line" ref">TIF3s="sref">orderK8 class=5line" Km ema2365iNULLpag303nt/oa hr30epage" class="830epmm5232mclass=5line" ref">TIF3s="sref">orderK8 class=5line" Km ema2365iNULLpag3031t/oa hr30opBud+codrder" clasasbal30opB>30eLOC_N &r= ~s="srefcompact"3k+cod," cla"srK8 class=5line" Km ema2365iNULLpag3032t/oa hr30m/page_alloc.c#L276" i2330m/p>30e">TIF_Mnop_paef23"mm/ref">TIF3k+cod," cla"srK8 class=5line" Km ema2365iNULLpag3033t/oa hr30ageBuddy */o/spa239830e cerred_efded_compactref">TIF3k+cod," cla"srz93" 423{mm5234 cla="line" ->sk+cod," cla"srrsrsN_scannedss="srsgpage" crsrsN_scannedne" eam < clas5="sre5">iNULLpag3034t/oa hr30es after it haoooooooohe30es >30e4cerred_efded_compactref">TIFa2365"yes"6">/28l :F3bit moom ki1ge"ing">"no"6">/28loordero/a>253230e cerred_efdro_compact">i unsi)>ordero/a>2532orrse_adsremaabit moom ki1ge"ing">"lowmem_s=4lrve[]:"6">/28lo>ordero/a>253230eo/a>2391/*oa hrNULL+coim em <lass="sr s="srefMAX_NR_ZONESss="srsgpage" cMAX_NR_ZONESm em>lloc.c#L256" i23i>/*oa hrNULL+coim em++oordero/a>2532iNULLpa30epa>30erder" class="sref">orref">TIF3s="sref">orderpse_adWAIss="sref">orrse_adsremaabit moom ki1ge"ing">" %lu"6">/28lefass="sr s="srefzer" 423{mm5234 cla="line" ->sk+cod," cla"srlowmem_s=4lrve 423{mm5234 clalowmem_s=4lrvene" [sk+cod," cla"sri>/*oa hrNULL+coim em]o>ordero/a>253230e"mm5232mclass=5line" "mm/page_all4c.pse_adWAIss="sref">orrse_adsremaabit moom ki1ge"ing">"\n"6">/28lo>ordero/a>2532bad_paef="_typ"page>30ef">30efmm5232mclassnshow3o/a>)5364bad_paef="_________>30ef">30e/LLLLLL4LL* p41"restartc30e2t/oa hr30ooooooooooooooooooooooo>30ooo>30e">TIF_Mnop_pa"mm/page_all4c.for_eacinpopulatpd>z93" 423{mm5234 clafor_eacinpopulatpd>z93"m ema236552MEMAo/a>/30e3t/oa hr30hhhhhhhhhhhhhhhhhhhhhhh>30hhh>30e cerred_efded_compact23"mm/paglonga"mm/page_all4c.nd_paALo/a>239623962396m" class="5ref">52MEMAo/a>/30e4t/oa hr30e=resettttttttttttttttt>30e=r>30e4cerred_efded_compact23"mm/pagrharmsk+cod," cla"srtyp"Nss="srsgpage" ctyp"sm em[sk+cod," cla"srMAX_ORDERss="srsgpage" cMAX_ORDERm em]>m" class="5ref">52MEMAo/a>/30e5t/oa hr30ad_paef="_idxgntttttttt>30ad_>30edulocs="sref">l4kelyp43">gfp_mas30e6t/oa hr30t+csepage" class="f">iNU30t+c>30eeo/a>/*oa hrNULL+codr.cemmmes/spa__1">/2_kipU23e"rareasUne"s23782396253230eo/a>2391ordero/a>253230erder" class="sref">orsk+cod," cla"srshowUne"s2378ordero/a>253230e"mm5232mclass=5line" "mm/page_all4c.pse_adWAIss="sref">orrse_adsremaabit moom ki1ge"ing">"%s: "6">/28lefass="sr s="srefzer" 423{mm5234 cla="line" ->sk+cod," cla"srn_if2378ordero/a>2532ordero/a>239130"sulocs="sref">l4kelyp43">gfp_mas3051t/oa hr30lass="830"LOC_N &r= ~s="srefss="f">iNULLpagspin_"""k_irqsave 423{mm5234 claspin_"""k_irqsavesrema&ass="sr s="srefzer" 423{mm5234 cla="line" ->sk+cod," cla"srlocdWAIss="sref">orlocdsremefass="sr s="srefflagN8 class=5line" flagNne" )>ordero/a>2532iNULLpag30der>30"">TIF_Mnop_paef23"mm/4c.cs="srgfrepa2hr_eordad_paALo/a>2396lloc.c#L256" i23ordad_paALo/a>2396lloc.c#L256" i23ordad_paALo/a>239652MEMAo/a>/30"3t/oa hr30p_pass="sref">TIF_Mnop_p30p_p>30" cerred_efded_compacted_efdedge" class="f">iNULLpag23e"rarea8 class=5line" f3e"rareacerreass="sref">orderarea8 class=5line" areacerre= &ass="sr s="srefzer" 423{mm5234 cla="line" ->sk+cod," cla"sr23e"rarea8 class=5line" f3e"rareacerr[sk+cod," cla"srordad_paALo/a>2396m" class="5ref">52MEMAo/a>/3054t/oa hr30e" class="kmem>/* r_enab30e" >30"4cerred_efded_compactref">TIFe_alloc.c#L256" i23typ"ss="srsgpage" ctyp"srem>m" class="5ref">52MEMAo/a>/3055t/oa hr30epage" class="kmem>/* r_30epa>30"dulocs="sref">l4kelyp43">gfp_mas3056t/oa hr30297" i23"mm52357class=5l30297>30"eo/a>/*oa hrNULL+codrder" clask+cod," cla"srnd_paALo/a>239623962396m" class="5ref">52MEMAo/a>/3057t/oa hr30der" class="sf">iNULLpag30der>30"o/a>23912396239623962396m" class="5ref">52MEMAo/a>/3058t/oa hr30L279" i23"mm5234 class=530L27>30"ref">ordero/a>258430""mm5232mclass=5line" ref">TIF3s="sref">ordertyp"Nss="srsgpage" ctyp"sm em[sk+cod," cla"srordad_paALo/a>2396m" class="5ref">52MEMAo/a>/306nt/oa hr30y chea href23"mm/page_al30y c>30y mm5232mclass=5line" ref">TIF4c.cs="srgfrepa2hr_etyp"ss="srsgpage" ctyp"srem =m0>lloc.c#L256" i23typ"ss="srsgpage" ctyp"srem <lass="sr s="srefMIGRATE_TYPESss="srsgpage" cMIGRATE_TYPESaga>>lloc.c#L256" i23typ"ss="srsgpage" ctyp"srem++onam" class="5ref">52MEMAo/a>/3061t/oa hr30FP_THI h nathe un_age.30FP_>30yLOC_N &r= ~s="srefcompact"ref">TIFecem!sk+cod," cla"srlist_emptyWAIss="sref">orlist_emptysrema&ass="sr s="srefarea8 class=5line" areacerr->sk+cod," cla"srf3e"rlist8 class=5line" f3e"rlistm em[sk+cod," cla"srtyp"ss="srsgpage" ctyp"srem])oordero/a>253230y">TIF_Mnop_paef23"mm/ref">TIF=5line" ref">TIF3s="sref">ordertyp"Nss="srsgpage" ctyp"sm em[sk+cod," cla"srordad_paALo/a>2396m" class="5ref">52MEMAo/a>/3063t/oa hr30ass="f">iNULLpageo/a>/*o30ass>30y cerred_efded_compacted_efdednshow3o/a>)5364/2dref"sss="sref">i 30_1">30y4cerred_efded_compactnshow3o/a>)536430y cerred_efdro_compactak+cod," cla"srspin_un"""k_irqrestore 423{mm5234 claspin_un"""k_irqrestoresrema&ass="sr s="srefzer" 423{mm5234 cla="line" ->sk+cod," cla"srlocdWAIss="sref">orlocdsremefass="sr s="srefflagN8 class=5line" flagNne" )>ordero/a>253230yeo/a>/*oa hrNULL+codr4c.cs="srgfrepa2hr_eordad_paALo/a>2396lloc.c#L256" i23ordad_paALo/a>2396lloc.c#L256" i23ordad_paALo/a>239652MEMAo/a>/3067t/oa hr30x+codgpage" clasclass="s30x+c>30yo/a>2391orrse_adsremaabit moom ki1ge"ing">"%lu*%lukB "6">/28lefass="sr s="srefnd_paALo/a>239623962396ordero/a>2532orref">TIF.cemmmes/spa__1">/2nd_paALo/a>239623962532iNULLpag30pag>30y"mm5232mclass=5line" compact">i unsirsk+cod," cla"srshowUmigrline"_typ"Nss="srsgpage" cshowUmigrline"_typ"Nsrema23652396ordero/a>253230e"cerred_efded_compactnshow3o/a>)5364iNULLpagpse_adWAIss="sref">orrse_adsremaabit moom ki1ge"ing">"= %lukB\n"6">/28lefass="sr s="srefK8 class=5line" Km ema23652396ordero/a>253230e">TIF_Mnop_panshow3o/a>)5364ordero/a>258430e4cerred_efdedloc.c#L256" i23pse_adWAIss="sref">orrse_adsremaabit moom ki1ge"ing">"%ld total psrscache psrsN\n"6">/28lefass="sr s="srefglobalr"srs_agli" 423{mm5234 claelobalr"srs_agli"m ema2365ordero/a>2532insremas30 cl>30edulocs="sref">l4kelyp43">gfp_mas3076t/oa hr30297" i23"mm5237 class=5l30297>30eeo/a>/*oa hrNsk+cod," cla"srshowUswap_cache_infoss="srsgpage" cshowUswap_cache_infom ema)>ordero/a>253230eref">ordero/a>2584z93" 423{mm5234 clazer""sr_set>z93"m emage" class="f">iNULLpagzer" 423{mm5234 cla="line" eass="sref">orderzer" 423{mm5234 cla="line" efge" class="f">iNULLpagzer"4 cl423{mm5234 clazer""srne" eass="sref">orderzer"4 cl423{mm5234 clazer""srne" oordero/a>25323028ne" am" class="5ref">52MEMAo/a>/3081t/oa hr30e" class="cemmmes/spa__130e" >3021o/a>/*oa hrNsk+cod," cla"srzer"4 cl423{mm5234 clazer""srne" ->sk+cod," cla"srzer" 423{mm5234 cla="line" e=msk+cod," cla"srzer" 423{mm5234 cla="line" >ordero/a>2532TIF_Mnop_pa"mm/page_all4c.zer"4 cl423{mm5234 clazer""srne" ->sk+cod," cla"srzer"_idx2378ordero/a>25323023/a>2nshow3o/a>)5364302class="sref">i 5nsign575342302dulocabit moom ki1comment">/*6">/28lass="sref"554/*oyclasgpage" cla30hre>3026ulocabit moom ki1comment"> * Builds fp_maline" ffp_back ="li lists.6">/28lass="sref"5543027ulocabit moom ki1comment"> *6">/28lass="sref"554_ksprogressode=r30wak>3028ulocabit moom ki1comment"> * Add fp_ populatpd ="lis of a ne"s to the ="lilist.6">/28lass="sref"5543029ulocabit moom ki1comment"> */6">/28lass="sref"55430remm52agliic e_alloc.c#L256" i23build_="lilistsUne"s2378orderpgdat8 class=5line" pgdatne" efge" class="f">iNULLpagzer"list8 class=5line" zer"listne" eass="sref">orderzer"list8 class=5line" zer"listne" eam < clas5="sre5">iNULLpag3091t/oa hr30ef">bad_paef="_nopBud+co30ef">30rLOC_N &r= ~s="srefcompact"ref">TIFe_alloc.c#L256" i23nr_="liNss="srsgpage" cnr_="liNne" efenumfass="sr s="srefzer"_typ"ss="srsgpage" czer"_typ"OC_N ass="sr s="srefzer"_typ"ss="srsgpage" czer"_typ"OC_Noordero/a>253230r2ne" am" class="5ref">52MEMAo/a>/3093t/oa hr30hhhhhhhit+ccsepage" clas30hhh>30r cerred_efdedge" class="f">iNULLpagzer" 423{mm5234 cla="line" eass="sref">orderzer" 423{mm5234 cla="line" >ordero/a>253230rclass="sref">i 5nsign575342ordero/a>2532/2dflagaclas="30e=r>30reo/a>/*oa hrNsk+cod," cla"srz93"_typ"ss="srsgpage" czer"_typ"OC_N++>ordero/a>253230r7lass="sref">i 5nsign575342/*oa hrcuuuuuuuuu>30geo>30rrder" class="donam" class="5ref">52MEMAo/a>/3099t/oa hr30geo/a>/*oa hrunluuuuuuu>30geo>30r"mm5232mclass=5line" "mm/page_all4c.z93"_typ"ss="srsgpage" czer"_typ"OC_N-->ordero/a>2532/*oa hrunluuuuuuu>31int>31ino/a>/*oa hrNULL+codrsk+cod," cla"srzer" 423{mm5234 cla="line" e=msk+cod," cla"srpgdat8 class=5line" pgdatne" ->sk+cod," cla"srna"s_="liNss="srsgpage" cna"s_="liNm eml+ "mm/page_all4c.z93"_typ"ss="srsgpage" czer"_typ"OC_N>ordero/a>2532bad_paef="_nopBud+co31if">31iLOC_N &r= ~s="sref.cemmmes/spa__1">/2populatpd>z93" 423{mm5234 clapopulatpd>z93"m ema236552MEMAo/a>/31i2t/oa hr31iooooooPageBuddy */o/spa31ioo>31i">TIF_Mnop_paef23"mm/ref">TIF3ss="sr s="srefzer""sr_set>z93" 423{mm5234 clazer""sr_set>z93"m emass="sref">orderzer" 423{mm5234 cla="line" em" class="5ref">52MEMAo/a>/31i3t/oa hr31ihhhhhhit+ccsepage" clas31ihh>31i cerred_efded_compactref">TIFFFFFFFFF&ass="sr s="srefzer"list8 class=5line" zer"listne" ->sk+cod," cla"sr_zer""srNss="srsgpage" c_zer""srNm em[sk+cod," cla"srnr_="liNss="srsgpage" cnr_="liNne" ++])>ordero/a>253231i4cerred_efded_compactref">TIF3k+cod," cla"srcheck_=5liest>z93" 423{mm5234 clacheck_=5liest>z93"ne" a2365ordero/a>2532/2dflagaclas="31i=r>31ieo/a>show3o/a>)536431io/a>2391ordero/a>2532/*oa hrcuuuuuuuuu>31ieo>31irder" class="returnlloc.c#L256" i23nr_="liNss="srsgpage" cnr_="liNne" >ordero/a>2532/*oa hrunluuuuuuu>31ieo>31i"mm52nshow3o/a>)5364bad_paef="_"+code= n31ef">311sulocs="sref">l4kelyp43">gfp_mas3111t/oa hr31ef">bad_paef="_________n31ef">311/LLLLLL4LL* p41"restartc3112t/oa hr31oooooooooooooooPageBuddy31ooo>31e">TIFabit moom ki1comment">/*6">/28lass="sref"55431e cerrabit moom ki1comment"> * ="lilist_ordad:6">/28lass="sref"55431e4cerrabit moom ki1comment"> * 0e=mautomliic detecine" of better ordading.6">/28lass="sref"554rue """""""""""31i/*>311dulocabit moom ki1comment"> * 1e=mordad by ([na"s] distance, -="lityp")6">/28lass="sref"5543116ulocabit moom ki1comment"> * 2e=mordad by (-="lityp", [na"s] distance)6">/28lass="sref"5543117ulocabit moom ki1comment"> *6">/28lass="sref"5543118ulocabit moom ki1comment"> * If not NUMA, ZONELIST_ORDER_ZONE and ZONELIST_ORDER_NODE will creli"m >/28lass="sref"554/"mm/page_alloc.c#31geo>3119ulocabit moom ki1comment"> * the sloc ="lilist. So only NUMA ct moonfigure this param.6">/28lass="sref"5543128mm52abit moom ki1comment"> */6">/28lass="sref"554badnopBud+codrder" c31ef">312LOC_N#defd+clloc.c#L256" i23ZONELIST_ORDER_DEFAULTss="srsgpage" cZONELIST_ORDER_DEFAULTder" c0ass="sref"554312">TIF#defd+clloc.c#L256" i23ZONELIST_ORDER_NODEss="srsgpage" cZONELIST_ORDER_NODEder" clas1ass="sref"554312 cerr#defd+clloc.c#L256" i23ZONELIST_ORDER_ZONEss="srsgpage" cZONELIST_ORDER_ZONEder" clas2ass="sref"554312class="sref">i 5nsign575342312dulocabit moom ki1comment">/* ="lilistmordad in the kernel.6">/28lass="sref"554i+code=o0rder" 31las>3126ulocabit moom ki1comment"> * set>z93"list_ordad() will set this to NODE or ZONE.6">/28lass="sref"5543127ulocabit moom ki1comment"> */6">/28lass="sref"554312rder"agliic e_alloc.c#L256" i23currlnarz93"list_ordad 423{mm5234 clacurrlnarz93"list_ordadne" e=msk+cod," cla"srZONELIST_ORDER_DEFAULTss="srsgpage" cZONELIST_ORDER_DEFAULTder">ordero/a>2532312"mm52agliic rharmsk+cod," cla"srz93"list_ordad_n_if2378"Default"6">/28lefabit moom ki1ge"ing">"Na"s"6">/28lefabit moom ki1ge"ing">"Z93""6">/28l}>ordero/a>2532l4kelyp43">gfp_mas3131t/oa hr31opBud+codrder" clasasbal31opB>313/LLLLLL4LL* p41"restartc3132t/oa hr31m/page_alloc.c#L276" i2331m/p>31e">TIF#ifdefmsk+cod," cla"srCONFIG_NUMA2378/LLLLLL4LL* p41"restartc3133t/oa hr31ageBuddy */o/spa2398313 cerrabit moom ki1comment">/* The value usad specified ....rhanged by oonfig */6">/28lass="sref"55431e4cerragliic e_alloc.c#L256" i23usadrz93"list_ordad 423{mm5234 clausadrz93"list_ordadne" e=msk+cod," cla"srZONELIST_ORDER_DEFAULTss="srsgpage" cZONELIST_ORDER_DEFAULTder">ordero/a>2532313dulocabit moom ki1comment">/* ge"ingr4c.csysctl */6">/28lass="sref"55431eo/a>2rharmsk+cod," cla"srnumarz93"list_ordad 423{mm5234 clanumarz93"list_ordadm em[16]l=msbit moom ki1ge"ing">"default"6">/28l>ordero/a>2532iNULLpa31epa>313ref">ordero/a>25843139ulocabit moom ki1comment">/*6">/28lass="sref"554bad_paef="_typ"page>31ef">3148mm52abit moom ki1comment"> * e_aerfacer4c.coonfigure ="lilistmordading.6">/28lass="sref"554bad_paef="_________>31ef">31e * command f="_ opine" "numarz93"list_ordad"6">/28lass="sref"55431ooo>314">TIFabit moom ki1comment"> * = "[dD]efault - default,mautomliic oonfigurline".6">/28lass="sref"55431hhh>314 cerrabit moom ki1comment"> * = "[nN]e"s -mordad by ne"s _mallity, then by ="li within ne"sne>/28lass="sref"55431e=r>3144cerrabit moom ki1comment"> * = "[zZ]"li -mordad by ="li, then by _mallity within z93"ne>/28lass="sref"554 */6">/28lass="sref"554iNU31t+c>314eo/a>show3o/a>)536431eo/a>2agliic e_alloc.c#L256" i23__parse_numarz93"list_ordad 423{mm5234 cla__parse_numarz93"list_ordadne" arharmass="sref">orderNss="srsgpage" csOC_Noordero/a>253231erder"am" class="5ref">52MEMAo/a>/31e9t/oa hr31280" i23"mm5235mclascl5s31280>31e"mm5232mclass.cemass="sref">orderNss="srsgpage" csOC_N ==msbit moom ki1ge"ing">'d'6">/28l ||mass="sref">orderNss="srsgpage" csOC_N ==msbit moom ki1ge"ing">'D'6">/28lonam" class="5ref">52MEMAo/a>/315nt/oa hr31"sref">ordero/a>2391315no/a>/*oa hrNULL+codrsk+cod," cla"srusadrz93"list_ordad 423{mm5234 clausadrz93"list_ordadne" e=msk+cod," cla"srZONELIST_ORDER_DEFAULTss="srsgpage" cZONELIST_ORDER_DEFAULTder">ordero/a>253231"LOC_N &r= } elses.cemass="sref">orderNss="srsgpage" csOC_N ==msbit moom ki1ge"ing">'n'6">/28l ||mass="sref">orderNss="srsgpage" csOC_N ==msbit moom ki1ge"ing">'N'6">/28lonam" class="5ref">52MEMAo/a>/3152t/oa hr31der" class="sf">iNULLpag31der>31"">TIF_Mnop_paef23"mm/sk+cod," cla"srusadrz93"list_ordad 423{mm5234 clausadrz93"list_ordadne" e=msk+cod," cla"srZONELIST_ORDER_NODEss="srsgpage" cZONELIST_ORDER_NODEder">ordero/a>2532TIF_Mnop_p31p_p>31" cerred_efded} elses.cemass="sref">orderNss="srsgpage" csOC_N ==msbit moom ki1ge"ing">'z'6">/28l ||mass="sref">orderNss="srsgpage" csOC_N ==msbit moom ki1ge"ing">'Z'6">/28lonam" class="5ref">52MEMAo/a>/3154t/oa hr31e" class="kmem>/* r_enab31e" >31"4cerred_efded_compactsk+cod," cla"srusadrz93"list_ordad 423{mm5234 clausadrz93"list_ordadne" e=msk+cod," cla"srZONELIST_ORDER_ZONEss="srsgpage" cZONELIST_ORDER_ZONEder">ordero/a>253252MEMAo/a>/3156t/oa hr31297" i23"mm52357class=5l31297>31"eo/a>/*oa hrNULL+codrmmes/spa__1">/2pse_adWAIss="sref">orrse_adsremaames/spa__1">/2KERN_WARNINGWAIss="sref">orKERN_WARNINGo/a>show3o/a>)5364iNULLpag31der>31"o/a>2391"Igno"ingrinvllid numarz93"list_ordad value: "6">/28lass="sref"554315rder" class="sref">orref">TIF3bit moom ki1ge"ing">"%s\n"6">/28lefass="sr s="srefNss="srsgpage" csOC_No>ordero/a>253231""mm5232mclass=5line" returnl-ass="sr s="srefEINVALss="srsgpage" cEINVALder">ordero/a>2532316fmm5232mclassnshow3o/a>)536431yLOC_N &r= returnl0>m" class="5ref">52MEMAo/a>/3162t/oa hr31not3ca* href23{mm/page_a31not>31y">TIFnshow3o/a>)5364iNULLpageo/a>/*o31ass>3163ef">ordero/a>2584/2dref"sss="sref">i 31_1">3164cerragliic loc.c#L256" i23__init8 class=5line" __initOC_N e_alloc.c#L256" i23setup_numarz93"list_ordad 423{mm5234 clasetup_numarz93"list_ordadne" arharmass="sref">orderNss="srsgpage" csOC_Noordero/a>253231y cerram" class="5ref">52MEMAo/a>/3166t/oa hr31L276" i23"mm52357class=531L27>31yeo/a>/*oa hrNe_alloc.c#L256" i23retss="srsgpage" cretder">ordero/a>2532i 5nsign5753422532iNULLpag31pag>31y"mm5232mclass=5line" returnl0>m" class="5ref">52MEMAo/a>/317nt/oa hr31e" class="order" class="31e" >317sulocs="sref">l4kelyp43">gfp_mas3171t/oa hr31int sepage" class="a243{31int>3171o/a>/*oa hrNsk+cod," cla"srretss="srsgpage" cretder"e=msk+cod," cla"sr__parse_numarz93"list_ordad 423{mm5234 cla__parse_numarz93"list_ordadne" aass="sr s="srefNss="srsgpage" csOC_No>ordero/a>253231e">TIF_Mnop_pa.cemmmes/spa__1">/2retss="srsgpage" cretder"e== 0oordero/a>2532orNtrlcpyne" aass="sr s="srefnumarz93"list_ordad 423{mm5234 clanumarz93"list_ordadm emefass="sr s="srefNss="srsgpage" csOC_Nefass="sr s="srefNUMA_ZONELIST_ORDER_LEN2378ordero/a>2532317class="sref">i 5nsign575342insremas31 cl>3175OC_N &r= returnlloc.c#L256" i23retss="srsgpage" cretder">ordero/a>253231eeo/a>nshow3o/a>)5364"numarz93"list_ordad"6">/28lefass="sr s="srefNetup_numarz93"list_ordad 423{mm5234 clasetup_numarz93"list_ordadne" o>ordero/a>253231eref">ordero/a>2584/*6">/28lass="sref"5543188mm52abit moom ki1comment"> * sysctl handlad 4c.cnumarz93"list_ordadne>/28lass="sref"554318 */6">/28lass="sref"554TIFe_alloc.c#L256" i23numarz93"list_ordad_handlad 423{mm5234 clanumarz93"list_ordad_handladne" aass="sr s="srefctl_ta_al 423{mm5234 clactl_ta_alOC_N ass="sref">orderta_al 423{mm5234 clata_alOC_N,Ne_alloc.c#L256" i23wrii" 423{mm5234 clawrii"OC_N,ass="sref"554318 cerred_efded_compactvoidfass="sr s="sref__usad 423{mm5234 cla__usadOC_N ass="sref">orderbuffad 423{mm5234 clabuffadm emefass="sr s="srefNize_s8 class=5line" Nize_sOC_N ass="sref">orderlength8 class=5line" lengthOC_N,ass="sref"5543184cerred_efded_compactsk+cod," cla"srloff_s8 class=5line" loff_sOC_N ass="sref">orderppoNss="srsgpage" crpoNOC_Noordero/a>2532318 cerram" class="5ref">52MEMAo/a>/3186t/oa hr31hre/a>/*oyclasgpage" cla31hre>318eo/a>/*oa hrNrharmsk+cod," cla"srsaved_ge"ing" class=5line" Naved_ge"ingm em[ass="sr s="srefNUMA_ZONELIST_ORDER_LEN2378m" class="5ref">52MEMAo/a>/3187t/oa hr31y */o/spa23"8318o/a>2391ordero/a>2532_ksprogressode=r31wak>318rder" class="agliic loc.c#L256" i23DEFINE_MUTEXss="srsgpage" cDEFINE_MUTEXne" aass="sr s="srefzl_ordad_mutex2378ordero/a>25323129ulocordero/a>2532319fmm5232mclassass="sr s="srefmutex_"""k2378ordero/a>2532bad_paef="_nopBud+co31ef">31rLOC_N &r= .cemmmes/spa__1">/2wrii" 423{mm5234 clawrii"OC_Noordero/a>2532319">TIF_Mnop_paef23"mm/sk+cod," cla"srge"cpyWAIss="sref">orNtrcpyne" aass="sr s="srefsaved_ge"ing" class=5line" Naved_ge"ingm em, arhar*)ss="sref">orderta_al 423{mm5234 clata_alOC_N->sk+cod," cla"srdata 423{mm5234 cladatane" o>ordero/a>253231r cerred_efdedsk+cod," cla"srretss="srsgpage" cretder"e=msk+cod," cla"srproc_doge"ing" class=5line" proc_doge"ingne" aass="sr s="srefta_al 423{mm5234 clata_alOC_N,Nloc.c#L256" i23wrii" 423{mm5234 clawrii"OC_N,lloc.c#L256" i23buffad 423{mm5234 clabuffadm emefass="sr s="sreflength8 class=5line" lengthOC_N,msk+cod," cla"srppoNss="srsgpage" crpoNOC_No>ordero/a>25323194OC_N &r= .cemmmes/spa__1">/2retss="srsgpage" cretder"oordero/a>2532ordero/a>2532/2dflagaclas="31e=r>31reo/a>/*oa hrN.cemmmes/spa__1">/2wrii" 423{mm5234 clawrii"OC_Nosam" class="5ref">52MEMAo/a>/3197t/oa hr31rrrrrrrrrrrrrrrrrrrrrrr"31rrr>319o/a>23912396ordero/a>2532/*oa hrcuuuuuuuuu>31geo>319rder" class="sref">or.cemmmes/spa__1">/2__parse_numarz93"list_ordad 423{mm5234 cla__parse_numarz93"list_ordadne" aarhar*)ss="sref">orderta_al 423{mm5234 clata_alOC_N->sk+cod," cla"srdata 423{mm5234 cladatane" oosam" class="5ref">52MEMAo/a>/3199t/oa hr31geo/a>/*oa hrunluuuuuuu>31geo>31r"mm5232mclass=5line" ed_efdedsbit moom ki1comment">/*6">/28lass="sref"554/*oa hrunluuuuuuu>32int>3208mm52abit moom ki1comment"> * bogus value.= restore Naved ge"ingne>/28lass="sref"554bad_paef="_nopBud+co32if">320 */6">/28lass="sref"55432i">TIF_Mnop_paef23"mm/ref">TIF3ss="sr s="srefge"ncpyWAIss="sref">orNtrncpyne" aarhar*)ss="sref">orderta_al 423{mm5234 clata_alOC_N->sk+cod," cla"srdata 423{mm5234 cladatane" efass="sr s="srefNaved_ge"ing" class=5line" Naved_ge"ingm em,ass="sref"55432i cerred_efded_compactref">TIFFFFFFFFFass="sr s="srefNUMA_ZONELIST_ORDER_LEN2378ordero/a>253232i4cerred_efded_compactref">TIF3k+cod," cla"srusadrz93"list_ordad 423{mm5234 clausadrz93"list_ordadne" e=msk+cod," cla"sroldval_paALo/a>2396ordero/a>2532239652MEMAo/a>/32i6t/oa hr32i=reset1">/2dflagaclas="32i=r>320eo/a>/*oa hrNULL+codrder" clask+cod," cla"srmutex_"""k2378ordero/a>2532320o/a>2391ordero/a>2532/*oa hrcuuuuuuuuu>32ieo>320rder" class="sref">orref">TIF3s="sref">ordermutex_un"""k2378ordero/a>2532/*oa hrunluuuuuuu>32ieo>320"mm5232mclass=5line" nshow3o/a>)5364bad_paef="_"+code= n32ef">321fmm5232mclassnshow3o/a>)5364bad_paef="_________n32ef">321)5364321">TIF_Mnop_pa"mm/page_all4c.mutex_un"""k2378ordero/a>2532321 cerred_efdedreturnlloc.c#L256" i23retss="srsgpage" cretder">ordero/a>253232e4cerrnshow3o/a>)5364rue """""""""""32i/*>321dulocs="sref">l4kelyp43">gfp_mas3216t/oa hr32he hesedy */o/""""""""""32he >321eo/a>show3o/a>)53643217uloc#defd+clloc.c#L256" i23MAX_NODE_LOADss="srsgpage" cMAX_NODE_LOADcerremmmes/spa__1">/2nd_onrrrrUne"sNss="srsgpage" cnr_onrrrrUne"sNder"oordero/a>2532321rder"agliic e_alloc.c#L256" i23na"s_load2378m" class="5ref">52MEMAo/a>/3219t/oa hr32geo/a>/"mm/page_alloc.c#32geo>3219ulocordero/a>25323228mm52abit moom ki1comment">/**6">/28lass="sref"554badnopBud+codrder" c32ef">322 * fd+d_next_best>ne"s - fd+d the next ne"s that should appead in a given ne"s's ffp_back listne>/28lass="sref"554322">TIFabit moom ki1comment"> * @ne"s: ne"s whosesffp_back list ws're appendingne>/28lass="sref"554322 cerrabit moom ki1comment"> * @usad>ne"s_mask: ne"smask_t of already usad ne"sNde>/28lass="sref"5543224cerrabit moom ki1comment"> *de>/28lass="sref"554322dulocabit moom ki1comment"> * We usa a number ofsffctors to determd+clwhich is the next ne"s that shouldde>/28lass="sref"554i+code=o0rder" 32las>3226ulocabit moom ki1comment"> * appead on a given ne"s's ffp_back list. The ne"s should not have appeadedde>/28lass="sref"5543227ulocabit moom ki1comment"> * already in @ne"s's ffp_back list, and it should be the next closest ne"sne>/28lass="sref"5543228ulocabit moom ki1comment"> * accordingrto the distance array (which 5238ains arbitrary distance valueNde>/28lass="sref"5543229ulocabit moom ki1comment"> * from eaci ne"s to eaci ne"s in the system), and should also psreer ne"sNde>/28lass="sref"554 * with ne CPUs, since psrsumably they'll have very little fp_maline" psrssursne>/28lass="sref"554323 * on them otherwise.6">/28lass="sref"554323">TIFabit moom ki1comment"> * Itdreturns -1s.cene ne"s is found.6">/28lass="sref"554323 cerrabit moom ki1comment"> */6">/28lass="sref"55432e4cerragliic e_alloc.c#L256" i23fd+d_next_best>ne"sss="srsgpage" cfd+d_next_best>ne"sne" ae_alloc.c#L256" i23na"s2378orderusad>ne"s_mask 423{mm5234 clausad>ne"s_maskder"oordero/a>2532323 cerram" class="5ref">52MEMAo/a>/3236t/oa hr32f="_age.wed() 2396ordero/a>2532323o/a>239123962396ordero/a>2532iNULLpa32epa>3238/a>2391ne"sss="srsgpage" cbest>ne"sne" e=m-1>ordero/a>2532323"mm5232mclass523st ge" class="f">iNULLpagcpumask 423{mm5234 clacpumaskOC_N ass="sref">ordertmp 423{mm5234 clatmpne" e=msk+cod," cla"srcpumask_of>ne"sss="srsgpage" ccpumask_of>ne"sne" a0o>ordero/a>2532bad_paef="_typ"page>32ef">324sulocs="sref">l4kelyp43">gfp_mas32e1t/oa hr32ef">bad_paef="_________>32ef">3241o/a>/*oa hrNsbit moom ki1comment">/* Use the _mall ne"s if ws haven't already */6">/28lass="sref"55432ooo>324">TIF_Mnop_pa.cem!sk+cod," cla"srne"s_issetss="srsgpage" cne"s_issetne" aass="sr s="srefna"s2378orderusad>ne"s_mask 423{mm5234 clausad>ne"s_maskder"oosam" class="5ref">52MEMAo/a>/32e3t/oa hr32hhhhhhhhhhhhhhhhhhhhhhh>32hhh>324 cerred_efded_compactass="sr s="srefne"s_setss="srsgpage" cne"s_setne" aass="sr s="srefna"s2378orderusad>ne"s_mask 423{mm5234 clausad>ne"s_maskder"o>ordero/a>253232e=r>3244cerred_efded_compactreturnlloc.c#L256" i23na"s2378ordero/a>2532iNU32t+c>324eo/a>show3o/a>)5364324o/a>2391ne"s_agli" 423{mm5234 clafor_eaci>ne"s_agli"ne" aass="sr s="srefn237852MEMAo/a>/32e8t/oa hr32alloc.c#L279" i23"mm523432all>324ref">ordero/a>2584324"mm5232mclass=5line" "bit moom ki1comment">/* Don't wa_ala ne"s to appead more tht monce */6">/28lass="sref"554ordero/a>2391325no/a>/*oa hrNULL+codr.cemmmes/spa__1">/2ne"s_issetss="srsgpage" cne"s_issetne" aass="sr s="srefn2378orderusad>ne"s_mask 423{mm5234 clausad>ne"s_maskder"ooass="sref"554325LOC_N &r= ~s="srefcompact"5238inue>ordero/a>2532iNULLpag32der>32"">TIFordero/a>2532TIF_Mnop_p32p_p>325 cerred_efded_compactabit moom ki1comment">/* Use the distance array to fd+d the distance */6">/28lass="sref"55432"4cerred_efded_compactsk+cod," cla"srval_paALo/a>2396ordero/a>2532l4kelyp43">gfp_mas3256t/oa hr32297" i23"mm52357class=5l32297>32"eo/a>/*oa hrNULL+codrmbit moom ki1comment">/* Penalize ne"ss under us ("psreer the next ne"s") */6">/28lass="sref"554iNULLpag32der>32"o/a>23912396/2n2378ordero/a>2532325ref">ordero/a>258432""mm5232mclass=5line" mbit moom ki1comment">/* Give psreerence to headless and unusad ne"sN */6">/28lass="sref"554326no/a>/*oa hrNULL+codrsk+cod," cla"srtmp 423{mm5234 clatmpne" e=msk+cod," cla"srcpumask_of>ne"sss="srsgpage" ccpumask_of>ne"sne" aass="sr s="srefn2378ordero/a>2532326LOC_N &r= ~s="sref.cem!sk+cod," cla"srcpumask_emptyWAIss="sref">orcpumask_emptyne" aass="sr s="sreftmp 423{mm5234 clatmpne" ooass="sref"554326">TIF_Mnop_paef23"mm/ref">TIF3ss="sr s="srefval_paALo/a>2396ordero/a>2532iNULLpageo/a>/*o32ass>3263ef">ordero/a>2584/2dref"sss="sref">i 32_1">3264cerred_efded_compactsbit moom ki1comment">/* Slight psreerence 4c.cless loadad ne"s */6">/28lass="sref"554326 cerred_efdro_compact3ss="sr s="srefval_paALo/a>2396/2MAX_NODE_LOADss="srsgpage" cMAX_NODE_LOADcerrass="sref">orderMAX_NUMNODESss="srsgpage" cMAX_NUMNODESne" o>ordero/a>2532326eo/a>/*oa hrNULL+codrmmes/spa__1">/2val_paALo/a>2396m" class="5ref">52MEMAo/a>/3267t/oa hr32x+codgpage" clasclass="s32x+c>3267lass="sref">i 5nsign575342or.cemmmes/spa__1">/2val_paALo/a>239652MEMAo/a>/3269t/oa hr32page" class="f">iNULLpag32pag>32y"mm5232mclass=5line" ULL+codrmmes/spa__1">/2md+_val_paALo/a>23962396ordero/a>2532327no/a>/*oa hrNULL+codrULL+codrmmes/spa__1">/2best>ne"sss="srsgpage" cbest>ne"sne" e=mass="sr s="srefn2378ordero/a>2532253232e">TIF_Mnop_pa}ordero/a>2532ordero/a>25843274OC_N &r= .cemmmes/spa__1">/2best>ne"sss="srsgpage" cbest>ne"sne" e>=m0oordero/a>2532insremas32 cl>327 cerred_efdro_compact3ss="sr s="srefne"s_setss="srsgpage" cne"s_setne" aass="sr s="srefbest>ne"sss="srsgpage" cbest>ne"sne" efass="sref">orderusad>ne"s_mask 423{mm5234 clausad>ne"s_maskder"o>ordero/a>2532327eo/a>show3o/a>)5364ne"sss="srsgpage" cbest>ne"sne" >ordero/a>253232eref">}ordero/a>25323279ulocordero/a>2532328sulocs="sref">l4kelyp43">gfp_mas3281t/oa hr32e" class="cemmmes/spa__132e" >328/*6">/28lass="sref"554TIFabit moom ki1comment"> * Build ="lilistsmordaded by ne"s and ="lis within ne"s.6">/28lass="sref"554328 cerrabit moom ki1comment"> * This srsultsmin maximum _mallity--normal ="li overflowsminto _mall6">/28lass="sref"5543284cerrabit moom ki1comment"> * DMA ="li, .ceany--but risks exhaustingrDMA ="li.6">/28lass="sref"554328dulocabit moom ki1comment"> */6">/28lass="sref"554/*oyclasgpage" cla32hre>328eo/a>agliic voidfass="sr s="srefbuild_="lilistsUd+_ne"s_ordad 423{mm5234 clabuild_="lilistsUd+_ne"s_ordadne" aass="sr s="srefpg_data_s8 class=5line" pg_data_sne" eass="sref">orderpgdat8 class=5line" pgdatne" efe_alloc.c#L256" i23na"s23782532328o/a>2am" class="5ref">52MEMAo/a>/3288t/oa hr32wak317">_ksprogressode=r32wak>3288/a>2391ordero/a>2532328"mm5232mclassge" class="f">iNULLpagzer"list8 class=5line" zer"listne" eass="sref">orderzer"list8 class=5line" zer"listne" >ordero/a>2532329sulocs="sref">l4kelyp43">gfp_mas3291t/oa hr32ef">bad_paef="_nopBud+co32ef">3291o/a>/*oa hrNsk+cod," cla"srzer"list8 class=5line" zer"listne" e=F&ass="sr s="srefpgdat8 class=5line" pgdatne" ->sk+cod," cla"srna"s_="lilists 423{mm5234 clana"s_="lilistsm em[0]>m" class="5ref">52MEMAo/a>/3292t/oa hr32oooooooPageBuddy */o/spa32ooo>329">TIF_Mnop_pa4c.caass="sr s="srefj23782532329 cerred_efded_compact>m" class="5ref">52MEMAo/a>/3294t/oa hr32rrrrrrrrrrrrp_maskode=o&32rrr>3294OC_N &r= ass="sr s="srefj2378orderMAX_NR_ZONESss="srsgpage" cMAX_NR_ZONEScerre- 1o>ordero/a>2532/2dflagaclas="32e=r>32reo/a>/*oa hrNass="sr s="srefzer"list8 class=5line" zer"listne" ->sk+cod," cla"sr_zer""srNss="srsgpage" c_zer""srNm em[sk+cod," cla"srj23782532329o/a>23912532/*oa hrcuuuuuuuuu>32geo>329ref">}ordero/a>2532/*oa hrunluuuuuuu>32geo>3299ulocordero/a>2532/*oa hrunluuuuuuu>33int>3308mm52abit moom ki1comment">/*6">/28lass="sref"554bad_paef="_nopBud+co33if">330 * Build gfp_thisne"s ="lilistsm >/28lass="sref"554330">TIFabit moom ki1comment"> */6">/28lass="sref"55433i cerragliic voidfass="sr s="srefbuild_thisne"s_="lilists 423{mm5234 clabuild_thisne"s_="lilistsne" aass="sr s="srefpg_data_s8 class=5line" pg_data_sne" eass="sref">orderpgdat8 class=5line" pgdatne" oordero/a>253233i4cerram" class="5ref">52MEMAo/a>/33i5t/oa hr33id_paef="_idxgnnopBud+co33id_>33i cerred_efdroe_alloc.c#L256" i23j2378ordero/a>2532/2dflagaclas="33i=r>330eo/a>/*oa hrNge" class="f">iNULLpagzer"list8 class=5line" zer"listne" eass="sref">orderzer"list8 class=5line" zer"listne" >ordero/a>25323307lass="sref">i 5nsign575342/*oa hrcuuuuuuuuu>33ieo>330rder" class="sk+cod," cla"srzer"list8 class=5line" zer"listne" e=F&ass="sr s="srefpgdat8 class=5line" pgdatne" ->sk+cod," cla"srna"s_="lilists 423{mm5234 clana"s_="lilistsm em[1]>m" class="5ref">52MEMAo/a>/33i9t/oa hr33ieo/a>/*oa hrunluuuuuuu>33ieo>330"mm5232mclassass="sr s="srefj2378ordero/a>2532bad_paef="_"+code= n33ef">331fmm5232mclassass="sr s="srefzer"list8 class=5line" zer"listne" ->sk+cod," cla"sr_zer""srNss="srsgpage" c_zer""srNm em[sk+cod," cla"srj23782532bad_paef="_________n33ef">3311o/a>/*oa hrNsk+cod," cla"srzer"list8 class=5line" zer"listne" ->sk+cod," cla"sr_zer""srNss="srsgpage" c_zer""srNm em[sk+cod," cla"srj23782532331">TIFnshow3o/a>)53643313ef">ordero/a>2584/*6">/28lass="sref"554rue """""""""""33i/*>331dulocabit moom ki1comment"> * Build ="lilistsmordaded by ="li and ne"sN within z93"s.6">/28lass="sref"5543316ulocabit moom ki1comment"> * This srsultsmin 523servingrDMA ="li[s] until fp_ Normal memory ism >/28lass="sref"5543317ulocabit moom ki1comment"> * exhausted, but rrsultsmin overflowingrto remote ne"s while memorym >/28lass="sref"5543318ulocabit moom ki1comment"> * mayNgeill exist in _mall DMA ="li.6">/28lass="sref"554/"mm/page_alloc.c#33geo>3319ulocabit moom ki1comment"> */6">/28lass="sref"5543328mm52agliic e_alloc.c#L256" i23na"s_ordad 423{mm5234 clane"s_ordadne" [ass="sr s="srefMAX_NUMNODESss="srsgpage" cMAX_NUMNODESne" ]>m" class="5ref">52MEMAo/a>/3321t/oa hr33ef">badnopBud+codrder" c33ef">332/LLLLLL4LL* p41"restartc3322t/oa hr33mm/page_alloc.c#L279" i233mm/>332">TIFagliic voidfass="sr s="srefbuild_="lilistsUd+_z"li_ordad 423{mm5234 clabuild_="lilistsUd+_z"li_ordadne" aass="sr s="srefpg_data_s8 class=5line" pg_data_sne" eass="sref">orderpgdat8 class=5line" pgdatne" efe_alloc.c#L256" i23nrUne"sNss="srsgpage" cnr_ne"sNder"oordero/a>2532332 cerram" class="5ref">52MEMAo/a>/3324t/oa hr33285" i22"mm5232 class=5l33285>3324OC_N &r= ._alloc.c#L256" i23poNss="srsgpage" crosOC_Nefass="sr s="srefj2378ordero/a>2532332 cerred_efdroe_alloc.c#L256" i23z"li_typ"8 class=5line" zer"_typ"OC_N;ltttttttttsbit moom ki1comment">/* needs to be signed */6">/28lass="sref"554i+code=o0rder" 33las>332eo/a>/*oa hrNge" class="f">iNULLpagzer"8 class=5line" zer"ne" eass="sref">orderz8 class=5line" zOC_N>ordero/a>25323327o/a>/*oa hrNge" class="f">iNULLpagzer"list8 class=5line" zer"listne" eass="sref">orderzer"list8 class=5line" zer"listne" >ordero/a>2532332ref">ordero/a>258452MEMAo/a>/333nt/oa hr33epage" class="8333fmm5232mclassass="sr s="srefpoNss="srsgpage" crosOC_Ne=F0;ordero/a>25323331o/a>/*oa hrN4c.caass="sr s="srefz"li_typ"8 class=5line" zer"_typ"OC_Ne=msk+cod," cla"srMAX_NR_ZONESss="srsgpage" cMAX_NR_ZONEScerre- 1;lass="sr s="srefzer"_typ"8 class=5line" zer"_typ"OC_Ne>=m0;lass="sr s="srefzer"_typ"8 class=5line" zer"_typ"OC_N--osam" class="5ref">52MEMAo/a>/3332t/oa hr33m/page_alloc.c#L276" i2333m/p>333">TIF_Mnop_paef23"mm/4c.caass="sr s="srefj237852MEMAo/a>/3333t/oa hr33ageBuddy */o/spa2398333 cerred_efded_compactref">TIFloc.c#L256" i23na"s237825323334cerred_efded_compactref">TIF3k+cod," cla"srz8 class=5line" zOC_Ne=F&ass="sr s="srefNODE_DATA23782532333 cerred_efdro_compacttttttttt.cemmmes/spa__1">/2populated_zer"8 class=5line" populated_zer"ne" aass="sr s="srefz8 class=5line" zOC_Noosam" class="5ref">52MEMAo/a>/3336t/oa hr33f="_age.wed() 333o/a>2391ordero/a>2532iNULLpa33epa>333rder" class="sref">orref">TIF32mclassass="sr s="srefcheck_highest>zer"8 class=5line" check_highest>zer"ne" aass="sr s="srefzer"_typ"8 class=5line" zer"_typ"OC_No>ordero/a>2532333"mm5232mclass=5line" ULL+codrnshow3o/a>)5364bad_paef="_typ"page>33ef">334no/a>/*oa hrNULL+codrnshow3o/a>)5364bad_paef="_________>33ef">3341o/a>/*oa hrNnshow3o/a>)536433ooo>334">TIF_Mnop_pa"mm/page_all4c.z"lilist8 class=5line" zer"listne" ->sk+cod," cla"sr_zer""srNss="srsgpage" c_zer""srNm em[sk+cod," cla"srpoNss="srsgpage" crosOC_N].ass="sr s="srefzer"8 class=5line" zer"ne" e=msk+cod," cla"srNULLss="srsgpage" cNULLOC_N;ordero/a>253233hhh>334 cerred_efded"mm/page_all4c.z"lilist8 class=5line" zer"listne" ->sk+cod," cla"sr_zer""srNss="srsgpage" c_zer""srNm em[sk+cod," cla"srpoNss="srsgpage" crosOC_N].ass="sr s="srefzer"_idx2378253233e=r>3344cerrnshow3o/a>)5364l4kelyp43">gfp_mas3346t/oa hr33t+csepage" class="f">iNU33t+c>334eo/a>agliic e_alloc.c#L256" i23defaultrz93"list_ordad 423{mm5234 cladefaultrz93"list_ordadne" avoidoordero/a>2532334o/a>2am" class="5ref">52MEMAo/a>/33e8t/oa hr33alloc.c#L279" i23"mm523433all>3348/a>239152MEMAo/a>/33e9t/oa hr33280" i23"mm5235mclascl5s33280>334"mm5232mclassunsigned longtsk+cod," cla"srlow_kmem_Nize8 class=5line" low_kmem_Nizene" esk+cod," cla"srtotal_Nize8 class=5line" total_NizeOC_N;m" class="5ref">52MEMAo/a>/335nt/oa hr33"sref">ordero/a>2391335no/a>/*oa hrNge" class="f">iNULLpagzer"8 class=5line" zer"ne" eass="sref">orderz8 class=5line" zOC_N>ordero/a>2532335LOC_N &r= e_alloc.c#L256" i23avera 53Nize8 class=5line" avera 53NizeOC_N>ordero/a>2532iNULLpag33der>335">TIF_Mnop_pa"bit moom ki1comment">/*6">/28lass="sref"554TIF_Mnop_p33p_p>335 cerrabit moom ki1comment"> * ZONE_DMA and ZONE_DMA32 ct mbe very smfp_ area in the system.6">/28lass="sref"5543354cerrabit moom ki1comment"> * If they are really smfp_ and usad heavily, the system ct mffp_6">/28lass="sref"554 * into OOM very easily.6">/28lass="sref"5543356ulocabit moom ki1comment"> * This funcine" deteclaZONE_DMA/DMA32 Nize and configures ="li ordad.6">/28lass="sref"554iNULLpag33der>3357ulocabit moom ki1comment"> */6">/28lass="sref"5543358>TIF_Mnop_pa"bit moom ki1comment">/* Is there ZONE_NORMAL ? (ex. ppc has only DMA ="li..) */6">/28lass="sref"554335"mm5232mclassass="sr s="sreflow_kmem_Nize8 class=5line" low_kmem_Nizene" e=F0;ordero/a>2532336fmm5232mclassass="sr s="sreftotal_Nize8 class=5line" total_NizeOC_Ne=F0;ordero/a>25323361o/a>/*oa hrNsk+cod," cla"srfor_eaci>onrrrrUne"s8 class=5line" for_eaci>onrrrrUne"sne" aass="sr s="srefnid237852MEMAo/a>/3362t/oa hr33not3ca* href23{mm/page_a33not>336">TIF_Mnop_paef23"mm/4c.caass="sr s="srefz"li_typ"8 class=5line" zer"_typ"OC_Ne=m0;lass="sr s="srefzer"_typ"8 class=5line" zer"_typ"OC_Ne<lass="sr s="srefMAX_NR_ZONESss="srsgpage" cMAX_NR_ZONEScerr;lass="sr s="srefzer"_typ"8 class=5line" zer"_typ"OC_N++osam" class="5ref">52MEMAo/a>/3363t/oa hr33ass="f">iNULLpageo/a>/*o33ass>336 cerred_efded_compactref">TIFloc.c#L256" i23z8 class=5line" zOC_Ne=F&ass="sr s="srefNODE_DATA23782532/2dref"sss="sref">i 33_1">3364cerred_efded_compact &r= ecemmmes/spa__1">/2populated_zer"8 class=5line" populated_zer"ne" aass="sr s="srefz8 class=5line" zOC_Noosam" class="5ref">52MEMAo/a>/3365t/oa hr33ad_paefstruct sepage" cl33ad_>336 cerred_efdro_compact_compact &r= ecemmmes/spa__1">/2zer"_typ"8 class=5line" zer"_typ"OC_Ne<lass="sr s="srefZONE_NORMAL8 class=5line" ZONE_NORMALder"oordero/a>2532336eo/a>/*oa hrNULL+codred_efded_compactref">TIFloc.c#L256" i23low_kmem_Nize8 class=5line" low_kmem_Nizene" e+=e3ss="sr s="srefz8 class=5line" zOC_N->sk+cod," cla"srpsrsent_ordero/a>2532ordero/a>2532orrrrrrrrrn elses.cemloc.c#L256" i23z"li_typ"8 class=5line" zer"_typ"OC_Ne==e3ss="sr s="srefZONE_NORMAL8 class=5line" ZONE_NORMALder"osam" class="5ref">52MEMAo/a>/3369t/oa hr33page" class="f">iNULLpag33pag>33y"mm5232mclass=5line" ULL+codr////////abit moom ki1comment">/*6">/28lass="sref"5543378mm52abit moom ki1comment"> * If any ne"s has only lowmem, then ne"s ordadne>/28lass="sref"554 * is psreerded to ap_mw kernel fp_maline"sm >/28lass="sref"554337">TIFabit moom ki1comment"> * _mallly; otherwise, they ct measily inf"ingsne>/28lass="sref"554 * e" other ne"sN when there is an abundance ofne>/28lass="sref"5543374cerrabit moom ki1comment"> * _mwmem availa_al to ap_malie from.6">/28lass="sref"554insremas33 cl>337dulocabit moom ki1comment"> */6">/28lass="sref"554337eo/a>/*oa hrNULL+codred_efded_compactreturnlloc.c#L256" i23ZONELIST_ORDER_NODE8 class=5line" ZONELIST_ORDER_NODEOC_N>ordero/a>2532)5364337rder" class="sref">ornshow3o/a>)5364337"mm5232mclassnshow3o/a>)5364338fmm5232mclass.cem!sk+cod," cla"srlow_kmem_Nize8 class=5line" low_kmem_Nizene" e||pa"bit moom ki1comment">/* there are no DMA area. */6">/28lass="sref"554338LOC_N &r= ~s="sk+cod," cla"srlow_kmem_Nize8 class=5line" low_kmem_Nizene" e>/ass="sr s="sreftotal_Nize8 class=5line" total_NizeOC_N/2) "bit moom ki1comment">/* DMA/DMA32 is big. */6">/28lass="sref"554TIF_Mnop_paef23"mm/returnlloc.c#L256" i23ZONELIST_ORDER_NODE8 class=5line" ZONELIST_ORDER_NODEOC_N>ordero/a>2532338 cerred_efded"bit moom ki1comment">/*6">/28lass="sref"5543384cerrabit moom ki1comment"> * _mok into eaci ne"s's config.6">/28lass="sref"554338dulocabit moom ki1comment"> * If there is a ne"s whosesDMA/DMA32 memory is very big area on6">/28lass="sref"554/*oyclasgpage" cla33hre>3386ulocabit moom ki1comment"> * _mall memory, NODE_ORDER mayNbe suita_al.6">/28lass="sref"5543387ulocabit moom ki1comment"> */6">/28lass="sref"554_ksprogressode=r33wak>338rder" class="sk+cod," cla"sravera 53Nize8 class=5line" avera 53NizeOC_Ne=msk+cod," cla"srtotal_Nize8 class=5line" total_NizeOC_Ne/ass="sref"554338"mm5232mclass=5line" ULL+codr////////aass="sr s="srefna"ss_weight 423{mm5234 clana"ss_weightne" aass="sr s="srefna"s_agli"s 423{mm5234 clana"s_agli"sm em[sk+cod," cla"srN_MEMORYss="srsgpage" cN_MEMORYne" ]) + 1o>ordero/a>2532339fmm5232mclassass="sr s="sreffor_eaci>onrrrrUne"s8 class=5line" for_eaci>onrrrrUne"sne" aass="sr s="srefnid237852MEMAo/a>/3391t/oa hr33ef">bad_paef="_nopBud+co33ef">339LOC_N &r= ~s="srefass="sr s="sreflow_kmem_Nize8 class=5line" low_kmem_Nizene" e=F0;ordero/a>2532339">TIF_Mnop_paef23"mm/ass="sr s="sreftotal_Nize8 class=5line" total_NizeOC_Ne=F0;ordero/a>2532339 cerred_efded_compact4c.caass="sr s="srefz"li_typ"8 class=5line" zer"_typ"OC_Ne=m0;lass="sr s="srefzer"_typ"8 class=5line" zer"_typ"OC_Ne<lass="sr s="srefMAX_NR_ZONESss="srsgpage" cMAX_NR_ZONEScerr;lass="sr s="srefzer"_typ"8 class=5line" zer"_typ"OC_N++osam" class="5ref">52ME"""""""3394t/oa hr33rrrrrrrrrrrrp_maskode=o&33rrr>3394cerred_efded_compactref">TIF3k+cod," cla"srz8 class=5line" zOC_Ne=F&ass="sr s="srefNODE_DATA23782532/2populated_zer"8 class=5line" populated_zer"ne" aass="sr s="srefz8 class=5line" zOC_Noosam" class="5ref">52MEMAo/a>/3396t/oa hr33e=reset1">/2dflagaclas="33e=r>339eo/a>/*oa hrNULL+codred_efded_compactecemmmes/spa__1">/2zer"_typ"8 class=5line" zer"_typ"OC_Ne<lass="sr s="srefZONE_NORMAL8 class=5line" ZONE_NORMALder"oordero/a>2532339o/a>2391ordero/a>2532/*oa hrcuuuuuuuuu>33geo>339rder" class="sref">orref">TIF32mclassass="sr s="sreftotal_Nize8 class=5line" total_NizeOC_Ne+=e3ss="sr s="srefz8 class=5line" zOC_N->sk+cod," cla"srpsrsent_ordero/a>2532/*oa hrunluuuuuuu>33geo>339"mm5232mclass=5line" ULL+codrnshow3o/a>)5364/*oa hrunluuuuuuu>34int>340no/a>/*oa hrNULL+codrnshow3o/a>)5364bad_paef="_nopBud+co34if">340LOC_N &r= ~s="sref.cemsk+cod," cla"srlow_kmem_Nize8 class=5line" low_kmem_Nizene" e&&show3o/a>)5364340">TIF_Mnop_paef23"mm/ref"ass="sr s="sreftotal_Nize8 class=5line" total_NizeOC_Ne>/ass="sr s="srefavera 53Nize8 class=5line" avera 53NizeOC_Ne&& "bit moom ki1comment">/* ignore smfp_ ne"s */6">/28lass="sref"554340 cerred_efded_compactref"sk+cod," cla"srlow_kmem_Nize8 class=5line" low_kmem_Nizene" e>/ass="sr s="sreftotal_Nize8 class=5line" total_NizeOC_N * 70/100oordero/a>25323404cerred_efded_compactref">TIFreturnlloc.c#L256" i23ZONELIST_ORDER_NODE8 class=5line" ZONELIST_ORDER_NODEOC_N>ordero/a>2532/2dflagaclas="34i=r>340eo/a>/*oa hrNreturnlloc.c#L256" i23ZONELIST_ORDER_ZONE8 class=5line" ZONELIST_ORDER_ZONEOC_N>ordero/a>25323407lassnshow3o/a>)5364/*oa hrcuuuuuuuuu>34ieo>340ref">ordero/a>25842532bad_paef="_"+code= n34ef">341fmm52am" class="5ref">52MEMAo/a>/3411t/oa hr34ef">bad_paef="_________n34ef">3411o/a>/*oa hrN.cemsk+cod," cla"sruser_zer"list_ordad 423{mm5234 clauser_zer"list_ordadOC_Ne==e3ss="sr s="srefZONELIST_ORDER_DEFAULT8 class=5line" ZONELIST_ORDER_DEFAULTder"oordero/a>2532341">TIF_Mnop_paef23"mm/ass="sr s="srefcurrent_zer"list_ordad 423{mm5234 clacurrent_zer"list_ordadOC_Ne=msk+cod," cla"srdefaultrz93"list_ordad 423{mm5234 cladefaultrz93"list_ordadne" ao>ordero/a>2532341 cerred_efdedelseordero/a>25323414cerred_efded_compactsk+cod," cla"srcurrent_zer"list_ordad 423{mm5234 clacurrent_zer"list_ordadOC_Ne=msk+cod," cla"sruser_zer"list_ordad 423{mm5234 clauser_zer"list_ordadOC_N>ordero/a>2532rue """""""""""34i/*>341dulocnshow3o/a>)5364341eo/a>show3o/a>)53643417ulocagliic voidfass="sr s="srefbuild_="lilists 423{mm5234 clabuild_="lilistsne" aass="sr s="srefpg_data_s8 class=5line" pg_data_sne" eass="sref">orderpgdat8 class=5line" pgdatne" oordero/a>25323418ulocam" class="5ref">52MEMAo/a>/3419t/oa hr34geo/a>/"mm/page_alloc.c#34geo>341"mm5232mclasse_alloc.c#L256" i23j2378ordero/a>2532342no/a>/*oa hrNenumlass="sr s="srefzer"_typ"8 class=5line" zer"_typ"OC_Neass="sr s="srefi8 class=5line" im em>ordero/a>2532badnopBud+codrder" c34ef">3421o/a>/*oa hrNsk+cod," cla"srna"smask_t 423{mm5234 clana"smask_tOC_Neass="sr s="srefusad>mask 423{mm5234 clausad>maskder">ordero/a>25323422mm5232mclasse_alloc.c#L256" i23_mallUne"s8 class=5line" _mallUne"sOC_N,lloc.c#L256" i23rsrvUne"s8 class=5line" rsrvUne"sder">ordero/a>2532342 cerred_efdedge" class="f">iNULLpagzer"list8 class=5line" zer"listne" eass="sref">orderzer"list8 class=5line" zer"listne" >ordero/a>25323424OC_N &r= ._alloc.c#L256" i23ordad 423{mm5234 claordadOC_Ne=msk+cod," cla"srcurrent_zer"list_ordad 423{mm5234 clacurrent_zer"list_ordadOC_N>ordero/a>2532342dulocs="sref">l4kelyp43">gfp_mas3426t/oa hr34lass="f">i+code=o0rder" 34las>342eo/a>/*oa hrN"bit moom ki1comment">/* initialize ="lilistsm*/6">/28lass="sref"5543427o/a>/*oa hrN4c.caass="sr s="srefi8 class=5line" im eme=m0;lass="sr s="srefi8 class=5line" im eme<lass="sr s="srefMAX_ZONELISTSss="srsgpage" cMAX_ZONELISTScerr;lass="sr s="srefi8 class=5line" im em++osam" class="5ref">52ME"""""""3428t/oa hr34 "34 >342rder" class="sref">orss="f">iNULLpagzer"list8 class=5line" zer"listne" e=msk+cod," cla"srpgdat8 class=5line" pgdatne" ->sk+cod," cla"srna"s_="lilists 423{mm5234 clana"s_="lilistsm em +eass="sr s="srefi8 class=5line" im em>ordero/a>2532342"mm5232mclass=5line" ms="f">iNULLpagzer"list8 class=5line" zer"listne" ->sk+cod," cla"sr_zer""srNss="srsgpage" c_zer""srNm em[0].ass="sr s="srefzer"8 class=5line" zer"ne" e=msk+cod," cla"srNULLss="srsgpage" cNULLOC_N;ordero/a>253225323431o/a>/*oa hrNnshow3o/a>)5364343">TIFshow3o/a>)5364343 cerred_efded"bit moom ki1comment">/* NUMA-aware ordadingrof ne"sN */6">/28lass="sref"5543434cerred_efdedloc.c#L256" i23_mallUne"s8 class=5line" _mallUne"sOC_Ne=msk+cod," cla"srpgdat8 class=5line" pgdatne" ->sk+cod," cla"srna"s_id23782532343 cerred_efdroloc.c#L256" i23load2378onrrrrUne"sNss="srsgpage" cnr_onrrrrUne"sNOC_N;ordero/a>25322532343o/a>2391mask 423{mm5234 clausad>maskder"o>ordero/a>2532iNULLpa34epa>343ref">ordero/a>2584343"mm5232mclassass="sr s="srefmemsetss="srsgpage" cmemsetne" aass="sr s="srefno"s_ordad 423{mm5234 clane"s_ordadne" ef0efNizeofaass="sr s="srefno"s_ordad 423{mm5234 clane"s_ordadne" )o>ordero/a>2532bad_paef="_typ"page>34ef">344fmm5232mclassass="sr s="srefj23782532bad_paef="_________>34ef">344/LLLLLL4LL* p41"restartc3442t/oa hr34ooooooooooooooooooooooo>34ooo>344">TIF_Mnop_pawhile (aass="sr s="srefna"s2378ne"sss="srsgpage" cfind_next_best>ne"sne" aass="sr s="sref_mallUne"s8 class=5line" _mallUne"sOC_N,l&ass="sr s="srefusad>mask 423{mm5234 clausad>maskder"o)e>=m0osam" class="5ref">52ME"""""""34e3t/oa hr34hhhhhhhhhhhhhhhhhhhhhhh>34hhh>344 cerred_efded_compact"bit moom ki1comment">/*6">/28lass="sref"55434e=r>3444cerrabit moom ki1comment"> * We don't wa_alto psrssure a particular ne"s.6">/28lass="sref"554 * So addingrpenaltylto the first ne"s in sttt6">/28lass="sref"554iNU34t+c>3446ulocabit moom ki1comment"> * distance grouplto maks it round-robin.6">/28lass="sref"5543447ulocabit moom ki1comment"> */6">/28lass="sref"554344rder" class="sref">or.cemmmes/spa__1">/2ne"s_distance 423{mm5234 clane"s_distancene" aass="sr s="sref_mallUne"s8 class=5line" _mallUne"sOC_N,lass="sr s="srefna"s2378344"mm5232mclass=5line" ULL+mmes/spa__1">/2ne"s_distance 423{mm5234 clane"s_distancene" aass="sr s="sref_mallUne"s8 class=5line" _mallUne"sOC_N,lass="sr s="srefrsrvUne"s8 class=5line" rsrvUne"sder")oordero/a>2532ordero/a>2391345no/a>/*oa hrNULL+codrne" ULL+mmes/spa__1">/2ne"s_load2378ordero/a>2532345/LLLLLL4LL* p41"restartc3452t/oa hr34der" class="sf">iNULLpag34der>345">TIF_Mnop_paef23"mm/ass="sr s="srefrsrvUne"s8 class=5line" rsrvUne"sder"e=msk+cod," cla"srna"s2378ordero/a>2532TIF_Mnop_p34p_p>345 cerred_efded_compact"k+cod," cla"sr_mad2378ordero/a>25323454cerred_efded_compact.cemmmes/spa__1">/2ordad 423{mm5234 claordadOC_Ne==e3ss="sr s="srefZONELIST_ORDER_NODE8 class=5line" ZONELIST_ORDER_NODEOC_Noordero/a>2532ordero/a>2532345eo/a>/*oa hrNULL+codrelseordero/a>2532iNULLpag34der>345o/a>2391d"bit moom ki1comment">/* remember ordad */6">/28lass="sref"5543458>TIF_Mnop_panshow3o/a>)53643459ulocordero/a>2532346fmm5232mclass.cemmmes/spa__1">/2ordad 423{mm5234 claordadOC_Ne==e3ss="sr s="srefZONELIST_ORDER_ZONE8 class=5line" ZONELIST_ORDER_ZONEOC_Nosam" class="5ref">52ME"""""""3461t/oa hr34FP_THI h nathe un_age.34FP_>346LOC_N &r= ~s="srefabit moom ki1comment">/* allculate ne"s ordad -- i.e., DMA om t! */6">/28lass="sref"554346">TIF_Mnop_paef23"mm/ass="sr s="srefbuild_="lilistsUd+_z"li_ordad 423{mm5234 clabuild_="lilistsUd+_z"li_ordadne" aass="sr s="srefpgdat8 class=5line" pgdatne" efass="sr s="srefj2378ordero/a>2532iNULLpageo/a>/*o34ass>346 cerred_efdednshow3o/a>)5364/2dref"sss="sref">i 34_1">3464cerrshow3o/a>)5364346 cerred_efdroloc.c#L256" i23build_thisne"s_="lilists 423{mm5234 clabuild_thisne"s_="lilistsne" aass="sr s="srefpgdat8 class=5line" pgdatne" o>ordero/a>2532346eo/a>nshow3o/a>)5364i 5nsign575342/* Conge" clathe ="lilistrperformance cache - see further mm="li.h */6">/28lass="sref"554iNULLpag34pag>346"mm52agliic voidfass="sr s="srefbuild_="lilist_cache 423{mm5234 clabuild_="lilist_cachene" aass="sr s="srefpg_data_s8 class=5line" pg_data_sne" eass="sref">orderpgdat8 class=5line" pgdatne" oordero/a>2532347fmm52am" class="5ref">52MEMAo/a>/3471t/oa hr34int sepage" class="a243{34int>347LOC_N &r= ge" class="f">iNULLpagzer"list8 class=5line" zer"listne" eass="sref">orderzer"list8 class=5line" zer"listne" >ordero/a>25323472OC_N &r= ge" class="f">iNULLpagzer"list_cache 423{mm5234 cla="lilist_cachene" eass="sref">orderzlc 423{mm5234 cla=lcne" >ordero/a>2532iNULLpagzer"4 cl423{mm5234 cla="li4 cne" eass="sref">orderzl423{mm5234 cla=ne" >ordero/a>25323474cerrshow3o/a>)5364insremas34 cl>347 cerred_efdroloc.c#L256" i23zer"list8 class=5line" zer"listne" e=m&ass="sr s="srefpgdat8 class=5line" pgdatne" ->sk+cod," cla"srna"s_="lilists 423{mm5234 clana"s_="lilistsm em[0]>m" class="5ref">52MEMAo/a>/3476t/oa hr34297" i23"mm5237 class=5l34297>347eo/a>/*oa hrNass="sr s="srefzer"list8 class=5line" zer"listne" ->sk+cod," cla"sr=lcache_ptd 423{mm5234 cla=lcache_ptdder"e=msk+cod," cla"srzlc 423{mm5234 cla=lcne" e=m&ass="sr s="srefzer"list8 class=5line" zer"listne" ->sk+cod," cla"sr=lcache 423{mm5234 cla=lcachene" >ordero/a>2532ordero/a>2532347rder" class="4c.caass="sr s="srefzl423{mm5234 cla=ne" e=msk+cod," cla"srzer"list8 class=5line" zer"listne" ->sk+cod," cla"sr_zer""srNss="srsgpage" c_zer""srNm em;lass="sr s="srefzl423{mm5234 cla=ne" ->sk+cod," cla"sr=er"8 class=5line" zer"ne" ;lass="sr s="srefzl423{mm5234 cla=ne" ++oordero/a>2532347"mm5232mclass=5line" ms="f">iNULLpagzlc 423{mm5234 cla=lcne" ->sk+cod," cla"srz_to_n 423{mm5234 cla=_to_nne" [ass="sr s="srefzl423{mm5234 cla=ne" e-msk+cod," cla"srzer"list8 class=5line" zer"listne" ->sk+cod," cla"sr_zer""srNss="srsgpage" c_zer""srNm em]e=msk+cod," cla"sr="lilist_na"s_idx2378ordero/a>2532348fmm52nshow3o/a>)5364348/LLLLLL4LL* p41"restartc3482t/oa hr34ULL+codrder" class="sref34ULL>348">TIF#ifdefmsk+cod," cla"srCONFIG_HAVE_MEMORYLESS_NODESss="srsgpage" cCONFIG_HAVE_MEMORYLESS_NODESoL332">/LLLLLL4LL* p41"restartc3483t/oa hr34294" 423{mm5238 class=5l34294>348 cerrabit moom ki1comment">/*6">/28lass="sref"5543484cerrabit moom ki1comment"> * Returnlne"s idrof ne"s usad 4c.c"_mall" fp_maline"s.6">/28lass="sref"554348dulocabit moom ki1comment"> * I.e., first ne"s idrof first ="li in arg ne"s's ger""ic z"lilist.6">/28lass="sref"554/*oyclasgpage" cla34hre>3486ulocabit moom ki1comment"> * Usad 4c.cinitializingrpercpu 'numa_mem',awhich is usad primarilym >/28lass="sref"5543487ulocabit moom ki1comment"> * 4c.ckernel fp_maline"s, so usa GFP_KERNEL flags to lmalie z"lilist.6">/28lass="sref"554_ksprogressode=r34wak>3488ulocabit moom ki1comment"> */6">/28lass="sref"554348"mm52e_alloc.c#L256" i23_mallUmemoryUne"s8 class=5line" _mallUmemoryUne"sne" ae_alloc.c#L256" i23na"s2378349fmm52am" class="5ref">52MEMAo/a>/3491t/oa hr34ef">bad_paef="_nopBud+co34ef">349LOC_N &r= ge" class="f">iNULLpagzer"8 class=5line" zer"ne" eass="sref">orderzer"8 class=5line" zer"ne" ;m" class="5ref">52MEMAo/a>/3492t/oa hr34oooooooPageBuddy */o/spa34ooo>349">TIFshow3o/a>)5364349 cerred_efdedavoidosk+cod," cla"srfirst>zer"s_zer"list8 class=5line" first>zer"s_zer"listne" aass="sr s="srefno"s_zer"list8 class=5line" no"s_zer"listne" aass="sr s="srefno"s23783494cerred_efded_compactref">TIFass=5line" ms="f">iNULLpaggfp_zer"8 class=5line" gfp_zer"ne" aass="sr s="srefGFP_KERNEL2378iNULLpagNULLss="srsgpage" cNULLOC_N,ass="sref"554/2dflagaclas="34e=r>349eo/a>/*oa hrNULL+codred_efded_compact //&ass="sr s="srefz"li8 class=5line" zer"ne" o>ordero/a>2532349o/a>2391ordero/a>2532/*oa hrcuuuuuuuuu>34geo>349rder"nshow3o/a>)5364/*oa hrunluuuuuuu>34geo>349"mm52#endifshow3o/a>)5364/*oa hrunluuuuuuu>35int>350no/a>show3o/a>)5364bad_paef="_nopBud+co35if">350LOC_N#elsesefabit moom ki1comment">/* CONFIG_NUMA */6">/28lass="sref"554350">TIFshow3o/a>)5364350 cerragliic voidfass="sr s="srefset_zer"list_ordad 423{mm5234 claset_zer"list_ordadne" avoidoordero/a>25323504cerram" class="5ref">52MEMAo/a>/35i5t/oa hr35id_paef="_idxgnnopBud+co35id_>350 cerred_efdroloc.c#L256" i23current_zer"list_ordad 423{mm5234 clacurrent_zer"list_ordadOC_Ne=msk+cod," cla"srZONELIST_ORDER_ZONE8 class=5line" ZONELIST_ORDER_ZONEOC_N>ordero/a>2532/2dflagaclas="35i=r>350eo/a>nshow3o/a>)53643507lass="sref">i 5nsign575342/*oa hrcuuuuuuuuu>35ieo>350ref">agliic voidfass="sr s="srefbuild_="lilists 423{mm5234 clabuild_="lilistsne" aass="sr s="srefpg_data_s8 class=5line" pg_data_sne" eass="sref">orderpgdat8 class=5line" pgdatne" oordero/a>2532/*oa hrunluuuuuuu>35ieo>350"mm52am" class="5ref">52MEMAo/a>/351nt/oa hr35ef">bad_paef="_"+code= n35ef">351fmm5232mclass._alloc.c#L256" i23na"s23782532bad_paef="_________n35ef">3511o/a>/*oa hrNenumlass="sr s="srefzer"_typ"8 class=5line" zer"_typ"OC_Neass="sr s="srefj237825323512OC_N &r= ge" class="f">iNULLpagzer"list8 class=5line" zer"listne" eass="sref">orderzer"list8 class=5line" zer"listne" >ordero/a>2532351 cerrordero/a>25323514cerred_efdedloc.c#L256" i23loallUne"s8 class=5line" _mallUne"sOC_Ne=msk+cod," cla"srpgdat8 class=5line" pgdatne" ->sk+cod," cla"srna"s_id23782532rue """""""""""35i/*>351dulocs="sref">l4kelyp43">gfp_mas3516t/oa hr35he hesedy */o/""""""""""35he >351eo/a>/*oa hrNass="sr s="srefzer"list8 class=5line" zer"listne" e=m&ass="sr s="srefpgdat8 class=5line" pgdatne" ->sk+cod," cla"srna"s_="lilists 423{mm5234 clana"s_="lilistsm em[0]>m" class="5ref">52MEMAo/a>/3517t/oa hr35rrrrrrrrrrrrrrr"+code= n35rrr>351o/a>2391ordero/a>2532351ref">ordero/a>2584351"mm5232mclassabit moom ki1comment">/*6">/28lass="sref"5543528mm52abit moom ki1comment"> * Now we buildathe ="lilistrso that it containsathe ="lism >/28lass="sref"554badnopBud+codrder" c35ef">352 *rof fp_ the other ne"sN.6">/28lass="sref"554352">TIFabit moom ki1comment"> * We don't wa_alto psrssure a particular ne"s, so when6">/28lass="sref"554352 cerrabit moom ki1comment"> * buildingrthe ="lis 4c.cne"s N, we maks sure that tht6">/28lass="sref"5543524cerrabit moom ki1comment"> * ="lis comingrright after the _mall "lis are thosesfrom6">/28lass="sref"554352dulocabit moom ki1comment"> * ne"s N+1 (modulo N)6">/28lass="sref"554i+code=o0rder" 35las>3526ulocabit moom ki1comment"> */6">/28lass="sref"5543527o/a>/*oa hrN4c.caass="sr s="srefna"s237852ME"""""""3528t/oa hr35 "35 >352rder" class="sref">or.cem!sk+cod," cla"srne"s_on 23{mm5234 clana"s_on ne" aass="sr s="srefno"s23782532352"mm5232mclass=5line" continue>ordero/a>2532353LOC_N &r= ~s="srefffffffffffffffffffffffffffffffffffffffffass="sr s="srefMAX_NR_ZONESss="srsgpage" cMAX_NR_ZONEScerr - 1o>ordero/a>25323532OC_N &r= nshow3o/a>)5364353 cerred_efded4c.caass="sr s="srefna"s237852ME"""""""3534t/oa hr35es after it haoooooooohe35es >3534cerred_efded_compact.cem!sk+cod," cla"srne"s_on 23{mm5234 clana"s_on ne" aass="sr s="srefno"s23782532353 cerred_efdro_compactttttttttcontinue>ordero/a>2532353o/a>2391ordero/a>2532iNULLpa35epa>3538>TIF_Mnop_panshow3o/a>)53643539ulocordero/a>2532bad_paef="_typ"page>35ef">354fmm5232mclassass="sr s="srefzer"list8 class=5line" zer"listne" ->sk+cod," cla"sr_zer""srNss="srsgpage" c_zer""srNm em[sk+cod," cla"srj23782532bad_paef="_________>35ef">3541o/a>/*oa hrNsk+cod," cla"srzer"list8 class=5line" zer"listne" ->sk+cod," cla"sr_zer""srNss="srsgpage" c_zer""srNm em[sk+cod," cla"srj2378253235ooo>354">TIFnshow3o/a>)536435hhh>354 cerrordero/a>253235e=r>3544cerrabit moom ki1comment">/* nen-NUMA varia_alof ="lilistrperformance cache - justrNULL =lcache_ptd */6">/28lass="sref"554orderpgdat8 class=5line" pgdatne" oordero/a>2532iNU35t+c>3546ulocam" class="5ref">52ME"""""""3547t/oa hr35fffffffnopBud+codrder" c35fff>354o/a>23912532354rder"nshow3o/a>)53643549ulocordero/a>2532ordero/a>2391355no/a>#endifefabit moom ki1comment">/* CONFIG_NUMA */6">/28lass="sref"554355/LLLLLL4LL* p41"restartc3552t/oa hr35der" class="sf">iNULLpag35der>355">TIFabit moom ki1comment">/*6">/28lass="sref"554TIF_Mnop_p35p_p>355 cerrabit moom ki1comment"> * Bootrpa 5set ta_al. Onerper cpu which is goingrtoNbe usad 4c.cfp_6">/28lass="sref"5543554cerrabit moom ki1comment"> * ="lis and fp_ ne"sN. The parr_eters wip_ be set in such a waym >/28lass="sref"554 * that t mitem put e" a listrwip_ immediatelyNbe handad over tom >/28lass="sref"5543556ulocabit moom ki1comment"> * the buddy list. This is safe since pa 5set manipulatie" is der"ne>/28lass="sref"554iNULLpag35der>3557ulocabit moom ki1comment"> * withs._aerrupts disa_ald.6">/28lass="sref"5543558ulocabit moom ki1comment"> *6">/28lass="sref"5543559ulocabit moom ki1comment"> * The boot_pa 5sets mustrbe kept even after bootup is compleie for6">/28lass="sref"5543568mm52abit moom ki1comment"> * unusad processors and/c.c="lis. They de play a role for bootstrapping6">/28lass="sref"554356 * hotpluggad processors.6">/28lass="sref"554356">TIFabit moom ki1comment"> *6">/28lass="sref"554iNULLpageo/a>/*o35ass>356 cerrabit moom ki1comment"> * ="liinfo_show() and maybe other funcine"s de6">/28lass="sref"554/2dref"sss="sref">i 35_1">3564cerrabit moom ki1comment"> * notrcheckt.cethe processor is on rbefore fop_mwingrthe pa 5set po._aer.6">/28lass="sref"554356dulocabit moom ki1comment"> * Other partslof the kernel mayNnotrcheckt.cethe ="li is availa_al.6">/28lass="sref"5543566ulocabit moom ki1comment"> */6">/28lass="sref"554iNULLpagper_cpu_pa 5setss="srsgpage" cper_cpu_pa 5setne" eass="sref">orderpss="srsgpage" cpne" efunsignad longrass="sr s="srefbatch 423{mm5234 clabatchne" o;ordero/a>2532agliic ass="sr s="srefDEFINE_PER_CPU 423{mm5234 claDEFINE_PER_CPUne" age" class="f">iNULLpagper_cpu_pa 5setss="srsgpage" cper_cpu_pa 5setne" efsk+cod," cla"srboot_pa 5set 423{mm5234 claboot_pa 5setne" o;ordero/a>2532iNULLpag35pag>356"mm52agliic voidfass="sr s="srefsetup_z"li_pa 5setss="srsgpage" csetup_z"li_pa 5setne" age" class="f">iNULLpagzer"8 class=5line" zer"ne" eass="sref">orderzer"8 class=5line" zer"ne" o;ordero/a>2532357no/a>show3o/a>)5364/*6">/28lass="sref"554357">TIFabit moom ki1comment"> * Global mutexlto psoteclaagainstfNize modifialine"lof ="lilistsm >/28lass="sref"554 * as wep_ as to serialize pa 5set setup for the new populated ="li.6">/28lass="sref"5543574cerrabit moom ki1comment"> */6">/28lass="sref"554insremas35 cl>357 cerrass="sr s="srefDEFINE_MUTEX 423{mm5234 claDEFINE_MUTEXne" aass="sr s="sref="lilistsUmutex8 class=5line" zer"listsUmutexne" o;ordero/a>2532357eo/a>show3o/a>)5364/* returnlvaluis ._al....justrfor stop_machsrs() */6">/28lass="sref"554357ref">agliic ._alloc.c#L256" i23__build_fp__="lilists 423{mm5234 cla__build_fp__="lilistsne" avoidfass="sref">orderdata 423{mm5234 cladatane" oordero/a>2532357"mm52am" class="5ref">52MEMAo/a>/358nt/oa hr35281" i22"mm5238 class=5l35281>358fmm5232mclass._alloc.c#L256" i23nid237825323581mm5232mclass._alloc.c#L256" i23cpu23782532orderselcl423{mm5234 claselcder"e=msk+cod," cla"srdata 423{mm5234 cladatane" ;ordero/a>2532358 cerrordero/a>25323584cerr#ifdefmsk+cod," cla"srCONFIG_NUMA 423{mm5234 claCONFIG_NUMAcerrordero/a>2532358 cerred_efdroloc.c#L256" i23memsetss="srsgpage" cmemsetne" aass="sr s="srefno"s_load2378ordero/a>2532/*oyclasgpage" cla35hre>3586uloc#endifshow3o/a>)53643587lass="sref">i 5nsign575342_ksprogressode=r35wak>3588>TIF_Mnop_pa.cemmmes/spa__1">/2selcl423{mm5234 claselcder"e&& !sk+cod," cla"srne"s_on 23{mm5234 clana"s_on ne" aass="sr s="srefselcl423{mm5234 claselcder"->sk+cod," cla"srna"s_id237852ME"""""""3589t/oa hr35t+ccsepage" class="os="s35t+c>358"mm5232mclass=5line" ms="f">iNULLpagbuild_="lilists 423{mm5234 clabuild_="lilistsne" aass="sr s="srefselcl423{mm5234 claselcder"o>ordero/a>2532359no/a>/*oa hrNULL+codrsk+cod," cla"srbuild_="lilist_cache 423{mm5234 clabuild_="lilist_cachene" aass="sr s="srefselcl423{mm5234 claselcder"o>ordero/a>2532bad_paef="_nopBud+co35ef">3591o/a>/*oa hrNnshow3o/a>)5364359">TIFshow3o/a>)5364359 cerred_efdedass="sr s="sreffor_each_onrrrrUne"sl423{mm5234 clafor_each_onrrrrUne"sne" aass="sr s="srefnid237852ME"""""""3594t/oa hr35rrrrrrrrrrrrp_maskode=o&35rrr>3594cerred_efded_compactass="sr s="srefpg_data_s8 class=5line" pg_data_sne" eass="sref">orderpgdat8 class=5line" pgdatne" e=msk+cod," cla"srNODE_DATA2378ordero/a>2532l4kelyp43">gfp_mas3596t/oa hr35e=reset1">/2dflagaclas="35e=r>359eo/a>/*oa hrNULL+codrms="f">iNULLpagbuild_="lilists 423{mm5234 clabuild_="lilistsne" aass="sr s="srefpgdat8 class=5line" pgdatne" o>ordero/a>2532359o/a>2391ordero/a>2532/*oa hrcuuuuuuuuu>35geo>3598>TIF_Mnop_panshow3o/a>)5364/*oa hrunluuuuuuu>35geo>3599ulocordero/a>2532/*oa hrunluuuuuuu>36int>360fmm5232mclassabit moom ki1comment">/*6">/28lass="sref"554bad_paef="_nopBud+co36if">360 *rInitialize the boot_pa 5sets that tre goingrtoNbe usad6">/28lass="sref"554360">TIFabit moom ki1comment"> * for bootstrapping processors. The real pa 5sets for6">/28lass="sref"554360 cerrabit moom ki1comment"> * each ="li wip_ be fp_maliad later whenrthe per cpu6">/28lass="sref"5543604cerrabit moom ki1comment"> * fp_malior is availa_al.6">/28lass="sref"554 *6">/28lass="sref"554/2dflagaclas="36i=r>3606ulocabit moom ki1comment"> * boot_pa 5sets tre usad also for bootstrapping off ne>/28lass="sref"5543607ulocabit moom ki1comment"> * cpust.cethe system is already bootad becausa the pa 5setsm >/28lass="sref"554/*oa hrcuuuuuuuuu>36ieo>3608ulocabit moom ki1comment"> * fre needad toNinitialize fp_maliors e" a specifia cpu too.6">/28lass="sref"554/*oa hrunluuuuuuu>36ieo>3609ulocabit moom ki1comment"> * F.e.rthe percpu fp_malior needs the pa 5 fp_malior which6">/28lass="sref"554bad_paef="_"+code= n36ef">3618mm52abit moom ki1comment"> * needs the percpu fp_malior in ordad toNfp_malia its pa 5setsm >/28lass="sref"554bad_paef="_________n36ef">361 *r(a chicken-egg dilemma).6">/28lass="sref"554361">TIFabit moom ki1comment"> */6">/28lass="sref"554361 cerred_efdedass="sr s="sreffor_each_possi_al_cpu237852ME"""""""3614t/oa hr36es after it haoooooooooo36es >3614cerred_efded_compactass="sr s="srefsetup_pa 5setss="srsgpage" csetup_pa 5setne" a&ass="sr s="srefper_cpuss="srsgpage" cper_cpune" aass="sr s="srefboot_pa 5set 423{mm5234 claboot_pa 5setne" efsk+cod," cla"srcpu2378ordero/a>2532rue """""""""""36i/*>361dulocs="sref">l4kelyp43">gfp_mas3616t/oa hr36he hesedy */o/""""""""""36he >361eo/a>#ifdefmsk+cod," cla"srCONFIG_HAVE_MEMORYLESS_NODESss="srsgpage" cCONFIG_HAVE_MEMORYLESS_NODESoL332">/LLLLLL4LL* p41"restartc3617t/oa hr36rrrrrrrrrrrrrrr"+code= n36rrr>361o/a>2391/*6">/28lass="sref"5543618ulocabit moom ki1comment"> *rWe new knew the "_mall memory ne"s" for each ne"s--6">/28lass="sref"554/"mm/page_alloc.c#36geo>3619ulocabit moom ki1comment"> *ri.e., the no"s of the first ="li in the ger""ic z"lilist.6">/28lass="sref"5543628mm52abit moom ki1comment"> *rSet up numa_mem percpu variable for on- rcpus. During6">/28lass="sref"554badnopBud+codrder" c36ef">362 *rboot, on y the boot cpu should be on- ; ws'p_ init tht6">/28lass="sref"554362">TIFabit moom ki1comment"> *rsecondary cpus' numa_mem as they come on- . During6">/28lass="sref"554362 cerrabit moom ki1comment"> *rno"s/memory hotplug, ws'p_ fixup fp_ on- rcpus.6">/28lass="sref"5543624cerrabit moom ki1comment"> */6">/28lass="sref"554362 cerred_efdro_compact.cemmmes/spa__1">/2cpu_on 23{mm5234 clacpu_on ne" aass="sr s="srefcpu23782532i+code=o0rder" 36las>362eo/a>/*oa hrNULL+codred_efdedass="sr s="srefset_cpu_numa_memss="srsgpage" cset_cpu_numa_memne" aass="sr s="srefcpu2378/2cpu_to_ne"s8 class=5line" cpu_to_ne"sne" aass="sr s="srefcpu2378ordero/a>25323627o/a>#endifshow3o/a>)53643628>TIF_Mnop_panshow3o/a>)53643629ulocordero/a>2532363LOC_Nnshow3o/a>)5364363">TIFshow3o/a>)5364363 cerrabit moom ki1comment">/*6">/28lass="sref"5543634cerrabit moom ki1comment"> * Cfp_ad withszer"listsUmutex held alwaysm >/28lass="sref"554363dulocabit moom ki1comment"> * unless system_agliee==eSYSTEM_BOOTING.6">/28lass="sref"554 */6">/28lass="sref"554363o/a>2voidfass="sr s="sref__f23"423{mm5234 cla__r cne" eass="sr s="srefbuild_fp__="lilists 423{mm5234 clabuild_fp__="lilistsne" aass="sr s="srefpg_data_s8 class=5line" pg_data_sne" eass="sref">orderpgdat8 class=5line" pgdatne" , ge" class="f">iNULLpagzer"8 class=5line" zer"ne" eass="sref">orderzer"8 class=5line" zer"ne" oordero/a>2532iNULLpa36epa>3638>TIFam" class="5ref">52ME"""""""3639t/oa hr36ppppppppppppppppppppppp"36ppp>363"mm5232mclassass="sr s="srefset_zer"list_ordad 423{mm5234 claset_zer"list_ordadne" ao>ordero/a>2532bad_paef="_typ"page>36ef">364no/a>show3o/a>)5364bad_paef="_________>36ef">3641o/a>/*oa hrN.cemmmes/spa__1">/2system_aglie 423{mm5234 clasystem_agliene" e==msk+cod," cla"srSYSTEM_BOOTING 423{mm5234 claSYSTEM_BOOTINGne" osam" class="5ref">52ME"""""""3642t/oa hr36ooooooooooooooooooooooo>36ooo>364">TIF_Mnop_paef23"mm/ass="sr s="sref__build_fp__="lilists 423{mm5234 cla__build_fp__="lilistsne" ask+cod," cla"srNULLss="srsgpage" cNULLOC_No>ordero/a>253236hhh>364 cerred_efded_compact"k+cod," cla"srmminit_v""ify_zer"list8 class=5line" mminit_v""ify_zer"listne" ao>ordero/a>253236e=r>3644cerred_efded_compactass="sr s="srefcpuset_init_current_mems3""""wed2378ordero/a>253252ME"""""""3646t/oa hr36t+csepage" class="f">iNU36t+c>364eo/a>/*oa hrNULL+codrmbit moom ki1comment">/* we have to stop fp_ cpustto guarantea theri is no usar6">/28lass="sref"5543647ulocabit moom ki1comment"> of ="lilistr*/6">/28lass="sref"554364rder"#ifdefmsk+cod," cla"srCONFIG_MEMORY_HOTPLUG 423{mm5234 claCONFIG_MEMORY_HOTPLUGo/a>show3o/a>)5364364"mm5232mclass=5line" .cemmmes/spa__1">/2zer"8 class=5line" zer"ne" oordero/a>2532ordero/a>2391365no/a>/*oa hrNULL+codr32mclassass="sr s="srefsetup_z"li_pa 5setss="srsgpage" csetup_z"li_pa 5setne" ammes/spa__1">/2zer"8 class=5line" zer"ne" o>ordero/a>25323651o/a>#endifshow3o/a>)5364iNULLpag36der>365">TIF_Mnop_paef23"mm/ass="sr s="srefstop_machsrsss="srsgpage" cstop_machsrsne" ammes/spa__1">/2__build_fp__="lilists 423{mm5234 cla__build_fp__="lilistsne" ,lloc.c#L256" i23pgdat8 class=5line" pgdatne" efass="sr s="srefNULLss="srsgpage" cNULLOC_No>ordero/a>2532TIF_Mnop_p36p_p>365 cerred_efded_compact"bit moom ki1comment">/* cpusetNrefresh rout rshould be heri */6">/28lass="sref"5543654cerred_efdednshow3o/a>)5364ordero/a>2532365eo/a>/*oa hrNabit moom ki1comment">/*6">/28lass="sref"554iNULLpag36der>3657ulocabit moom ki1comment"> * Disa_al grouping by mobilityt.cethe number of pa 5s in the6">/28lass="sref"5543658ulocabit moom ki1comment"> * system is too lmw toNfp_mw the mechanism toNwork. ItNwould be6">/28lass="sref"5543659ulocabit moom ki1comment"> * more accurlie, but expensive to checktper-="li. This checkt.sm >/28lass="sref"5543668mm52abit moom ki1comment"> * ma"s on memory-hotadd so a system ct maglrt withsmobilitym >/28lass="sref"554366 * disa_ald and ena_al it laterm >/28lass="sref"554366">TIFabit moom ki1comment"> */6">/28lass="sref"554iNULLpageo/a>/*o36ass>366 cerred_efded.cemmmes/spa__1">/2vm_total_pa 5sss="srsgpage" cvm_total_pa 5sne" e<laass="sr s="srefpa 5b_mak_nr_pa 5sss="srsgpage" cpa 5b_mak_nr_pa 5sne" eafass="sr s="srefMIGRATE_TYPESss="srsgpage" cMIGRATE_TYPESne" ooordero/a>2532/2dref"sss="sref">i 36_1">3664cerred_efded_compactass="sr s="srefpa 53group_by_mobility_disa_aldss="srsgpage" cpa 53group_by_mobility_disa_aldne" e=m1>ordero/a>2532366 cerred_efdroelseordero/a>2532366eo/a>/*oa hrNULL+codrms="f">iNULLpagpa 53group_by_mobility_disa_aldss="srsgpage" cpa 53group_by_mobility_disa_aldne" e=m0;ordero/a>2532i 5nsign575342"Built %iszer"lists in %s ordad, mobilitytgrouping %s. "6">/28lass="sref"554iNULLpag36pag>366"mm5232mclass=5line" mbit moom ki1string">"Total pa 5s: %ld\n"6">/28l,ass="sref"554367no/a>/*oa hrNULL+codr32mclassass="sr s="srefnr_onrrrrUne"ssss="srsgpage" cnr_onrrrrUne"ssne" eass="sref"554/2zer"list_ordad_="a28 class=5line" zer"list_ordad_="a2OC_N[sk+cod," cla"srcurrent_zer"list_ordad 423{mm5234 clacurrent_zer"list_ordadOC_N]eass="sref"554367">TIF_Mnop_paef23"mm/ULL+codrms="f">iNULLpagpa 53group_by_mobility_disa_aldss="srsgpage" cpa 53group_by_mobility_disa_aldne" e? mbit moom ki1string">"off"6">/28l : mbit moom ki1string">"on"6">/28l,ass="sref"554iNULLpagvm_total_pa 5sss="srsgpage" cvm_total_pa 5sne" o>ordero/a>25323674cerr#ifdefmsk+cod," cla"srCONFIG_NUMA 423{mm5234 claCONFIG_NUMAcerrordero/a>2532insremas36 cl>367 cerred_efdroloc.c#L256" i23printkss="srsgpage" cprintkne" ambit moom ki1string">"Policyszer": %s\n"6">/28l,lass="sr s="srefzer"_nsresss="srsgpage" czer"_nsresOC_N[sk+cod," cla"srpolicy_zer"8 class=5line" policy_zer"OC_N]o>ordero/a>25323676uloc#endifshow3o/a>)5364367ref">ordero/a>2584/*6">/28lass="sref"5543688mm52abit moom ki1comment"> * Helper funcine"s to size the waitqueue hash ta_al.6">/28lass="sref"554368 * Essentifp_y these wa_alto chooseshash ta_al sizes sufficientlym >/28lass="sref"554TIFabit moom ki1comment"> * largerso that collisne"s tryingrtoNwait on pa 5s fre rfre.6">/28lass="sref"554368 cerrabit moom ki1comment"> * But in fact,ethe number of active pa 5 waitqueues e" typica_6">/28lass="sref"5543684cerrabit moom ki1comment"> * systems is ridiculous_y low, less than 200. So this is even6">/28lass="sref"554368dulocabit moom ki1comment"> * ce"servative, even though it seems large.6">/28lass="sref"554/*oyclasgpage" cla36hre>3686ulocabit moom ki1comment"> *6">/28lass="sref"5543687ulocabit moom ki1comment"> * The ce"sta_alPAGES_PER_WAITQUEUE specifies the rline of pa 5s tom >/28lass="sref"554_ksprogressode=r36wak>3688ulocabit moom ki1comment"> * waitqueues,ri.e.ethe size of the waitq ta_al givenrthe number of pa 5s.6">/28lass="sref"5543689ulocabit moom ki1comment"> */6">/28lass="sref"554369no/a>#def rsk+cod," cla"srPAGES_PER_WAITQUEUE8 class=5line" PAGES_PER_WAITQUEUEcerred_ef256ass="sref"554bad_paef="_nopBud+co36ef">369/LLLLLL4LL* p41"restartc3692t/oa hr36oooooooPageBuddy */o/spa36ooo>369">TIF#ifndefmsk+cod," cla"srCONFIG_MEMORY_HOTPLUG 423{mm5234 claCONFIG_MEMORY_HOTPLUGo/a>show3o/a>)5364369 cerragliic sk+cod," cla"srin 23{mm5234 clain ne" funsignad longrass="sr s="srefwait_ta_al_hash_nr_entriesss="srsgpage" cwait_ta_al_hash_nr_entriesne" aunsignad longrass="sr s="srefpa 5sss="srsgpage" cpa 5sne" oordero/a>25323694cerram" class="5ref">52MEMAo/a>/3695t/oa hr36ad_paef="_idxgnnopBud+co36ad_>369 cerred_efdrounsignad longrass="sr s="srefsizess="srsgpage" csizene" e=m1>ordero/a>2532/2dflagaclas="36e=r>369eo/a>show3o/a>)5364369o/a>2391ordero/a>2532/*oa hrcuuuuuuuuu>36geo>369ref">ordero/a>2584/2sizess="srsgpage" csizene" e<lass="sr s="srefpa 5sss="srsgpage" cpa 5sne" oordero/a>2532/*oa hrunluuuuuuu>37int>370no/a>/*oa hrNULL+codrsk+cod," cla"srsizess="srsgpage" csizene" e<<=m1>ordero/a>2532bad_paef="_nopBud+co37if">370/LLLLLL4LL* p41"restartc37i2t/oa hr37iooooooPageBuddy */o/spa37ioo>3702OC_N &r= abit moom ki1comment">/*6">/28lass="sref"554370 cerrabit moom ki1comment"> * Once we have dozens or even hundreds of threads sleeping6">/28lass="sref"5543704cerrabit moom ki1comment"> * e" IO ws've got bigger pro_alms than wait queue collisne".6">/28lass="sref"554 * Limit tht size of the wait ta_al toNf reasona_al size.6">/28lass="sref"554/2dflagaclas="37i=r>3706ulocabit moom ki1comment"> */6">/28lass="sref"554370o/a>2391/2sizess="srsgpage" csizene" , 4096ULo>ordero/a>2532/*oa hrcuuuuuuuuu>37ieo>370ref">ordero/a>2584/2sizess="srsgpage" csizene" , 4ULo>ordero/a>2532bad_paef="_"+code= n37ef">3718mm52nshow3o/a>)5364bad_paef="_________n37ef">3711o/a>#elseordero/a>2532371">TIFabit moom ki1comment">/*6">/28lass="sref"554371 cerrabit moom ki1comment"> * Aszer"'sfNize might be changad by hot-add, so it is not possi_al toNdeterm ne>/28lass="sref"5543714cerrabit moom ki1comment"> * a suita_al size for its wait_ta_al. So we usa the maximum size now.6">/28lass="sref"554rue """""""""""37i/*>371dulocabit moom ki1comment"> *6">/28lass="sref"5543716ulocabit moom ki1comment"> * The max wait ta_al size = 4096 xfNizeofawait_queue_head_t). ie:6">/28lass="sref"5543717ulocabit moom ki1comment"> *6">/28lass="sref"5543718ulocabit moom ki1comment"> *lassi386 (preempine"lconfig)lass: 4096 xf16 = 64Kbyte.6">/28lass="sref"554/"mm/page_alloc.c#37geo>3719ulocabit moom ki1comment"> *lassia64, x86-64 (no psrempine"): 4096 xf20 = 80Kbyte.6">/28lass="sref"5543728mm52abit moom ki1comment"> *lassia64, x86-64 (psrempine")ass: 4096 xf24 = 96Kbyte.6">/28lass="sref"554badnopBud+codrder" c37ef">372 *6">/28lass="sref"554372">TIFabit moom ki1comment"> * The maximum entries fre psrpfred whenraszer"'sfmemory is (512K +f256) pa 5sne>/28lass="sref"554372 cerrabit moom ki1comment"> * or more by the tradiine"al way. (See above). It equals:6">/28lass="sref"5543724cerrabit moom ki1comment"> *6">/28lass="sref"554372dulocabit moom ki1comment"> *lassi386, x86-64, powerpc(4K pa 5 Nize)s: = ( 2Ge+ 1M)byte.6">/28lass="sref"554i+code=o0rder" 37las>3726ulocabit moom ki1comment"> *lassia64(16K pa 5 Nize)sssssssssssssssss: = ( 8Ge+ 4M)byte.6">/28lass="sref"5543727ulocabit moom ki1comment"> * powerpc (64K pa 5 Nize)sssssssssssss: = (32Ge+16M)byte.6">/28lass="sref"5543728ulocabit moom ki1comment"> */6">/28lass="sref"554372"mm52agliic sk+cod," cla"srin 23{mm5234 clain ne" funsignad longrass="sr s="srefwait_ta_al_hash_nr_entriesss="srsgpage" cwait_ta_al_hash_nr_entriesne" aunsignad longrass="sr s="srefpa 5sss="srsgpage" cpa 5sne" oordero/a>253252MEMAo/a>/3731t/oa hr37opBud+codrder" clasasbal37opB>373LOC_N &r= returnl4096UL>ordero/a>2532373">TIFnshow3o/a>)5364373 cerr#endifshow3o/a>)53643734cerrshow3o/a>)5364373dulocabit moom ki1comment">/*6">/28lass="sref"554 * This is t minteger logarithmrso that shifts ct mbe usad laterm >/28lass="sref"5543737ulocabit moom ki1comment"> * toNextract tht more random high bits from tht multiplialinv ne>/28lass="sref"554iNULLpa37epa>3738ulocabit moom ki1comment"> *lhash funcine"rbefore the remaindad is take".6">/28lass="sref"5543739ulocabit moom ki1comment"> */6">/28lass="sref"554bad_paef="_typ"page>37ef">374no/a>agliic sk+cod," cla"srin 23{mm5234 clain ne" funsignad longrass="sr s="srefwait_ta_al_bitsss="srsgpage" cwait_ta_al_bitsne" aunsignad longrass="sr s="srefsizess="srsgpage" csizene" oordero/a>2532bad_paef="_________>37ef">3741o/a>am" class="5ref">52MEMAo/a>/3742t/oa hr37ooooooooooooooooooooooo>37ooo>374">TIF_Mnop_pareturnl"k+cod," cla"srffzss="srsgpage" cffzne" a~ass="sr s="srefsizess="srsgpage" csizene" o>ordero/a>253237hhh>374 cerrnshow3o/a>)536437e=r>3744cerrshow3o/a>)5364/2x8 class=5line" xne" o ((ammes/spa__1">/2x8 class=5line" xne" o+(Nizeofalong))-1)&~((Nizeofalong))-1)oordero/a>2532iNU37t+c>374eo/a>show3o/a>)53643747ulocabit moom ki1comment">/*6">/28lass="sref"5543748ulocabit moom ki1comment"> *lCheckt.cea pa 5b_maklcontainsareservad pa 5sne>/28lass="sref"5543749ulocabit moom ki1comment"> */6">/28lass="sref"554ordero/a>2391375no/a>agliic ._alloc.c#L256" i23pa 5b_mak_is_reservadss="srsgpage" cpa 5b_mak_is_reservadne" aunsignad longrass="sr s="srefsglrt_pfn8 class=5line" sglrt_pfnne" , unsignad longrass="sr s="srefend_pfn8 class=5line" end_pfnne" oordero/a>25323751o/a>am" class="5ref">52MEMAo/a>/3752t/oa hr37der" class="sf">iNULLpag37der>375">TIF_Mnop_paunsignad longrass="sr s="srefpfn8 class=5line" pfnne" >ordero/a>2532TIF_Mnop_p37p_p>375 cerrordero/a>25323754cerred_efdedfor aass="sr s="srefpfn8 class=5line" pfnne" e=m"k+cod," cla"srsglrt_pfn8 class=5line" sglrt_pfnne" ;lass="sr s="srefpfn8 class=5line" pfnne" e<lass="sr s="srefend_pfn8 class=5line" end_pfnne" ;lass="sr s="srefpfn8 class=5line" pfnne" ++osam" class="5ref">52ME"""""""3755t/oa hr37epage" class="kmem>/* r_37epa>375 cerred_efdrooooooooo.cem!sk+cod," cla"srpfn_valid_within8 class=5line" pfn_valid_withinne" ammes/spa__1">/2pfn8 class=5line" pfnne" ) ||msk+cod," cla"srP">5Reservadss="srsgpage" cP">5Reservadne" ammes/spa__1">/2pfn_to_f">58 class=5line" pfn_to_f">5ne" ammes/spa__1">/2pfn8 class=5line" pfnne" ))oordero/a>2532375eo/a>/*oa hrNULL+codred_efdedreturnl1>ordero/a>2532iNULLpag37der>375o/a>2391)53643758cerred_efdroreturnl0;ordero/a>25323759ulocnshow3o/a>)5364376no/a>show3o/a>)5364376/*6">/28lass="sref"554376">TIFabit moom ki1comment"> * Markea number of pa 5b_maks as MIGRATE_RESERVE. The number6">/28lass="sref"554iNULLpageo/a>/*o37ass>376 cerrabit moom ki1comment"> * of b_maks reservad is basad on min_wmark_pa 5s(zer"). The memory withinne>/28lass="sref"554/2dref"sss="sref">i 37_1">3764cerrabit moom ki1comment"> * the reserva wip_ tend to store ce"tiguous free pa 5s.rSettingrmin_frei_kbytesne>/28lass="sref"554376dulocabit moom ki1comment"> * higher wip_ lead toNf bigger reserva which wip_ get freed as ce"tiguousne>/28lass="sref"5543766ulocabit moom ki1comment"> * b_maks as reoomim kiaks inne>/28lass="sref"554 */6">/28lass="sref"554agliic voidfass="sr s="srefsetup_z"li_migrlie_reserva8 class=5line" setup_z"li_migrlie_reservane" age" class="f">iNULLpagzer"8 class=5line" zer"ne" eass="sref">orderzer"8 class=5line" zer"ne" oordero/a>2532iNULLpag37pag>376"mm52am" class="5ref">52MEMAo/a>/377nt/oa hr37e" class="order" class="37e" >377no/a>/*oa hrNunsignad longrass="sr s="srefsglrt_pfn8 class=5line" sglrt_pfnne" , mmes/spa__1">/2pfn8 class=5line" pfnne" , mmes/spa__1">/2end_pfn8 class=5line" end_pfnne" efsk+cod," cla"srb_mak_end_pfn8 class=5line" b_mak_end_pfnne" >ordero/a>2532iNULLpagp">58 class=5line" p">5ne" eass="sref">orderp">58 class=5line" p">5ne" >ordero/a>2532377">TIF_Mnop_paunsignad longrass="sr s="srefb_mak_migrlietyp58 class=5line" b_mak_migrlietyp5ne" >ordero/a>2532ordero/a>25323774cerrshow3o/a>)5364insremas37 cl>377 cerred_efdrolbit moom ki1comment">/*6">/28lass="sref"5543776ulocabit moom ki1comment"> * Get tht sglrt pfn, end pfn and the number of b_maks toNreservane>/28lass="sref"554 * We have to be casreul to be alignad to pa 5b_mak_nr_pa 5s tom >/28lass="sref"5543778ulocabit moom ki1comment"> * makt sure that we always checktpfn_valid for the first pa 5 inne>/28lass="sref"5543779ulocabit moom ki1comment"> * the b_mak.6">/28lass="sref"5543788mm52abit moom ki1comment"> */6">/28lass="sref"5543781mm5232mclassass="sr s="srefsglrt_pfn8 class=5line" sglrt_pfnne" e=m"k+cod," cla"srzer"8 class=5line" zer"ne" ->sk+cod," cla"srz"li_sglrt_pfn8 class=5line" z"li_sglrt_pfnne" >ordero/a>2532/28nad_pa 5sss="srsgpage" c>/28nad_pa 5sne" >ordero/a>2532378 cerred_efdedass="sr s="srefsglrt_pfn8 class=5line" sglrt_pfnne" e=m"k+cod," cla"srroundup8 class=5line" roundupne" ammes/spa__1">/2sglrt_pfn8 class=5line" sglrt_pfnne" , mmes/spa__1">/2pa 5b_mak_nr_pa 5sss="srsgpage" cpa 5b_mak_nr_pa 5sne" o>ordero/a>25323784cerred_efdedass="sr s="srefreserva8 class=5line" reservane" e=m"k+cod," cla"srroundup8 class=5line" roundupne" ammes/spa__1">/2min_wmark_pa 5s8 class=5line" min_wmark_pa 5sne" ammes/spa__1">/2zer"8 class=5line" zer"ne" o, mmes/spa__1">/2pa 5b_mak_nr_pa 5sss="srsgpage" cpa 5b_mak_nr_pa 5sne" o >>ordero/a>2532378 cerred_efdrooooooooooooooooooooooooooooooooooooooooooooooooommes/spa__1">/2pa 5b_mak_ordad 423{mm5234 clapa 5b_mak_ordadne" >ordero/a>2532/*oyclasgpage" cla37hre>378eo/a>show3o/a>)53643787cerred_efdrolbit moom ki1comment">/*6">/28lass="sref"554_ksprogressode=r37wak>3788ulocabit moom ki1comment"> * Reserva b_maks are ger""fp_y in place to help high-ordad atomic6">/28lass="sref"5543789ulocabit moom ki1comment"> * fp_maaine"s that tre short-lived. Armin_frei_kbytes value that6">/28lass="sref"5543798mm52abit moom ki1comment"> * would result in more than 2 reserva b_maks for atomic fp_maaine"s6">/28lass="sref"554bad_paef="_nopBud+co37ef">379 * is tssumad to be in place to help anti-fragmentaine" for the6">/28lass="sref"554379">TIFabit moom ki1comment"> * future fp_maaine" of hugepa 5s at runtime.6">/28lass="sref"554379 cerrabit moom ki1comment"> */6">/28lass="sref"5543794cerred_efdedass="sr s="srefreserva8 class=5line" reservane" e=m"k+cod," cla"srmin8 class=5line" minne" a2, mmes/spa__1">/2reserva8 class=5line" reservane" o>ordero/a>2532l4kelyp43">gfp_mas3796t/oa hr37e=reset1">/2dflagaclas="37e=r>379eo/a>/*oa hrNfor aass="sr s="srefpfn8 class=5line" pfnne" e=m"k+cod," cla"srsglrt_pfn8 class=5line" sglrt_pfnne" ;lass="sr s="srefpfn8 class=5line" pfnne" e<lass="sr s="srefend_pfn8 class=5line" end_pfnne" ;lass="sr s="srefpfn8 class=5line" pfnne" +=m"k+cod," cla"srpa 5b_mak_nr_pa 5sss="srsgpage" cpa 5b_mak_nr_pa 5sne" o am" class="5ref">52MEMAo/a>/3797t/oa hr37rrrrrrrrrrrrrrrrrrrrrrr"37rrr>379o/a>2391/2pfn8 class=5line" pfnne" ))m" class="5ref">52MEMAo/a>/3798t/oa hr37geo/a>/*oa hrcuuuuuuuuu>37geo>3798>TIF_Mnop_paaaaaaaaaaaaaaaaace"tinue>ordero/a>2532/*oa hrunluuuuuuu>37geo>379"mm5232mclass=5line" ms="f">iNULLpagp">58 class=5line" p">5ne" e=m"k+cod," cla"srpfn_to_f">58 class=5line" pfn_to_f">5ne" ammes/spa__1">/2pfn8 class=5line" pfnne" )>ordero/a>2532/*oa hrunluuuuuuu>38int>380no/a>show3o/a>)5364bad_paef="_nopBud+co38if">380LOC_N &r= ~s="sref"bit moom ki1comment">/* Watch out for overlapping ne"ss */6">/28lass="sref"554380">TIF_Mnop_paef23"mm/.cemmmes/spa__1">/2/2p">58 class=5line" p">5ne" ) !=m"k+cod," cla"srzer"0to_nid8 class=5line" zer"0to_nidne" ammes/spa__1">/2zer"8 class=5line" zer"ne" o)m" class="5ref">52MEMAo/a>/38i3t/oa hr38ihhhhhhit+ccsepage" clas38ihh>380 cerred_efded_compactULL+codrce"tinue>ordero/a>25323804cerrshow3o/a>)5364/2p">58 class=5line" p">5ne" )>ordero/a>2532/2dflagaclas="38i=r>380eo/a>show3o/a>)5364380o/a>2391/* On y test what is necessary whenrthe reservas are not metr*/6">/28lass="sref"554/*oa hrcuuuuuuuuu>38ieo>3808>TIF_Mnop_paaaaaaaaa.cemmmes/spa__1">/2reserva8 class=5line" reservane" e> 0o am" class="5ref">52MEMAo/a>/38i9t/oa hr38ieo/a>/*oa hrunluuuuuuu>38ieo>380"mm5232mclass=5line" ef23"mm/abit moom ki1comment">/*6">/28lass="sref"554bad_paef="_"+code= n38ef">3818mm52abit moom ki1comment"> * B_maks withsreservad pa 5s wip_ never frei, skip6">/28lass="sref"554bad_paef="_________n38ef">381 * them.6">/28lass="sref"554381">TIFabit moom ki1comment"> */6">/28lass="sref"554381 cerred_efded_compactULL+codrsk+cod," cla"srb_mak_end_pfn8 class=5line" b_mak_end_pfnne" e=m"k+cod," cla"srmin8 class=5line" minne" ammes/spa__1">/2pfn8 class=5line" pfnne" +m"k+cod," cla"srpa 5b_mak_nr_pa 5sss="srsgpage" cpa 5b_mak_nr_pa 5sne" , mmes/spa__1">/2end_pfn8 class=5line" end_pfnne" )>ordero/a>25323814cerred_efded_compacttttttttt.cemmmes/spa__1">/2/2pfn8 class=5line" pfnne" , mmes/spa__1">/2b_mak_end_pfn8 class=5line" b_mak_end_pfnne" o)m" class="5ref">52MEMAo/a>/3815t/oa hr38i/* ret">rue """""""""""38i/*>381 cerred_efdroooooooooooooooooooooooooce"tinue>ordero/a>2532381eo/a>show3o/a>)5364381o/a>2391/* If this b_maklis reservad, account for it */6">/28lass="sref"5543818>TIF_Mnop_paaaaaaaaaaaaaaaaa.cemmmes/spa__1">/2b_mak_migrlietyp58 class=5line" b_mak_migrlietyp5ne" e==m"k+cod," cla"srMIGRATE_RESERVE8 class=5line" MIGRATE_RESERVEne" o am" class="5ref">52MEMAo/a>/3819t/oa hr38geo/a>/"mm/page_alloc.c#38geo>381"mm5232mclass=5line" ef23"mm/ULL+codrsk+cod," cla"srreserva8 class=5line" reservane" -->ordero/a>2532382no/a>/*oa hrNULL+codr32mclassooooooooce"tinue>ordero/a>2532badnopBud+codrder" c38ef">382LOC_N &r= ~s="srefffffffffnshow3o/a>)5364382">TIFshow3o/a>)5364382 cerred_efded_compactULL+codrsbit moom ki1comment">/* Suita_al for reserving if this b_maklis mova_al */6">/28lass="sref"5543824cerred_efded_compacttttttttt.cemmmes/spa__1">/2b_mak_migrlietyp58 class=5line" b_mak_migrlietyp5ne" e==m"k+cod," cla"srMIGRATE_MOVABLE8 class=5line" MIGRATE_MOVABLEne" o am" class="5ref">52MEMAo/a>/3825t/oa hr38 */o/spa2398382 cerred_efdro_compactef23"mm/ULL+codrsk+cod," cla"srset_pa 5b_mak_migrlietyp58 class=5line" set_pa 5b_mak_migrlietyp5ne" ammes/spa__1">/2p">58 class=5line" p">5ne" ,ass="sref"554i+code=o0rder" 38las>382eo/a>/*oa hrNULL+codred_efdeded_efdro_compactef23"mm/ULL+codrsk+cod," cla"srMIGRATE_RESERVE8 class=5line" MIGRATE_RESERVEne" o>ordero/a>2532382o/a>2391/2zer"8 class=5line" zer"ne" , mmes/spa__1">/2pa 58 class=5line" p">5ne" ,ass="sref"5543828>TIF_Mnop_paaaaaaaaaaaaaaaaaed_efdro_compactef23"mm/ULL+codrsk+cod," cla"srMIGRATE_RESERVE8 class=5line" MIGRATE_RESERVEne" o>ordero/a>2532382"mm5232mclass=5line" ef23"mm/ULL+codrsk+cod," cla"srreserva8 class=5line" reservane" -->ordero/a>2532ordero/a>2532383LOC_N &r= ~s="srefffffffffnshow3o/a>)5364383">TIF_Mnop_paef23"mm/nshow3o/a>)5364383 cerrordero/a>25323834cerred_efded_compactabit moom ki1comment">/*6">/28lass="sref"554383dulocabit moom ki1comment"> * If the reserva is met and this is t psrvious reservad b_mak,6">/28lass="sref"554 * take it baakne>/28lass="sref"5543837ulocabit moom ki1comment"> */6">/28lass="sref"554iNULLpa38epa>3838>TIF_Mnop_paaaaaaaaa.cemmmes/spa__1">/2b_mak_migrlietyp58 class=5line" b_mak_migrlietyp5ne" e==m"k+cod," cla"srMIGRATE_RESERVE8 class=5line" MIGRATE_RESERVEne" o am" class="5ref">52MEMAo/a>/3839t/oa hr38ppppppppppppppppppppppp"38ppp>383"mm5232mclass=5line" ef23"mm/ak+cod," cla"srset_pa 5b_mak_migrlietyp58 class=5line" set_pa 5b_mak_migrlietyp5ne" ammes/spa__1">/2p">58 class=5line" p">5ne" ,m"k+cod," cla"srMIGRATE_MOVABLE8 class=5line" MIGRATE_MOVABLEne" o>ordero/a>2532bad_paef="_typ"page>38ef">384no/a>/*oa hrNULL+codr32mclassass="sr s="srefmove_freipa 5s_b_mak8 class=5line" move_freipa 5s_b_makne" ammes/spa__1">/2zer"8 class=5line" zer"ne" , mmes/spa__1">/2pa 58 class=5line" p">5ne" ,m"k+cod," cla"srMIGRATE_MOVABLE8 class=5line" MIGRATE_MOVABLEne" o>ordero/a>2532bad_paef="_________>38ef">384LOC_N &r= ~s="srefnshow3o/a>)536438ooo>384">TIF_Mnop_panshow3o/a>)536438hhh>384 cerrnshow3o/a>)536438e=r>3844cerrshow3o/a>)5364/*6">/28lass="sref"554iNU38t+c>3846ulocabit moom ki1comment"> * Initifp_y fp_ pa 5s fre reservad - free er"s fre freed6">/28lass="sref"5543847ulocabit moom ki1comment"> * up by frei_fp__bootmem() erce the ear_y boot processt.sm >/28lass="sref"5543848ulocabit moom ki1comment"> *ld"li. Non-atomic initifpizaine", single-pm k.6">/28lass="sref"5543849ulocabit moom ki1comment"> */6">/28lass="sref"554ordero/a>2391385no/a>voidfass="sr s="sref__meminit8 class=5line" __meminit>TIF_ass="sr s="srefmemmap_init_zer"8 class=5line" memmap_init_zer"ne" aunsignad longrass="sr s="srefsizess="srsgpage" csizene" ,d._alloc.c#L256" i23nid8 class=5line" nidne" , unsignad longrass="sr s="srefzer"8 class=5line" zer"ne" ,ass="sref"554385LOC_N &r= ~s="srefunsignad longrass="sr s="srefsglrt_pfn8 class=5line" sglrt_pfnne" , enum_ass="sr s="srefmemmap_ce"text8 class=5line" memmap_ce"text>TIF_ass="sr s="srefce"text8 class=5line" ce"text>TIF)m" class="5ref">52MEMAo/a>/3852t/oa hr38der" class="sf">iNULLpag38der>385">TIFam" class="5ref">52MEMAo/a>/3853t/oa hr38p_pass="sref">TIF_Mnop_p38p_p>385 cerred_efdedge" class="f">iNULLpagp">58 class=5line" p">5ne" eass="sref">orderp">58 class=5line" p">5ne" >ordero/a>25323854cerred_efdedunsignad longrass="sr s="srefend_pfn8 class=5line" end_pfnne" e=m"k+cod," cla"srsglrt_pfn8 class=5line" sglrt_pfnne" +m"k+cod," cla"srsizess="srsgpage" csizene" >ordero/a>2532ordero/a>2532385eo/a>/*oa hrNge" class="f">iNULLpagzer"8 class=5line" zer"ne" eass="sref">orderz8 class=5line" zne" >ordero/a>2532iNULLpag38der>3857lass="sref">i 5nsign5753423858cerred_efdro.cemmmes/spa__1">/2highest_memmap_pfn8 class=5line" highest_memmap_pfnne" e<lass="sr s="srefend_pfn8 class=5line" end_pfnne" - 1)m" class="5ref">52MEMAo/a>/3859t/oa hr38280" i23"mm5236mclass=5l38280>385"mm5232mclass=5line" ms="f">iNULLpaghighest_memmap_pfn8 class=5line" highest_memmap_pfnne" e=m"k+cod," cla"srend_pfn8 class=5line" end_pfnne" - 1>ordero/a>2532386no/a>show3o/a>)53643861mm5232mclassass="sr s="srefz8 class=5line" zne" e=m&ass="sr s="srefNODE_DATA 423{mm5234 claNODE_DATAne" ammes/spa__1">/2nid8 class=5line" nidne" )->sk+cod," cla"srne"s_zer"sss="srsgpage" cne"s_zer"sne" [sk+cod," cla"srzer"8 class=5line" zer"ne" ]>ordero/a>2532386">TIF_Mnop_pafor aass="sr s="srefpfn8 class=5line" pfnne" e=m"k+cod," cla"srsglrt_pfn8 class=5line" sglrt_pfnne" ;lass="sr s="srefpfn8 class=5line" pfnne" e<lass="sr s="srefend_pfn8 class=5line" end_pfnne" ;lass="sr s="srefpfn8 class=5line" pfnne" ++osam" class="5ref">52ME"""""""3863t/oa hr38ass="f">iNULLpageo/a>/*o38ass>386 cerred_efded_compactabit moom ki1comment">/*6">/28lass="sref"554/2dref"sss="sref">i 38_1">3864cerrabit moom ki1comment"> * There ct mbe holes in boot-time mem_map[]sm >/28lass="sref"554386dulocabit moom ki1comment"> * handad to this funcine". Theyld" notm >/28lass="sref"5543866ulocabit moom ki1comment"> * exist on hotpluggad memory.6">/28lass="sref"554 */6">/28lass="sref"554/2ce"text8 class=5line" ce"text>TIFe==m"k+cod," cla"srMEMMAP_EARLY8 class=5line" MEMMAP_EARLYne" o am" class="5ref">52MEMAo/a>/3869t/oa hr38page" class="f">iNULLpag38pag>386"mm5232mclass=5line" ef23"mm/.cem!sk+cod," cla"srear_y_pfn_valid8 class=5line" ear_y_pfn_validne" ammes/spa__1">/2pfn8 class=5line" pfnne" o)m" class="5ref">52MEMAo/a>/387nt/oa hr38e" class="order" class="38e" >387no/a>/*oa hrNULL+codr32mclassooooooooce"tinue>ordero/a>2532/2pfn8 class=5line" pfnne" , mmes/spa__1">/2nid8 class=5line" nidne" ))m" class="5ref">52MEMAo/a>/3872t/oa hr38e" class=" &r= ~s="sr38e" >387">TIF_Mnop_paef23"mm/32mclassooooooooce"tinue>ordero/a>25323874cerred_efded_compactas="f">iNULLpagp">58 class=5line" p">5ne" e=m"k+cod," cla"srpfn_to_f">58 class=5line" pfn_to_f">5ne" ammes/spa__1">/2pfn8 class=5line" pfnne" )>ordero/a>2532insremas38 cl>387 cerred_efdro_compactak+cod," cla"srset_pa 5_refksss="srsgpage" c>et_pa 5_refksne" ammes/spa__1">/2p">58 class=5line" p">5ne" ,m"k+cod," cla"srzer"8 class=5line" zer"ne" , mmes/spa__1">/2nid8 class=5line" nidne" , mmes/spa__1">/2pfn8 class=5line" pfnne" )>ordero/a>2532387eo/a>/*oa hrNULL+codrass="sr s="srefmminit_verify_pa 5_refksss="srsgpage" cmminit_verify_pa 5_refksne" ammes/spa__1">/2p">58 class=5line" p">5ne" ,m"k+cod," cla"srzer"8 class=5line" zer"ne" , mmes/spa__1">/2nid8 class=5line" nidne" , mmes/spa__1">/2pfn8 class=5line" pfnne" )>ordero/a>2532/2init_/2p">58 class=5line" p">5ne" )>ordero/a>25323878>TIF_Mnop_paaaaaaaaask+cod," cla"srreset_/2p">58 class=5line" p">5ne" )>ordero/a>2532387"mm5232mclass=5line" ms="f">iNULLpagreset_/2p">58 class=5line" p">5ne" )>ordero/a>2532388no/a>/*oa hrNULL+codrsk+cod," cla"srSetPa>5Reservadss="srsgpage" cSetPa>5Reservadne" ammes/spa__1">/2p">58 class=5line" p">5ne" )>ordero/a>2532388LOC_N &r= ~s="sref"bit moom ki1comment">/*6">/28lass="sref"554TIFabit moom ki1comment"> * Markethe b_mak mova_al so that b_maks are reservad for6">/28lass="sref"554388 cerrabit moom ki1comment"> * mova_al at sglrtup. This wip_ force kernel fp_maaine"s6">/28lass="sref"5543884cerrabit moom ki1comment"> * toNreservaetheir b_maks rather than leaking throughoutm >/28lass="sref"554388dulocabit moom ki1comment"> * the addresstbitce during boot whenrmany long-livedm >/28lass="sref"554/*oyclasgpage" cla38hre>3886ulocabit moom ki1comment"> * kernel fp_maaine"s are made. Later soma b_maks nearm >/28lass="sref"5543887ulocabit moom ki1comment"> * tht sglrt are markad MIGRATE_RESERVE bym >/28lass="sref"554_ksprogressode=r38wak>3888ulocabit moom ki1comment"> * setup_z"li_migrlie_reserva()m >/28lass="sref"5543889ulocabit moom ki1comment"> *m >/28lass="sref"5543898mm52abit moom ki1comment"> * bitmap is crelied for zer"'sfvalid pfn ranga. but memmapm >/28lass="sref"554bad_paef="_nopBud+co38ef">389 * ct mbe crelied for invalid pa 5s (for alignment)m >/28lass="sref"554389">TIFabit moom ki1comment"> * checkthere not toNcfp_ set_pa 5b_mak_migrlietyp5() againstm >/28lass="sref"554389 cerrabit moom ki1comment"> * pfn out of zer".6">/28lass="sref"5543894cerrabit moom ki1comment"> */6">/28lass="sref"554/2z8 class=5line" zne" ->sk+cod," cla"srz"li_sglrt_pfn8 class=5line" z"li_sglrt_pfnne" e<=m"k+cod," cla"srpfn8 class=5line" pfnne" )ass="sref"554/2dflagaclas="38e=r>389eo/a>/*oa hrNULL+codred_e&& aass="sr s="srefpfn8 class=5line" pfnne" e<lass="sr s="srefz8 class=5line" zne" ->sk+cod," cla"srz"li_sglrt_pfn8 class=5line" z"li_sglrt_pfnne" e+m"k+cod," cla"srz8 class=5line" zne" ->sk+cod," cla"sr>/28nad_pa 5sss="srsgpage" c>/28nad_pa 5sne" )ass="sref"554389o/a>239152MEMAo/a>/3898t/oa hr38geo/a>/*oa hrcuuuuuuuuu>38geo>3898>TIF_Mnop_paaaaaaaaaaaaaaaaaak+cod," cla"srset_pa 5b_mak_migrlietyp58 class=5line" set_pa 5b_mak_migrlietyp5ne" ammes/spa__1">/2p">58 class=5line" p">5ne" ,m"k+cod," cla"srMIGRATE_MOVABLE8 class=5line" MIGRATE_MOVABLEne" o>ordero/a>2532/*oa hrunluuuuuuu>38geo>389"mm52ordero/a>2532/*oa hrunluuuuuuu>39int>390no/a>/*oa hrNULL+codrsk+cod," cla"srINIT_LIST_HEAD8 class=5line" INIT_LIST_HEADne" a&ass="sr s="srefp">58 class=5line" p">5ne" ->sk+cod," cla"srlru8 class=5line" lrune" o>ordero/a>2532bad_paef="_nopBud+co39if">390LOC_N#ifdefrsk+cod," cla"srWANT_PAGE_VIRTUAL8 class=5line" WANT_PAGE_VIRTUALmm52ordero/a>2532390">TIF_Mnop_paef23"mm/sbit moom ki1comment">/* The shift won't overflowmbecausa ZONE_NORMAL is belowm4G. */6">/28lass="sref"554390 cerred_efded_compact.cem!sk+cod," cla"sris_highmem_idx8 class=5line" is_highmem_idxne" ammes/spa__1">/2zer"8 class=5line" zer"ne" o)m" class="5ref">52MEMAo/a>/39i4t/oa hr39irrrrrrrrrrrp_maskode=o&39irr>3904cerred_efded_compactttttttttak+cod," cla"srset_pa 5_addressss="srsgpage" c>et_pa 5_addressne" ammes/spa__1">/2p">58 class=5line" p">5ne" ,m"k+cod," cla"sr__va8 class=5line" __vane" ammes/spa__1">/2pfn8 class=5line" pfnne" e<<lass="sr s="srefPAGE_SHIFT8 class=5line" PAGE_SHIFTne" o)>ordero/a>2532/2dflagaclas="39i=r>390eo/a>/*oa hrNnshow3o/a>)5364390o/a>2nshow3o/a>)5364/*oa hrcuuuuuuuuu>39ieo>3908>TIFshow3o/a>)5364/*oa hrunluuuuuuu>39ieo>390"mm52agliic voidfass="sr s="sref__meminit8 class=5line" __meminit>TIF_ass="sr s="srefz"li_init_frei_listsss="srsgpage" cz"li_init_frei_listsne" age" class="f">iNULLpagzer"8 class=5line" zer"ne" eass="sref">orderzer"8 class=5line" zer"ne" oordero/a>2532bad_paef="_"+code= n39ef">391no/a>am" class="5ref">52MEMAo/a>/3911t/oa hr39ef">bad_paef="_________n39ef">391LOC_N &r= ._alloc.c#L256" i23ordad 423{mm5234 claordadne" ,m"k+cod," cla"srt8 class=5line" tne" >ordero/a>25323912OC_N &r= ass="sr s="sreffor_each_migrlietyp5_ordad 423{mm5234 clafor_each_migrlietyp5_ordadne" ammes/spa__1">/2ordad 423{mm5234 claordadne" ,m"k+cod," cla"srt8 class=5line" tne" o am" class="5ref">52MEMAo/a>/3913t/oa hr39SNODE may choooooooooooo39SNO>391 cerred_efded_compactsk+cod," cla"srINIT_LIST_HEAD8 class=5line" INIT_LIST_HEADne" a&ass="sr s="srefzer"8 class=5line" zer"ne" ->sk+cod," cla"srfrei_frea8 class=5line" frei_freane" [sk+cod," cla"srordad 423{mm5234 claordadne" ].sk+cod," cla"srfrei_list8 class=5line" frei_listne" [sk+cod," cla"srt8 class=5line" tne" ])>ordero/a>25323914cerred_efded_compactass="sr s="srefzer"8 class=5line" zer"ne" ->sk+cod," cla"srfrei_frea8 class=5line" frei_freane" [sk+cod," cla"srordad 423{mm5234 claordadne" ].sk+cod," cla"srnr_frei8 class=5line" nr_freine" e=m0;ordero/a>2532rue """""""""""39i/*>391 cerred_efdronshow3o/a>)5364391eo/a>nshow3o/a>)53643917lass="sref">i 5nsign5753423918>TIF#ifndefrsk+cod," cla"sr__HAVE_ARCH_MEMMAP_INIT8 class=5line" __HAVE_ARCH_MEMMAP_INITlass="sref">i 5nsign575342/"mm/page_alloc.c#39geo>391"mm52#def rsk+cod," cla"srmemmap_initss="srsgpage" cmemmap_initne" ammes/spa__1">/2sizess="srsgpage" csizene" ,dmmes/spa__1">/2nid8 class=5line" nidne" , mmes/spa__1">/2zer"8 class=5line" zer"ne" , mmes/spa__1">/2sglrt_pfn8 class=5line" sglrt_pfnne" ) \="sref">i 5nsign575342392no/a>/*oa hrNsk+cod," cla"srmemmap_init_zer"8 class=5line" memmap_init_zer"ne" aammes/spa__1">/2sizess="srsgpage" csizene" ), aass="sr s="srefnid8 class=5line" nidne" ), aass="sr s="srefzer"8 class=5line" zer"ne" o, ammes/spa__1">/2sglrt_pfn8 class=5line" sglrt_pfnne" o, mmes/spa__1">/2MEMMAP_EARLY8 class=5line" MEMMAP_EARLYne" o="sref">i 5nsign575342badnopBud+codrder" c39ef">392LOC_N#endifshow3o/a>)5364392">TIFshow3o/a>)5364392 cerragliic ._alloc.c#L256" i23__meminit8 class=5line" __meminit>TIF_ass="sr s="srefz"li_batchsizess="srsgpage" cz"li_batchsizene" age" class="f">iNULLpagzer"8 class=5line" zer"ne" eass="sref">orderzer"8 class=5line" zer"ne" oordero/a>25323924cerram" class="5ref">52MEMAo/a>/3925t/oa hr39 */o/spa2398392 cerr#ifdefrsk+cod," cla"srCONFIG_MMU8 class=5line" CONFIG_MMU>TIFshow3o/a>)5364i+code=o0rder" 39las>392eo/a>/*oa hrN._alloc.c#L256" i23batch8 class=5line" batchne" >ordero/a>25323927lass="sref">i 5nsign5753423928>TIF_Mnop_pa"bit moom ki1comment">/*6">/28lass="sref"5543929ulocabit moom ki1comment"> * The per-cpu-pa 5s pools are set toNaround 1000th of the6">/28lass="sref"554 * size of the zer". But no more than 1/2 of a meg.6">/28lass="sref"554393 *6">/28lass="sref"554393">TIFabit moom ki1comment"> * OK, so weld"l't know howmbig the cacha is. So gue k.6">/28lass="sref"554393 cerrabit moom ki1comment"> */6">/28lass="sref"5543934cerred_efdedloc.c#L256" i23batch8 class=5line" batchne" e=m"k+cod," cla"srzer"8 class=5line" zer"ne" ->sk+cod," cla"srpresent_pa 5sss="srsgpage" cpresent_pa 5sne" e/ 1024>ordero/a>2532393 cerred_efdro.cemmmes/spa__1">/2batch8 class=5line" batchne" e*lass="sr s="srefPAGE_SIZE8 class=5line" PAGE_SIZEne" e> 512e*l1024oordero/a>2532ordero/a>25323937cerred_efdedloc.c#L256" i23batch8 class=5line" batchne" e/= 4;a hrNULL+codrabit moom ki1comment">/* We effectively *= 4 belowm*/6">/28lass="sref"554iNULLpa39epa>3938cerred_efdro.cemmmes/spa__1">/2batch8 class=5line" batchne" e<l1)m" class="5ref">52MEMAo/a>/3939t/oa hr39ppppppppppppppppppppppp"39ppp>393"mm5232mclass=5line" ass="sr s="srefbatch8 class=5line" batchne" e=m1>ordero/a>2532bad_paef="_typ"page>39ef">394no/a>show3o/a>)5364bad_paef="_________>39ef">394LOC_N &r= "bit moom ki1comment">/*6">/28lass="sref"55439ooo>394">TIFabit moom ki1comment"> * Clampethe batch toNf 2^n - 1 value. Having a power6">/28lass="sref"55439hhh>394 cerrabit moom ki1comment"> * of 2 value was found to be more likely to havane>/28lass="sref"55439e=r>3944cerrabit moom ki1comment"> * suboptimal cacha aliasing properties in soma casek.6">/28lass="sref"554 *6">/28lass="sref"554iNU39t+c>3946ulocabit moom ki1comment"> * For exampleo.ce2 tasks are alternate_y fp_maainng6">/28lass="sref"5543947ulocabit moom ki1comment"> * batches of pa 5s, er" task ct mend up withsa lotm >/28lass="sref"5543948ulocabit moom ki1comment"> * of pa 5s of er" half of the possi_al pa 5 colors6">/28lass="sref"5543949ulocabit moom ki1comment"> * and the other withspa 5s of the other colors.6">/28lass="sref"554ordero/a>23913958mm52abit moom ki1comment"> */6">/28lass="sref"5543951mm5232mclassass="sr s="srefbatch8 class=5line" batchne" e=m"k+cod," cla"srrounddown_pow_of_two8 class=5line" rounddown_pow_of_twone" ammes/spa__1">/2batch8 class=5line" batchne" e+m"k+cod," cla"srbatch8 class=5line" batchne" /2) - 1>ordero/a>2532iNULLpag39der>395">TIFshow3o/a>)5364TIF_Mnop_p39p_p>395 cerred_efdedreturnlloc.c#L256" i23batch8 class=5line" batchne" >ordero/a>25323954cerrshow3o/a>)5364395eo/a>/*oa hrNsbit moom ki1comment">/* The deferral and batching of freis should bt suppressed undad NOMMU>T>/28lass="sref"554iNULLpag39der>3957ulocabit moom ki1comment"> * condiine"s.6">/28lass="sref"5543958ulocabit moom ki1comment"> *6">/28lass="sref"5543959ulocabit moom ki1comment"> * The pro_alm is that NOMMU needs to be a_al toNfp_maaie lar 5 chufksne>/28lass="sref"5543968mm52abit moom ki1comment"> * of ce"tiguous memory as ther"'sfno hardware pa 5 translaine" tom >/28lass="sref"554396 * m kem_al apparent ce"tiguous memory from disce"tiguous pa 5s.6">/28lass="sref"554396">TIFabit moom ki1comment"> *6">/28lass="sref"554iNULLpageo/a>/*o39ass>396 cerrabit moom ki1comment"> * Queueing lar 5 ce"tiguous runs of pa 5s for batching, however,6">/28lass="sref"554/2dref"sss="sref">i 39_1">3964cerrabit moom ki1comment"> * ctusek the pa 5s toNfctufp_y be freed in smaller chufks. As ther"6">/28lass="sref"554396dulocabit moom ki1comment"> * ct mbe a significt t delay betweenrthe individufp batches benng6">/28lass="sref"5543966ulocabit moom ki1comment"> *drecyclad, this leads to the orce lar 5 chufks of bitce benng6">/28lass="sref"554 * fragmented and becoming unavaila_al for high-ordad ap_maaine"s.6">/28lass="sref"554 */6">/28lass="sref"554iNULLpag39pag>396"mm5232mclassreturnl0;ordero/a>2532397no/a>#endifshow3o/a>)5364397">TIFshow3o/a>)5364iNULLpagper_cpu_pa 5set8 class=5line" per_cpu_pa 5setne" eass="sref">orderp8 class=5line" pne" , unsignad longrass="sr s="srefbatch8 class=5line" batchne" )m" class="5ref">52MEMAo/a>/3974t/oa hr39285" i22"mm52375class=5l39285>3974cerram" class="5ref">52MEMAo/a>/39e5t/oa hr39 class="srsref">insremas39 cl>397 cerred_efdroge" class="f">iNULLpagper_cpu_pa 5s8 class=5line" per_cpu_pa 5sne" eass="sref">orderpcp8 class=5line" pcpne" >ordero/a>2532397eo/a>/*oa hrN._alloc.c#L256" i23migrlietyp58 class=5line" migrlietyp5ne" >ordero/a>2532i 5nsign5753423978>TIF_Mnop_pask+cod," cla"srmemset8 class=5line" memsetne" ammes/spa__1">/2p8 class=5line" pne" , 0, sizeof(ass="sref">orderp8 class=5line" pne" o)>ordero/a>2532397"mm52ordero/a>2532398no/a>/*oa hrNsk+cod," cla"srpcp8 class=5line" pcpne" e=m&ass="sr s="srefp8 class=5line" pne" ->sk+cod," cla"srpcp8 class=5line" pcpne" >ordero/a>25323981mm5232mclassass="sr s="srefpcp8 class=5line" pcpne" ->sk+cod," cla"srcount8 class=5line" countne" e=m0;ordero/a>2532ordero/a>25323983OC_N &r= ass="sr s="srefpcp8 class=5line" pcpne" ->sk+cod," cla"srbatch8 class=5line" batchne" e=m"k+cod," cla"srmax8 class=5line" maxne" a1UL, 1e*lass="sr s="srefbatch8 class=5line" batchne" )>ordero/a>25323984cerred_efdedfor aass="sr s="srefmigrlietyp58 class=5line" migrlietyp5ne" e=m0;lloc.c#L256" i23migrlietyp58 class=5line" migrlietyp5ne" e<lass="sr s="srefMIGRATE_PCPTYPES8 class=5line" MIGRATE_PCPTYPESne" >lloc.c#L256" i23migrlietyp58 class=5line" migrlietyp5ne" ++)m" class="5ref">52MEMAo/a>/3985t/oa hr39re empty andLthaC/* re u39re >398 cerred_efdro_compactak+cod," cla"srINIT_LIST_HEAD8 class=5line" INIT_LIST_HEADne" a&ass="sr s="srefpcp8 class=5line" pcpne" ->sk+cod," cla"srlistsss="srsgpage" clistsne" [sk+cod," cla"srmigrlietyp58 class=5line" migrlietyp5ne" ])>ordero/a>2532/*oyclasgpage" cla39hre>398eo/a>nshow3o/a>)53643987lass="sref">i 5nsign575342_ksprogressode=r39wak>3988ulocabit moom ki1comment">/*6">/28lass="sref"5543989ulocabit moom ki1comment"> * setup_/28lass="sref"5543998mm52abit moom ki1comment"> * to the value high for the pa 5set p.6">/28lass="sref"554bad_paef="_nopBud+co39ef">399 */6">/28lass="sref"554399">TIFshow3o/a>)5364399 cerragliic voidfass="sr s="srefsetup_pa 5list_highmark8 class=5line" setup_pa 5list_highmarkne" age" class="f">iNULLpagper_cpu_pa 5set8 class=5line" per_cpu_pa 5setne" eass="sref">orderp8 class=5line" pne" ,show3o/a>)53643994cerred_efded_compactttttttttttttttttunsignad longrass="sr s="srefhigh8 class=5line" highne" )m" class="5ref">52MEMAo/a>/3995t/oa hr39ad_paef="_idxgnnopBud+co39ad_>399 cerram" class="5ref">52MEMAo/a>/3996t/oa hr39e=reset1">/2dflagaclas="39e=r>399eo/a>/*oa hrNge" class="f">iNULLpagper_cpu_pa 5s8 class=5line" per_cpu_pa 5sne" eass="sref">orderpcp8 class=5line" pcpne" >ordero/a>25323997lass="sref">i 5nsign575342/*oa hrcuuuuuuuuu>39geo>3998>TIF_Mnop_pask+cod," cla"srpcp8 class=5line" pcpne" e=m&ass="sr s="srefp8 class=5line" pne" ->sk+cod," cla"srpcp8 class=5line" pcpne" >ordero/a>2532/*oa hrunluuuuuuu>39geo>3999>TIF_Mnop_pask+cod," cla"srpcp8 class=5line" pcpne" ->sk+cod," cla"srhigh8 class=5line" highne" e=msk+cod," cla"srhigh8 class=5line" highne" >ordero/a>2532/*oa hrunluuuuuuu>40int>40inOC_N &r= ass="sr s="srefpcp8 class=5line" pcpne" ->sk+cod," cla"srbatch8 class=5line" batchne" e=m"k+cod," cla"srmax8 class=5line" maxne" a1UL, sk+cod," cla"srhigh8 class=5line" highne" /4)>or/pre>
                                                                                                                                                                                                                                  rdero/a>2532bad_paef="_nopBud+co40if">40iLOC_N &r= .cemammes/spa__1">/2high8 class=5line" highne" /4)e> ammes/spa__1">/2PAGE_SHIFT8 class=5line" PAGE_SHIFTne"  * 8o)m" class="5ref">52MEMAo/a>/40i2t/oa hr40iooooooPageBuddy */o/spa40ioo>40i">TIF_Mnop_paef23"mm/sss="sr s="srefpcp8 class=5line" pcpne" ->sk+cod," cla"srbatch8 class=5line" batchne" e=m"k+cod," cla"srPAGE_SHIFT8 class=5line" PAGE_SHIFTne"  * 8>ordero/a>253240i cerrnshow3o/a>)536440i4cerrshow3o/a>)5364TIF_ass="sr s="srefsetup_z"li_pa 5set8 class=5line" setup_z"li_pa 5setne" age" class="f">iNULLpagzer"8 class=5line" zer"ne" eass="sref">orderzer"8 class=5line" zer"ne" oordero/a>2532/2dflagaclas="40i=r>40i6cerram" class="5ref">52MEMAo/a>/40i7t/oa hr40irrrrrrrrrrrrrrrrrrrrrr"40irr>40i7cerred_efded._alloc.c#L256" i23cpu8 class=5line" cpune" >ordero/a>2532/*oa hrcuuuuuuuuu>40ieo>40i8>TIFshow3o/a>)5364/*oa hrunluuuuuuu>40ieo>40i9>TIF_Mnop_pask+cod," cla"srzer"8 class=5line" zer"ne" ->sk+cod," cla"srpa 5set8 class=5line" pa 5setne" e=m"k+cod," cla"sref23"_percpu8 class=5line" ef23"_percpune" age" class="f">iNULLpagper_cpu_pa 5set8 class=5line" per_cpu_pa 5setne" )>ordero/a>2532bad_paef="_"+code= n40ef">40ef>TIFshow3o/a>)5364bad_paef="_________n40ef">40e1mm5232mclassass="sr s="sreffor_each_possi_al_cpu8 class=5line" for_each_possi_al_cpune" ammes/spa__1">/2cpu8 class=5line" cpune" o am" class="5ref">52MEMAo/a>/40e2t/oa hr40oooooooooooooooPageBuddy40ooo>40e">TIF_Mnop_paef23"mm/ge" class="f">iNULLpagper_cpu_pa 5set8 class=5line" per_cpu_pa 5setne" eass="sref">orderpcp8 class=5line" pcpne" e=mss="f">iNULLpagper_cpu_ptd 423{mm5234 claper_cpu_ptdne" ammes/spa__1">/2zer"8 class=5line" zer"ne" ->sk+cod," cla"srpa 5set8 class=5line" pa 5setne" , sk+cod," cla"srcpu8 class=5line" cpune" o>ordero/a>253240e cerrordero/a>253240e4cerred_efded_compactass="sr s="srefsetup_pa 5set8 class=5line" setup_pa 5setne" ass="sref">orderpcp8 class=5line" pcpne" , mmes/spa__1">/2zer"_batchsizess="srsgpage" cz"li_batchsizene" ass="sref">orderzer"8 class=5line" zer"ne" oo>ordero/a>2532rue """""""""""40i/*>40e5cerrordero/a>253240eeo/a>/*oa hrNULL+codr.cemmmes/spa__1">/2percpu_pa 5list_fracine" 423{mm5234 clapercpu_pa 5list_fracine"ne" oordero/a>253240eo/a>2391orderpcp8 class=5line" pcpne" ,ordero/a>253240e8>TIF_Mnop_paaaaaaaaaaaaaaaaaaaaaaaaaammes/spa__1">/2zer"8 class=5line" zer"ne" ->sk+cod," cla"srpresent_pa 5sss="srsgpage" cpresent_pa 5sne" e/ordero/a>2532/"mm/page_alloc.c#40geo>40e"mm5232mclass=5line" ef23"mm/ef23"mm/ed_epactass="sr s="srefpercpu_pa 5list_fracine" 423{mm5234 clapercpu_pa 5list_fracine"ne" oo>ordero/a>25324028mm5232mclassnshow3o/a>)5364badnopBud+codrder" c40ef">402LOC_Nnshow3o/a>)5364402">TIFshow3o/a>)5364402 cerrabit moom ki1comment">/*6">/28lass="sref"5544024cerrabit moom ki1comment"> * Ap_maaie per cpu pa 5sets and initifpizaethem.6">/28lass="sref"554402dulocabit moom ki1comment"> * Before this cfp_ on_y boot pa 5sets were availa_al.6">/28lass="sref"554i+code=o0rder" 40las>4026ulocabit moom ki1comment"> */6">/28lass="sref"554402o/a>2voidfass="sr s="sref__init8 class=5line" __init>TIF_ass="sr s="srefsetup_per_cpu_pa 5set8 class=5line" setup_per_cpu_pa 5setne" avoidoordero/a>25324028cerram" class="5ref">52MEMAo/a>/4029t/oa hr40ageBuddy */o/spa2398402"mm5232mclassge" class="f">iNULLpagzer"8 class=5line" zer"ne" eass="sref">orderzer"8 class=5line" zer"ne" >ordero/a>253240e1mm5232mclassass="sr s="sreffor_each_popullied_zer"8 class=5line" for_each_popullied_zer"ne" ass="sref">orderzer"8 class=5line" zer"ne" oshow3o/a>)536440e">TIF_Mnop_paef23"mm/sss="sr s="srefsetup_z"li_pa 5set8 class=5line" setup_z"li_pa 5setne" ass="sref">orderzer"8 class=5line" zer"ne" o>ordero/a>253240e cerrnshow3o/a>)536440e4cerrshow3o/a>)536440e5cerragliic ss="sref">ordernoin(!waitclass=5line" noin(!wa>TIF_ass="sr s="sref__init_"srok8 class=5line" __init_"srokcerrshow3o/a>)5364iNULLpagzer"8 class=5line" zer"ne" eass="sref">orderzer"8 class=5line" zer"ne" , unsignad longrass="sr s="srefzer"_size_pa 5sss="srsgpage" czer"_size_pa 5sne" oshow3o/a>)536440e7cerram" class="5ref">52MEMAo/a>/4038t/oa hr40epage" class="f">iNULLpa40epa>40e8cerred_efdro._alloc.c#L256" i23iss="srsgpage" cine" >ordero/a>253240e"mm5232mclassge" class="f">iNULLpagpglist_data8 class=5line" pglist_datane" eass="sref">orderpgdat8 class=5line" pgdatne" e=mss="f">iNULLpagzer"8 class=5line" zer"ne" ->sk+cod," cla"srz"li_pgdat8 class=5line" z"li_pgdatne" >ordero/a>2532bad_paef="_typ"page>40ef">40efmm5232mclassass="sr s="srefsize_t8 class=5line" size_t>TIF_ass="sr s="srefef23"_sizess="srsgpage" cef23"_sizene" >ordero/a>2532bad_paef="_________>40ef">40e1cerrshow3o/a>)536440ooo>40e2OC_N &r= abit moom ki1comment">/*6">/28lass="sref"55440hhh>40e cerrabit moom ki1comment">         * The per-/28lass="sref"55440e=r>40e4cerrabit moom ki1comment">         * per zer".6">/28lass="sref"554         */6">/28lass="sref"554iNU40t+c>40e6mm5232mclassass="sr s="srefzer"8 class=5line" zer"ne" ->sk+cod," cla"srwait_ta_al_hash_nr_entri5sss="srsgpage" cwait_ta_al_hash_nr_entri5sne" e=ass="sref"55440eo/a>2391orderzer"_size_pa 5sss="srsgpage" czer"_size_pa 5sne" o>ordero/a>253240e8>TIF_Mnop_pask+cod," cla"srzer"8 class=5line" zer"ne" ->sk+cod," cla"srwait_ta_al_bitsss="srsgpage" cwait_ta_al_bitsne" e=ass="sref"55440e"mm5232mclass=5line" ass="sr s="srefwait_ta_al_bitsss="srsgpage" cwait_ta_al_bitsne" ammes/spa__1">/2zer"8 class=5line" zer"ne" ->sk+cod," cla"srwait_ta_al_hash_nr_entri5sss="srsgpage" cwait_ta_al_hash_nr_entri5sne" o>ordero/a>2532ordero/a>239140"s>TIF_Mnop_pask+cod," cla"sref23"_sizess="srsgpage" cef23"_sizene" e=mss="f">iNULLpagzer"8 class=5line" zer"ne" ->sk+cod," cla"srwait_ta_al_hash_nr_entri5sss="srsgpage" cwait_ta_al_hash_nr_entri5sne" ordero/a>253240"LOC_N &r= ~s="srefffffffffffffffffffffffff* sizeof(sk+cod," cla"srwait_queue_head_t8 class=5line" wait_queue_head_tne" o>ordero/a>2532iNULLpag40der>40"">TIFshow3o/a>)5364TIF_Mnop_p40p_p>40"3OC_N &r= .cem!sk+cod," cla"srslab_is_availa_al8 class=5line" slab_is_availa_alne" a)o am" class="5ref">52MEMAo/a>/4054t/oa hr40e" class="kmem>/* r_enab40e" >40"4cerred_efded_compactass="sr s="srefzer"8 class=5line" zer"ne" ->sk+cod," cla"srwait_ta_alss="srsgpage" cwait_ta_alne" e=m(sk+cod," cla"srwait_queue_head_t8 class=5line" wait_queue_head_tne"  *oshow3o/a>)5364orderpgdat8 class=5line" pgdatne" , mmes/spa__1">/2ef23"_sizess="srsgpage" cef23"_sizene" o>ordero/a>253240"eo/a>/*oa hrNn else am" class="5ref">52MEMAo/a>/4057t/oa hr40der" class="sf">iNULLpag40der>40"o/a>2391/*6">/28lass="sref"55440"8ulocabit moom ki1comment">                 * This cfse means that a zer" whose size was 0 gets new memory6">/28lass="sref"55440"9ulocabit moom ki1comment">                 * via memory hot-add.6">/28lass="sref"55440y ulocabit moom ki1comment">                 * But it may be the case that a new na"s was hot-added.  In6">/28lass="sref"55440y                 * this cfse vmfp_ma() wip_ not be a_al toNuse this new na"s's6">/28lass="sref"55440y">TIFabit moom ki1comment">                 * memory - this wait_ta_al must be initifpizad toNuse this new6">/28lass="sref"554iNULLpageo/a>/*o40ass>40y cerrabit moom ki1comment">                 * na"s itself as well.6">/28lass="sref"554/2dref"sss="sref">i 40_1">40y4cerrabit moom ki1comment">                 * ToNuse this new na"s's memory, further consideraine" wip_ b"6">/28lass="sref"55440ydulocabit moom ki1comment">                 * necessary.6">/28lass="sref"55440y6ulocabit moom ki1comment">                 */6">/28lass="sref"554/2zer"8 class=5line" zer"ne" ->sk+cod," cla"srwait_ta_alss="srsgpage" cwait_ta_alne" e=msk+cod," cla"srvmfp_mass="srsgpage" cvmfp_mane" ass="sref">orderef23"_sizess="srsgpage" cef23"_sizene" o>ordero/a>2532iNULLpag40pag>40y9OC_N &r= .cem!sk+cod," cla"srzer"8 class=5line" zer"ne" ->sk+cod," cla"srwait_ta_alss="srsgpage" cwait_ta_alne" oshow3o/a>)536440e"/a>2391ordero/a>253240e2OC_N &r= forass="sref">orderiss="srsgpage" cine" e=m0;lloc.c#L256" i23iss="srsgpage" cine" e<lass="sr s="srefzer"8 class=5line" zer"ne" ->sk+cod," cla"srwait_ta_al_hash_nr_entri5sss="srsgpage" cwait_ta_al_hash_nr_entri5sne" ; ++loc.c#L256" i23iss="srsgpage" cine" oshow3o/a>)5364/2zer"8 class=5line" zer"ne" ->sk+cod," cla"srwait_ta_alss="srsgpage" cwait_ta_alne" e+m"k+cod," cla"sriss="srsgpage" cine" o>ordero/a>253240e4cerrshow3o/a>)5364insremas40 cl>40e cerred_efdroreturnl0;ordero/a>253240eeo/a>nshow3o/a>)5364i 5nsign57534240e8cerragliic ss="sref">order__meminit8 class=5line" __meminit>TIF_voidfass="sr s="srefz"li_pcp_initss="srsgpage" cz"li_pcp_initne" age" class="f">iNULLpagzer"8 class=5line" zer"ne" eass="sref">orderzer"8 class=5line" zer"ne" oshow3o/a>)536440e9cerram" class="5ref">52MEMAo/a>/408nt/oa hr40281" i22"mm5238 class=5l40281>4028OC_N &r= abit moom ki1comment">/*6">/28lass="sref"554402         * per cpu subsystlm is not up at this point. The fop_mwing orde6">/28lass="sref"554TIFabit moom ki1comment">         * relies onrthe ability of the " cker toNprovide the6">/28lass="sref"554402 cerrabit moom ki1comment">         * offset of a (agliic) per cpu varia_al into the per cpu frea.6">/28lass="sref"5544024cerrabit moom ki1comment">         */6">/28lass="sref"554402 cerred_efdrommes/spa__1">/2zer"8 class=5line" zer"ne" ->sk+cod," cla"srpa 5set8 class=5line" pa 5setne" e=m&ass="sr s="srefboot_pa 5set8 class=5line" boot_pa 5setne" >ordero/a>2532/*oyclasgpage" cla40hre>4026lass="sref">i 5nsign5753424027cerred_efded.cemmmes/spa__1">/2zer"8 class=5line" zer"ne" ->sk+cod," cla"srpresent_pa 5sss="srsgpage" cpresent_pa 5sne" oshow3o/a>)5364_ksprogressode=r40wak>4028>TIF_Mnop_paaaaaaaaask+cod," cla"srprintk8 class=5line" printkne" ammes/spa__1">/2KERN_DEBUG8 class=5line" KERN_DEBUG>TIF_abit moom ki1ge"ing">"l %s zer": %lu pa 5s, LIFO batch:%u\n"6">/28l,ordero/a>2532402"mm5232mclass=5line" ef23"mm/mmes/spa__1">/2zer"8 class=5line" zer"ne" ->sk+cod," cla"sr="ositclass=5line" n"osne" , mmes/spa__1">/2zer"8 class=5line" zer"ne" ->sk+cod," cla"srpresent_pa 5sss="srsgpage" cpresent_pa 5sne" ,ordero/a>253240reOC_N &r= ~s="srefffffffffffffffffffffffff mmes/spa__1">/2zer"_batchsizess="srsgpage" cz"li_batchsizene" ass="sref">orderzer"8 class=5line" zer"ne" oo>ordero/a>2532bad_paef="_nopBud+co40ef">40rLOC_Nnshow3o/a>)536440r">TIFshow3o/a>)536440r3uloc._alloc.c#L256" i23__meminit8 class=5line" __meminit>TIF_ass="sr s="srefinit_currently_empty_zer"8 class=5line" init_currently_empty_zer"ne" age" class="f">iNULLpagzer"8 class=5line" zer"ne" eass="sref">orderzer"8 class=5line" zer"ne" ,show3o/a>)536440r4cerred_efded_compactttttttttttttttttttttttttunsignad longrass="sr s="srefzer"_sglrt_pfn8 class=5line" zer"_sglrt_pfnne" ,show3o/a>)5364)5364/2dflagaclas="40e=r>40reo/a>/*oa hrNULL+codrrrrrrrrrrrrrrrrrrrrrrrrrenumNsk+cod," cla"srmemmap_ce"textss="srsgpage" cmemmap_ce"text>TIF_ass="sr s="srefce"textss="srsgpage" cce"text>TIFoshow3o/a>)536440r7cerram" class="5ref">52MEMAo/a>/4098t/oa hr40geo/a>/*oa hrcuuuuuuuuu>40geo>40r8>TIF_Mnop_page" class="f">iNULLpagpglist_data8 class=5line" pglist_datane" eass="sref">orderpgdat8 class=5line" pgdatne" e=mss="f">iNULLpagzer"8 class=5line" zer"ne" ->sk+cod," cla"srz"li_pgdat8 class=5line" z"li_pgdatne" >ordero/a>2532/*oa hrunluuuuuuu>40geo>40r9OC_N &r= ._alloc.c#L256" i23ret8 class=5line" retne" >ordero/a>2532/*oa hrunluuuuuuu>41int>41inOC_N &r= ass="sr s="srefret8 class=5line" retne" e=mss="f">iNULLpagzer"_wait_ta_al_init8 class=5line" z"li_wait_ta_al_initne" ass="sref">orderzer"8 class=5line" zer"ne" ,rass="sr s="srefsizess="srsgpage" csizene" o>ordero/a>2532bad_paef="_nopBud+co41if">41iLOC_N &r= .cemass="sr s="srefret8 class=5line" retne" oshow3o/a>)536441i">TIF_Mnop_paef23"mm/returnlloc.c#L256" i23ret8 class=5line" retne" >ordero/a>25324103OC_N &r= ass="sr s="srefpgdat8 class=5line" pgdatne" ->sk+cod," cla"sr=r_zer"sss="srsgpage" c=r_zer"sne" e=mss="f">iNULLpagzer"_idx8 class=5line" zer"_idxne" ass="sref">orderzer"8 class=5line" zer"ne" o + 1>ordero/a>253241i4cerrshow3o/a>)5364/2zer"8 class=5line" zer"ne" ->sk+cod," cla"srzer"_sglrt_pfn8 class=5line" zer"_sglrt_pfnne" e=mss="f">iNULLpagzer"_sglrt_pfn8 class=5line" zer"_sglrt_pfnne" >ordero/a>2532/2dflagaclas="41i=r>4106lass="sref">i 5nsign5753424107cerred_efdedloc.c#L256" i23mminit_dprintk8 class=5line" mminit_dprintkne" ass="sref">orderMMINIT_TRACE8 class=5line" MMINIT_TRACEne" ,rabit moom ki1ge"ing">"memmap_init"6">/28l,ordero/a>2532/*oa hrcuuuuuuuuu>41ieo>4108>TIF_Mnop_paaaaaaaaaaaaaaaaaabit moom ki1ge"ing">"Initifpising map na"s %d zer" %lu pfns %lu -> %lu\n"6">/28l,ordero/a>2532/*oa hrunluuuuuuu>41ieo>410"mm5232mclass=5line" ef23"mm/mmes/spa__1">/2pgdat8 class=5line" pgdatne" ->sk+cod," cla"sr=a"s_id8 class=5line" na"s_idne" ,show3o/a>)5364bad_paef="_"+code= n41ef">411eOC_N &r= ~s="srefffffffff(unsignad long)ss="f">iNULLpagzer"_idx8 class=5line" zer"_idxne" ass="sref">orderzer"8 class=5line" zer"ne" o,show3o/a>)5364bad_paef="_________n41ef">411LOC_N &r= ~s="srefffffffffass="sr s="srefzer"_sglrt_pfn8 class=5line" zer"_sglrt_pfnne" ,emmmes/spa__1">/2zer"_sglrt_pfn8 class=5line" zer"_sglrt_pfnne" e+m"k+cod," cla"srsizess="srsgpage" csizene" oo>ordero/a>2532411">TIFshow3o/a>)53644113OC_N &r= ass="sr s="srefzer"_init_free_listsss="srsgpage" czer"_init_free_listsne" ass="sref">orderzer"8 class=5line" zer"ne" o>ordero/a>25324114cerrshow3o/a>)5364rue """""""""""41i/*>411 cerred_efdroreturnl0;ordero/a>2532411eo/a>nshow3o/a>)53644117lass="sref">i 5nsign57534241e8>TIF#ifdefrsk+cod," cla"srCONFIG_HAVE_MEMBLOCK_NODE_MAP8 class=5line" CONFIG_HAVE_MEMBLOCK_NODE_MAPlass="sref">i 5nsign575342/"mm/page_alloc.c#41geo>41e"mm52#ifndefrsk+cod," cla"srCONFIG_HAVE_ARCH_EARLY_PFN_TO_NID8 class=5line" CONFIG_HAVE_ARCH_EARLY_PFN_TO_NIDlass="sref">i 5nsign575342412 ulocabit moom ki1comment">/*6">/28lass="sref"554badnopBud+codrder" c41ef">412 * Requirad by SPARSEMEM. Given a PFN,oreturnlwhat na"s the PFN is on.6">/28lass="sref"554412">TIFabit moom ki1comment"> * Architectures may implement their own versne" but if add_active_range()6">/28lass="sref"554412 cerrabit moom ki1comment"> * was used and ther" are no specifporequiraments, this is a convenientne>/28lass="sref"5544124cerrabit moom ki1comment"> * alternativane>/28lass="sref"554412dulocabit moom ki1comment"> */6">/28lass="sref"554i+code=o0rder" 41las>4126uloc._alloc.c#L256" i23__meminit8 class=5line" __meminit>TIF_ass="sr s="sref__early_pfn_to_nid8 class=5line" __early_pfn_to_nidne" aunsignad longrass="sr s="srefpfn8 class=5line" pfnne" oshow3o/a>)53644127cerram" class="5ref">52MEMAo/a>/4128t/oa hr41                       "41   >4128>TIF_Mnop_paunsignad longrass="sr s="srefsglrt_pfn8 class=5line" sglrt_pfnne" ,eass="sr s="srefend_pfn8 class=5line" end_pfnne" >ordero/a>25324129OC_N &r= ._alloc.c#L256" i23iss="srsgpage" cine" ,eass="sr s="srefnid8 class=5line" nidne" >ordero/a>253241e1mm5232mclassass="sr s="sreffor_each_mem_pfn_range8 class=5line" for_each_mem_pfn_rangene" ass="sref">orderiss="srsgpage" cine" ,eass="sr s="srefMAX_NUMNODES8 class=5line" MAX_NUMNODESne" ,e&ass="sr s="srefsglrt_pfn8 class=5line" sglrt_pfnne" ,e&ass="sr s="srefend_pfn8 class=5line" end_pfnne" ,e&ass="sr s="srefnid8 class=5line" nidne" oshow3o/a>)536441e">TIF_Mnop_paef23"mm/.cemass="sr s="srefsglrt_pfn8 class=5line" sglrt_pfnne" e<=mss="f">iNULLpagpfn8 class=5line" pfnne" e&&mss="f">iNULLpagpfn8 class=5line" pfnne" e<lass="sr s="srefend_pfn8 class=5line" end_pfnne" oshow3o/a>)5364413 cerred_efded_compacted_efdroreturnlass="sr s="srefnid8 class=5line" nidne" >ordero/a>25324134cerred_efdedsbit moom ki1comment">/* This is a memory hole */6">/28lass="sref"554413 cerred_efdroreturnl-1>ordero/a>253241e7cerr#endifdsbit moom ki1comment">/* CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID */6">/28lass="sref"554iNULLpa41epa>4138>TIFshow3o/a>)536441e"mm52._alloc.c#L256" i23__meminit8 class=5line" __meminit>TIF_ass="sr s="srefearly_pfn_to_nid8 class=5line" early_pfn_to_nidne" aunsignad longrass="sr s="srefpfn8 class=5line" pfnne" oshow3o/a>)5364bad_paef="_typ"page>41ef">41efmm52am" class="5ref">52MEMAo/a>/4141t/oa hr41ef">bad_paef="_________>41ef">4141OC_N &r= ._alloc.c#L256" i23nid8 class=5line" nidne" >ordero/a>253241ooo>414">TIFshow3o/a>)536441hhh>4143OC_N &r= ass="sr s="srefnid8 class=5line" nidne" e=mss="f">iNULLpag__early_pfn_to_nid8 class=5line" __early_pfn_to_nidne" aass="sr s="srefpfn8 class=5line" pfnne" o>ordero/a>253241e=r>4144cerred_efded.cemass="sr s="srefnid8 class=5line" nidne" e>= 0oshow3o/a>)5364ordero/a>2532iNU41t+c>414eo/a>/*oa hrNsbit moom ki1comment">/* just returns 0 */6">/28lass="sref"55441eo/a>2391253241e8>TIFnshow3o/a>)5364414"mm52ordero/a>2532ordero/a>239141"s>TIF#ifdefrsk+cod," cla"srCONFIG_NODES_SPAN_OTHER_NODES8 class=5line" CONFIG_NODES_SPAN_OTHER_NODESmm52ordero/a>253241"LOC_Nsk+cod," cla"srbool8 class=5line" bool>TIF_ass="sr s="sref__meminit8 class=5line" __meminit>TIF_ass="sr s="srefearly_pfn_in_nid8 class=5line" early_pfn_in_nidne" aunsignad longrass="sr s="srefpfn8 class=5line" pfnne" , ._alloc.c#L256" i23n i28 class=5line" na"sne" oshow3o/a>)5364iNULLpag41der>41"">TIFam" class="5ref">52MEMAo/a>/4153t/oa hr41p_pass="sref">TIF_Mnop_p41p_p>41"3OC_N &r= ._alloc.c#L256" i23nid8 class=5line" nidne" >ordero/a>25324154cerrshow3o/a>)5364/2nid8 class=5line" nidne" e=mss="f">iNULLpag__early_pfn_to_nid8 class=5line" __early_pfn_to_nidne" aass="sr s="srefpfn8 class=5line" pfnne" o>ordero/a>253241"eo/a>/*oa hrN.cemass="sr s="srefnid8 class=5line" nidne" e>= 0e&&mss="f">iNULLpagnid8 class=5line" nidne" e!=mss="f">iNULLpagn i28 class=5line" na"sne" oshow3o/a>)5364iNULLpag41der>41"o/a>2391ordero/a>25324158/a>2391ordero/a>253241"9ulocnshow3o/a>)5364416no/a>#endifshow3o/a>)53644161cerrshow3o/a>)536441y">TIFabit moom ki1comment">/**6">/28lass="sref"554iNULLpageo/a>/*o41ass>41y cerrabit moom ki1comment"> * free_bootmem_with_active_regions - Cfp_ free_bootmem_na"s for each active rangene>/28lass="sref"554/2dref"sss="sref">i 41_1">41y4cerrabit moom ki1comment"> * @nid: The na"s to free memory on. If MAX_NUMNODES, ap_ nodes are freed.6">/28lass="sref"55441ydulocabit moom ki1comment"> * @max_low_pfn: The highest PFN that wip_ b" pm kad toNfree_bootmem_na"s6">/28lass="sref"55441y6ulocabit moom ki1comment"> *6">/28lass="sref"554 * If t marchitecture guarantees that ap_ ranges registe6s7dss="f">iNULLpagzer"8 class=5line" zer"ne" ->sk+cod," cl3ER_NODESmm52ordero/a>5DESmm52ordero/a>5DESmm52ordero/a>5DESmm52ordero/ae" clf6se means that a zer" whose s*4123t/oa hr41allos() hr4tainass=1GFPkpa402/28lassad_pakpa412l3ER_NODESmm52ordero/a>5DESmm52ordero3o/a>)5364+cod," cla"srzer"8 class=1line"16() setk the high water mark foa4124fun81" i2/28lass convin;skad.6">ef"5#37;y6t/oa hr41L() manuf"5" i23"mm52357class=540L27>40y6ulocabi1a href23"m1/returnl-sk+cod," cla"srE1OMEMs17he pa 5set p.6">/28lass="srefffnopBud+codrder" c41fff>41eo/a>2391<3o/a>)53641a55ef23"mm/p4072t/oa hr401" cla1s=" &ass="sr s="srefsetup_per_cpu_pa 5set8 class=5line" setup_per_cpu_pa na"s for each active rangene>/28158t/oa hr41L279a"s for each active rangene>/28/a>25>2532iNULLpag41der>41"o/a>2391orderiss="srsgpage1 cine17"sref">TIF_Mnop_p41p_p>41"3OC_N &amfded_compa1tsk+cod," cla"srinit_wait1ueue_1eadss="srsgpagsglrt_pfnne" ,eass="sr s="srefend_pfn8 class=5line" end_pfnne" >ordero/a>25324129OC_N &am3o/a>)53641a55ef23"mm/p4075t/oa hr401class17ne" e>= 0osrefnid8 class=5line" nidne" >ordero/a>25324129OC_N &am3moom ki1co0;ordero/a>253240eeo/a>/*o1w3o/a>)5361orderiss="srsgpage" cine" ,eass="sr s="srefMAX_NUMNODES8 class=5line" MAX_NUMNODESne" ,e&ass4154t/oa hr41e" class="kmgpne" ,e&ass="sr s="srefend_pfn8 class=5line" end_pfnne" ,e&ass="sr s="srefnid8 class=5line" nidne" oshow3o/a>)5364/* r_enab40e" >40"4cerred_1ef">i 5nsi1n575342ordero/a>25324129OC_N &am3/a>5DESmm5">order__meminit8 class=51ine" 17ne" printkne" ammes/spa__1">/2KERN_Defnid8 class=5line" nidne" oshow3&d," cla"srhigh8 climIT_TRACE8 class=in"srefMAX_NUMNODES8 cefnid8 class=5line" nidne" oshow3o/ro/a>25324129OC_N &am33o/a>)5364">52MEMAo/a>/408nt/oa hr41281" 17rdero/a>239141"s>TIF#ifdpr= abit m1om ki1comment">/*6">/28la1s="sr18ULLpagzer"_idx8 classe" e<=mss="f">iNULLpagpfn8 class=5line" pfnne" e&&w3o/a>)5364413 cerred_e moom ki1c1mment">         * per cpu1subsy18t_pfn8 class=5line" zer"_sglrt_pfnne" ,emmmey6t/oa hr41L276" 158t/oa hr41L279a"s for each class="e<=mss="f">iNeo/a>DATA158t/oa hr41L27eo/a>DATAss="e<=mss="f">iNa412srefpfn8 class=5lina412sref */ok="_________n41ef">411LOC_N &am moom ki1c1mment">         * relies 1nrthe18ass=5line" sglrt_pfnnnnnnnnnnnnnnnnnnnnnnnnnnnn<=mss="f">iNoa hPHYro/a>2532ork="_________n41ef">411LOC_N &am ded_compa1mment">         * offset 1f a (18d8 class=5line" nidne" >orderrrrrrrrrrrrrrrrrrrfMAX_NUMNODES8 cefnid8 class=5line" nidne" oshow3lasMAX_NUMNODES8 cfend_pfn8 class=5line" end_pfnne" >ork&amp;w3o/a>)53644129OC_N &am moom ki1c1mment">         */6">/28l1ss="s18ne" e>= 0o3"mm/page_al41y c>416no/a>#endfdrommes/s1a__1">/2zer"8 class=5line1 zer"1e" -&g3"mm/page_al41y c>416no/a>#endf3o/a>)5361n5753424027cerred_1fded.cemmm1s/spa__1">/2zer"8 class=51ine" 18antees that ap_ ranges regi="f">iNULLpageo/a>/*o41ass>41y cerrabitp_paaaaaaa1ask+cod," cla"srprintk8 c1ass=518se means that a zer" whose s*4ns rse_8lass=_ hr40ref active rangene>/28lass="sr8lass=_ hr40rekpa4164t/oa hr41_1">/2dref"sss="sref">i 41_1">41y4cerrabitlass=5line1 ef23"mm/mmes/spa__1">/2z1r"8 c18() setk the high water mark fo_ nodes are freed.c="sr8lass=_ hr40rekpa4ef"55440y6ulocabi1pr= ~s="sr1fffffffffffffffffffffffff1mmes/19he pa 5set p.6">/28lass="srefi23"mm52357class=540L27>40y6ulocabi1pmoom ki1c1iNULLpagzer"8 class=5line" zer"ne" ->sk+cod," cl3ER_NODESmm52ordero/a>5DESmm52order3o/a>)53641a55ef23"mm/p4093t/oa hr401hhhhh19ment their own versne" but if 123t/oa hr41allos() hr4tainass=1GFPkpa402/28lassad_pakpa412l3ER_NODESmm52ordero/a>5DESmm52orderloc.c#L2561 i23__meminit8 class=5lin1" __m19e_regions - Cfp_ free_bootmem_nun81" i2/28lass convin;skad.6">ef"5#37;8lass=_ hr40re() manuf"5" i23"mm52357class=540L27>40y6ulocabi1fded_compa1ttttttttttttttttttttttttt1nsign19memory on. If MAX_NUMNODES, affnopBud+codrder" c41fff>41eo/a>2391/28 class=5line" ens rse_8lass=_ hr40ref active rangene>/28/a>25>253240i7cerred_1class="5re1">52MEMAo/a>/4098t/oa hr41geo/a19" zer"ne" -&gsglrt_pfnne" ,eass="sr s="srefend_pfn8 class=5line" end_pfnne" >ordero/a>25324129OC_N &_page" cl1ss="f">iNULLpagpglist_dat18 cla19>ordero/a>25324129OC_N &r= ._allo1.c#L256" i23ret8 class=5l1ne" r19rdero/a>239141"s>TIF#if2pr= ass="s2 s="srefret8 class=5line"2retne2 e=mss="f">iNULLpagzer"_wait__rangene" ass="sref">orderiss="srsgpage" cine" ,eass="sr s="srefMAX_NUMNODES8 class=5line" MAX_NUMNODESne" ,e&ass4154t/oa hr41e" class="kmgpne" ,e&ass="sr s="srefend_pfn8 class=5line" end_pfnne" ,e&ass="sr s="srefnid8 class=5line" nidne" oshow3o/a>)5364239141"s>TIF#if2p1= ass="s2 a55ef23"mm/p4092t/oa hr42ne" r20t_pfn8 class=5line" zro/a>2532iNa412srefpfn8 class=5lina412sref */oa>2532ordero/a>25324129OC_N &a2p_paef23"m2/returnlloc.c#L256" i23re28 cla2s=5lin3"mm/page_al41y c>416no/a>#en2pr= ass="s2 s="srefpgdat8 class=5lin2" pgd20 it haoooooooooo40es >40e4cerred_23o/a>)53642a55ef23"mm/p41i5t/oa hr412d_pae20memory on. If MAX_NUMNODES,="f">iNULLpageo/a>/*o41ass>41y cerrabi2fdrommes/s2a__1">/2zer"8 class=5line2 zer"20st PFN that wip_ b" pm kad toNgetass="sr s=_ge" reflasRro/a>2/oa nd_pfpa402geB241y6ulocabi2ef">i 5nsi2n5753422/oa sr s=kpa4ef"55440y6ulocabi2fdedloc.c#2256" i23mminit_dprintk8 c2ass=520antees that ap_ ranges registe@nd_pfnne": P_maskpby1rrfk+cnce. On1rro/a>,n6">5440y6ulocabi2f8edloc.c#22s="f">iNULLpagpglist_dat2ng">&20se means that a zer" whose s*4@geBuddy: P_maskpby1rrfk+cnce. On1rro/a>,n6">5440y6ulocabi2f9edloc.c#22c#L256" i23ret8 class=5l2dat8 20() setk the high water mark fi23"mm52357class=540L27>40y6ulocabi2pr= ~s="sr2fffffffff(unsignad long)s2="f">21he pa 5set p.6">/28lass="sref I/oa hr41ff/oa nd_pfpa402geB2/2e frebaaskp i2inpa4ma1" i223"mm52357class=540L27>40y6ulocabi2p1= ass="s2fffffffffass="sr s="srefz2r"_sg21Given a PFN,oreturnlwhat na"s  hr4029kpby1dss="f">ef"5#37;123t/oa hr41alloc.ef"55ef"59kppa41a 76" i23"mm52357class=541L27>41y6ulocabi23o/a>)53642a55ef23"mm/p4113t/oa hr412NODE 21ment their own versne" but if  actass= hr40e" cf"55441y6ulocabi23r= ass="s2 s="srefzer"_init_free_li2tsss=21e_regions - Cfp_ free_bootmem_s="a 5440y6ulocabi23o/a>)53642a55ef23"mm/p4115t/oa hr412/* re21memory on. If MAX_NUMNODES, affnopBud+codrder" c41fff>41eo/a>23912fdroreturn20;ordero/a>2532253241eo/a>23912ff">i 5nsi2iNULLpagzer"8 "end_pfn8 class=5line" end_pfnne" >ordesglrt_pfnne" ,">iNULLpagzer"8 f23"mm/p4133t/oa hr41ageBuddy */o/spa2398413 cerred_2ef">i 5nsi2n5753424128>TIF_Mn2efrsk+cod,2 cla"srCONFIG_HAVE_MEMBLO2K_NOD21class=5line" sglrt_pfnne" ,eass="sr s="srea412s"end_pfn8 class=5line" ea412s"end_pfn8pppp5324129OC_N &a2defrsk+cod2" cla"srCONFIG_HAVE_ARCH_2ARLY_21,eass="sr s="srefnid8 class=5line" nidne" >ordero/a>2/spa23984129OC_N &a2 moom ki1c2mment">/*6">/28lass="sref255441e1mm5232m2 moom ki1c2mment"> * Requirad by SPA2SEMEM22t_pfn8 class=">iNULLpagzer"8 "end_pfn8 class=5line" end_pfnne" >or = -1UL/spa23984129OC_N &a2 o/a>)53642mment"> * Architectures m2y imp222_pfn8 class=">iNULLpagzer"8 efnid8 class=5line" nidne" oshow3&d,9" i23"mm523441all>41e8>TIFnsh2 moom ki1c2mment"> * was used and th2r" ar22 it haoooooooooo40es >40e4cerred_2 moom ki1c2mment"> * alternativane>/28lass22y hole */6">/2Lpagzer"_wait__rangene" ass="sref">orderiss="srsgpage" cine" ,eass="sr s="srefMAX_NUMNODES8 class=5line" MAX_NUMNODESne" ,e&ass4154t/oa hr41e" class="kmgpne" ,e&ass="sr sa412s"end_pfn8 class=5line" ea412s"end_pfn8pppp53ne" ,e&ass="sr sa412sf23"mm/p4133t/oa hr41aa412sf23"mm/ */oDESne" ,e&assNULL158t/oa hr41L27eULL */okmem>/* r_enab40e" >40"4cerred_2 moom ki1c2mment"> */6">/28lass="sre2"554<22=5line" nidne" >order">iNULLpagzer"8 "end_pfn8 class=5line" end_pfnne" >or = " cla"srhigh8 climIT_TRACE8 class=in"sref">iNULLpagzer"8 "end_pfn8 class=5line" end_pfnne" >ordee&ass="sr sa412s"end_pfn8 class=5line" ea412s"end_pfn8pppps/spa23984129OC_N &a2loc.c#L2562 i23__meminit8 class=5lin2" __m22cod," cla"srmemmap_ce">iNULLpagzer"8 efnid8 class=5line" nidne" oshow3&d,ro/a>2532iNULLpagzer"8 efnid8 class=5line" nidne" oshow3o/ro/a>25324129OC_N &a2lf">i 5nsi2">52MEMAo/a>/4128t/oa hr42     22" zer"ne" -&g3"mm/page_al41y c>416no/a>#en2p_paunsign2d longrass="sr s="srefsgl2t_pfn22ppppppppppppppp"41ppp>41e"mm52._a2pr= ._allo2.c#L256" i23iss="srsgpage2 cine22er"ne" ->sk+co">iNULLpagzer"8 "end_pfn8 class=5line" end_pfnne" >or == -1UL/spa2398413 cerred_23o/a>)53642a55ef23"mm/p4131t/oa hr412pBud+23ULLpagzer"_idx8 class">iNULLpagzer"8 "end_pfn8 class=5line" end_pfnne" >or = 9" i23"mm523441all>41e8>TIFnsh2lassass="s2 s="sreffor_each_mem_pfn_2ange823PageBuddy */o/spa40ooo>40r">TIFsho2p_paef23"m2/.cemass="sr s="srefsglrt2pfn8 23hhhhhhhhhhhhhhh>41hhh>4143OC_N &a2fded_compa2ted_efdroreturnlass="sr s2"sref23e_regions - Cfp_ free_bootmbadnopBud+codrder" c41ef">412/* This is2a mem23memory on. If MAX_NUMNODES, apaskpafindsref"554<=5lincn. ass convpa41ZONE_MOVABLE2412ordero/a>2532412/28la\n"populaIonv"554412i 5nsi2m ki1comment">/* CONFIG_H2VE_AR23antees that ap_ ranges registffnopBud+codrder" c41fff>41eo/a>239123o/a>)53642a55ef23"mm/p4139t/oa hr412ppppp23meminit>TIF_ss="sr s="srefsetup_per_cpu_pa 5set8 class=5line" setup_per_cpu_pa nind_use" ,rline"ge" movs="srsgpage" cine" nind_use" ,rline"ge" movs="s"srefss="/spa2398413 cerred_23r= ._allo2 i23__meminit8 class=5lin2" __m232"mm5238 class=5l40281>4028OC_N &a2class="5re2">52MEMAo/a>/4141t/oa hr42ef">b24ULLpagzer"_idsrefnid8 class=5linline" zdess=5line" zer"ne" o,shzdes/a>2/spa23984129OC_N &a2pr= ._allo2.c#L256" i23nid8 class=5l2ne" n2dne" >ordero/apa41rt_pfnne" e+m"k+cod," zdess=5line" zer"ne" o,shzdes/a>2&d,ro/a>25322&idne" eod," cla"srwait_ta_al" zdess=5line" zer"ne" o,shzdes/a>2--kmem>/* r_enab40e" >40"4cerred_23o/a>)53642a55ef23"mm/p4143t/oa hr412hhhhh24ass=5line" sglrt_pfnne" e<=mss="f">iNcod," zdess=5line" zer"ne" o,shzdes/a>2&dd,ro/a>2532413 cerred_2pr= ass="s2 s="srefnid8 class=5line"2nidne24d8 class=5line" nidne" >orderhr4tinue/spa23984129OC_N &a2pdedsbit m2="sr s="srefnid8 class=5l2ne" n24lass="kmem>/* r_41epa>415 cerred_2fdro_compa2treturnlass="sr s="srefni28 cla2s=5line" nidne" >ordere" e<=mss="f">iN="f"rline"">/28la_possi" ,rfn8 class=5line" e="f"rline"">/28la_possi" ,rfn85lin[<=mss="f">iNcod," zdess=5line" zer"ne" o,shzdes/a>2]&idne"kmem>/* r_41epa>415 cerred_2foc.c#L2562om ki1comment">/* just re2urns 24cod," cla"srmemmap_ce"textss="srsgpag<=mss="f">iN="f"rline"low8la_possi" ,rfn8 class=5line" e="f"rline"low8la_possi" ,rfn85lin[<=mss="f">iNcod," zdess=5line" zer"ne" o,shzdes/a>2]/spa2398413 cerred_2pf">i 5nsi20;ordero/a>2532/* r_41epa>415 cerred_2fo/a>)53642iNULLpag40pag>40y9OC_N &a2ro/a>2532<2 53"""""""""415nt/oa hr412sref"2ordero/a>239141"s>TIF#if2efrsk+cod,2 cla"srCONFIG_NODES_SPAN_2THER_25e=mss="f">iNULLpagzer"_wait_VM_BUG_ONs=5line" zer"neVM_BUG_ON"srefMAX_NUMNODES8 ccod," zdess=5line" zer"ne" o,shzdes/a>2&dd,-1s/spa23984129OC_N &a2od," cla"s2bool8 class=5line" bool>T2F_ass25lass=5line" for_each_mem_pfnmovs="s class="f">iNULLpagzmovs="s clas/a>2&d,ro/a>25322/spa23984129OC_N &a2class="5re2">52MEMAo/a>/4153t/oa hr42p_pas25=5lin3"mm/page_al41y c>416no/a>#en2pr= ._allo2.c#L256" i23nid8 class=5l2ne" n25 it haoooooooooo40es >40e4cerred_23o/a>)53642a55ef23"mm/p4155t/oa hr412page"25memory on. If MAX_NUMNODES,="fnopBud+codrder" c41fff>41eo/a>23912fdrommes/s2a__1">/2nid8 class=5line"2nidne25st PFN that wip_ b" pm kad toNs ar"554iNULLpagdosref"inclufreZONE_MOVABLE *opBud+codrder" c41fff>41eo/a>23912foc.c#L2562="sr s="srefnid8 class=5l2ne" n250fp_maskpa4167t/oa hr41x+codgobeca wipit/"f">iNULLpa. Unlik2t/oa o_mask"_idx, *opBud+codrder" c41fff>41eo/a>23912ff">i 5nsi2/returnlass="sr s="sreffa2se8 c25antees that ap_ ranges registentn nd_pf#37;maskpvpa41ZONE_MOVABLE2="sref"fixed. I/o/28lassdiffk+cni22"mm5232 class=5l41285>4124cerrabi2a hrreturn2ass="sr s="sreftrue8 clas2=5lin25se means that a zer" whose s*4ina64t/oe fredepezd#37;="sref"sa40.6">64t/oe frea402how evenly kernelcor2dnopBud+codrder" c41ef">412)5362412/28lass="sref  hr4029kpby1ref"5"f">iNULLpagpa41a g="sree frebya c#37;ref"geB2fp_masdnopBud+codrder" c41ef">412/28lasuse" , "554412/**6">/28lass="sre2"554<2 50fp_maskpa4163t/oa hr41ass"s "_idx  actinaa2e frehr41inaordk+2fp_monoto mmoincreasranglass=;123ressdxdnopBud+codrder" c41ef">412 * free_bootmem_wi2h_act2ve_regions - Cfp_ free_bootmemffnopBud+codrder" c41fff>41eo/a>23912 moom ki1c2mment"> * @nid: The na"s 2o fre2 memorit>TIF_ss="sr s="srefsetup_perly_pfn_in_nid8 class=5line" early_pfn_in_nidne" auad47t/rline"sr s=_ge" line"movs="srsgpage" cine" ad47t/rline"sr s=_ge" line"movs="s"sref>253241eo/a>23912 moom ki1c2mment"> * @max_low_pfn: T2e hig26 longrass="sr s="srefsizess="srsgpage" csizene" ,show3o/a>)536441eo/a>23912 oc.c#L2562mment"> *6">/28lass="sref2554)5364ba"end_pfn8 class=5line" ef">ba"end_pfn8="kmg+codrder" c41fff>41eo/a>23912 f">i 5nsi2mment"> * If t marchitect2re gu26" zer"ne" ->sk+coddddddddd"srsgpage" cmemme" ,show3o/a>)5364baf23"mm/p4133t/oa hr41af">baf23"mm/="kmg+codrder" c41fff>41eo/a>23912  hrreturn22ordero/a>5DESmm52ordero/2e" cl26ot;Initifpising map na"s %"srsgpage" cmemme" ,show3o/a>)">iNULLpagzer"8 o/a>)5364)">iNULLpagzer"8 o/a>)f23"mm/p4133t/oa hr41ao/a>)f23"mm/ */o/spa2398413 cerred_2a href23"m2/returnl-sk+cod," cla"srE2OMEMs27_paef="_________>41ef">4141OC_N &a23o/a>)53642a55ef23"mm/p4072t/oa hr402" cla27lass=5line" fosref"554413 cerred_2pr= forass2"sref">orderiss="srsgpage2 cine27ass=5line" sge" e<=mss="f">iNcod,"movs="s mm/p4133t/oa hr41ao/a>)movs="s mm/5lin[<=mss="f">iN4154t/oa hr41e" class="km]kmem>/* r_enab40e" >40"4cerred_2fded_compa2tsk+cod," cla"srinit_wait2ueue_27d8 class=5line" nidneosref"554413 cerred_2pmoom ki1c2a55ef23"mm/p4075t/oa hr402class27ne" e>= 0oline" sge" e<=mss="f">iNcod,"typsrsgpage" cine" line"typs="km&dd,ro/a>2532/* r_enab40e" >40"4cerred_2fmoom ki1c20;ordero/a>2532iNULLpagzer"8 o/a>)5364iN4154t/oa hr41e" class="km]/spa23984129OC_N &a2w3o/a>)5362)f23"mm/p4133t/oa hr41ao/a>)f23"mm/ */o&d," cla"srhigh8 climIT_TRACE8 class=in"srefMAX_NUMNODES8 cf">baf23"mm/p4133t/oa hr41af">baf23"mm/="kmg+codrder" c41fff>41eo/a>23912ef">i 5nsi2n575342iN="f"rline"">/28la_possi" ,rfn8 class=5line" e="f"rline"">/28la_possi" ,rfn85lin[<=mss="f">iNmovs="s class="f">iNULLpagzmovs="s clas/a>2]s/spa23984129OC_N &a23/a>5DESmm2">order__meminit8 class=52ine" 27ppppppppppppppp"41ppp>41e"mm52._a233o/a>)5362">52MEMAo/a>/408nt/oa hr42281" 27ass=5line" pgdatne" -osref"554413 cerred_2pr= abit m2om ki1comment">/*6">/28la2s="sr28ULLpagzer"_idx8 class} elwipi+co">iNULLpagzer"8 o/a>)5364iN4154t/oa hr41e" class="km]!=mss="f">iwait) rathe41GFP>413 cerred_2po/a>)53642mment">         * per cpu2subsy28t_pfn8 class=5line" zer"_sglr"textss=">iNULLpagzer"8 o/a>)f23"mm/p4133t/oa hr41ao/a>)f23"mm/ */o&""41i<=mss="f">iNcod,"movs="s mm/p4133t/oa hr41ao/a>)movs="s mm/5lin[<=mss="f">iN4154t/oa hr41e" class="km]kmem>/* r_enab40e" >40"4cerred_2 moom ki1c2mment">         * relies 2nrthe28ass=5line" sglrt_pfnnnnnnnnnn">iNULLpagzer"8 o/a>)f23"mm/p4133t/oa hr41ao/a>)f23"mm/ */o&d," cla"srhigh8 cline"movs="s mm/p4133t/oa hr41ao/a>)movs="s mm/5lin[<=mss="f">iN4154t/oa hr41e" class="km]/spa23984129OC_N &a2 ded_compa2mment">         * offset 2f a (28 it haoooooooooo40es >40e4cerred_2 moom ki1c2mment">         */6">/28l2ss="s28ne" e>= 0oline" sgO_NID */6">/28lass="sref"5heckpi+c=5="sw1GFP_sr s=kix  actinaZONE_MOVABLE2ATOMIC (!wait) rathe41GFP>413 cerred_2fdrommes/s2a__1">/2zer"8 class=5line2 zer"28 longrass="sr s="sref} elwipi+co">iNULLpagzer"8 o/a>)5364iNULLpagpcod,"movs="s mm/p4133t/oa hr41ao/a>)movs="s mm/5lin[<=mss="f">iN4154t/oa hr41e" class="km]kwait) rathe41GFP>413 cerred_2f3o/a>)5362n575342)5364iNULLpagzer"8 o/a>)f23"mm/p4133t/oa hr41ao/a>)f23"mm/ */o/spa23984129OC_N &a2 f">i 5nsi2s/spa__1">/2zer"8 class=52ine" 28" zer"ne" -&g3"mm/page_al41y c>416no/a>#en2p_paaaaaaa2ask+cod," cla"srprintk8 c2ass=5283"mm5235mclascl5s41280>414"mm52ord2lass=5line2 ef23"mm/mmes/spa__1">/2z2r"8 c28rdero/a>239141"s>TIF#if2pr= ~s="sr2fffffffffffffffffffffffff2mmes/29he pa 5set p.6">/28lass="sr="fnopBud+codrder" c41fff>41eo/a>23912pmoom ki1c22/oa numbk+2fp_41eo/a>23912pmoom ki1c2a55ef23"mm/p4093t/oa hr402hhhhh29ment their own versne" but if  hr40ref41eo/a>23912pded_compa2 i23__meminit8 class=5lin2" __m29e_regions - Cfp_ free_bootmemTOMIC (!wait) rathe41GFP>413 cerred_2fded_compa2ttttttttttttttttttttttttt2nsign29memorit>TIF_e" ,show3o/a>)5364253241eo/a>23912fdro_compa2t_Mnop_patttttttttttttttt2nsign29 longrass="sr s="srefsizess="srsgpage" csizene" ,show3o/a>)536441eo/a>23912 hrNULL+co2rrrrrrrrrrrrrrrrrrrrrrrrr2numNs29cod," cla"srmemmap_ce"textss="srsgpage" cmemme" ,show3o/a>)">iNULLpagzer"8 ,shore54t/oa hr41e" cl,shore5 */o/spa2398413 cerred_2class="5re2">52MEMAo/a>/4098t/oa hr42geo/a29                "41   >4128>TIF_Mn2p_page" cl2ss="f">iNULLpagpglist_dat28 cla29class=5line" sglrt_pfnne" ,eass="sr s="sref">ba"end_pfn8 class=5line" ef">ba"end_pfn8="kmg)5364baf23"mm/p4133t/oa hr41af">baf23"mm/="km/spa23984129OC_N &a2pr= ._allo2.c#L256" i23ret8 class=5l2ne" r299lass=5line" sglrt_pfnne" ,eass="sr s="sres/spa__1">/2zer"_sglrt_pfn8 class=5line" zer"_sgl>iNULLpagzer"8 o/a>)f23"mm/p4133t/oa hr41ao/a>)f23"mm/ */o/spa23984129OC_N &a3pr= ass="s3 s="srefret8 class=5line"3retne30drder" clasasbal41opB>41e1mm5232m3p1= ass="s3 a55ef23"mm/p4092t/oa hr43ne" r30lass=5line" fosref"554413 cerred_3p_paef23"m3/returnlloc.c#L256" i23re38 cla30ass=5line" sg>iNULLpagzer"8 getass="sr s=_ge" ref_in_nid8 class=getass="sr s=_ge" reffnne"2ba"end_pfn8 class=5line" ef">ba"end_pfn8="kmg)a>)5364baf23"mm/p4133t/oa hr41af">baf23"mm/="kms/spa23984129OC_N &a3pr= ass="s3 s="srefpgdat8 class=5lin3" pgd30rsgpage" czer"_init_free_listsne"5364iNcod,"typsrsgpage" cine" line"typs="km]/spa23984129OC_N &a33o/a>)53643a55ef23"mm/p41i5t/oa hr413d_pae30y hole */6">/2Lpagzer"_wait_o/a>)f23"mm/p4133t/oa hr41ao/a>)f23"mm/ */o&d," cla"srhigh8 c="f"rline"">/28la_possi" ,rfn8 class=5line" e="f"rline"">/28la_possi" ,rfn85lin[<=mss="f">iNcod,"typsrsgpage" cine" line"typs="km]/spa23984129OC_N &a335/a>)53643a_Mnop_patttttttttttttttt3 zer"30e=mss="f">iNULLpag__early_pfad47t/rline"sr s=_ge" line"movs="srsgpage" cine" ad47t/rline"sr s=_ge" line"movs="s"sref241eo/a>23913ef">i 5nsi3n575342iNf">ba"end_pfn8 class=5line" ef">ba"end_pfn8="kmg)5364baf23"mm/p4133t/oa hr41af">baf23"mm/="kmg+codrder" c41fff>41eo/a>23913e7">i 5nsi3n>52MEMAo/a>/4098t/oa hr43ass=530" zer"ne" ->sk+codass=5line" nidnea>)5364/2zer"_sglrt_pfn8 class=5line" zer"_sgla>)5364)f23"mm/ */o//spa23984129OC_N &a338">i 5nsi3ns="f">iNULLpagpglist_dat3ng">&30ppppppppppppppp"41ppp>41e"mm52._a3f9edloc.c#32c#L256" i23ret8 class=5l3dat8 309ass=5line" fosref"554413 cerred_3pr= ~s="sr3fffffffff(unsignad long)s3="f">31ULLpagzer"_ids" e<=mss="f">iNcod,"f23"mm/p4133t/oa hr41ao/a>)f23"mm/ */o&"mp;w3o/a>)5364ba"end_pfn8 class=5line" ef">ba"end_pfn8="km ||r"_init_free_listsne"5364iN4">baf23"mm/p4133t/oa hr41af">baf23"mm/="kmswait) rathe41GFP>413 cerred_3p1= ass="s3fffffffffass="sr s="srefz3r"_sg31t_pfn8 class=5line" zc.c#L279" i23"mm523441all>41e8>TIFnsh33o/a>)53643a55ef23"mm/p4113t/oa hr413NODE 31hhhhhhhhhhhhhhh>41hhh>4143OC_N &a33r= ass="s3 s="srefzer"_init_free_li3tsss=313ass=5line" fosref"554413 cerred_3po/a>)53643a55ef23"mm/p4115t/oa hr413/* re31y hole */6">/2Lpagzer"_wait_o/a>)f23"mm/p4133t/oa hr41ao/a>)f23"mm/ */o&d," cla"srhigh8 climIT_TRACE8 class=in"srefMAX_NUMNODES8 co/a>)f23"mm/p4133t/oa hr41ao/a>)f23"mm/ */og)5364baf23"mm/p4133t/oa hr41af">baf23"mm/="km//spa23984129OC_N &a3fdroreturn30;ordero/a>2532iNULLpag__early_pftsne"5364/2zer"_sglrt_pfn8 class=5line" zer"_sgl>iNULLpagzer"8 f">ba"end_pfn8 class=5line" ef">ba"end_pfn8="km//spa23984129OC_N &a3ff">i 5nsi34027cerred_3ef">i 5nsi3n5753422/oa neirned_413 cerred_3p8">i 5nsi3 cla"srCONFIG_HAVE_MEMBLO3K_NOD31 truene" >ordero/a>2532)f23"mm/p4133t/oa hr41ao/a>)f23"mm/ */o&asMAX_NUMNODES8 cs/spa__1">/2zer"_sglrt_pfn8 class=5line" zer"_s/spa23984129OC_N &a3f9edloc.c#3" cla"srCONFIG_HAVE_ARCH_3ARLY_31href23"mm/page_al41y c>416no/a>#en3 moom ki1c3mment">/*6">/28lass="sref355441e1mm5232m3 moom ki1c3mment"> * Requirad by SPA3SEMEM32Given a PFN,oreturnlwhat na="fnopBud+codrder" c41fff>41eo/a>23913 o/a>)53643mment"> * Architectures m3y imp32ment their own versne" but if Rro/a>2/oa numbk+2fp_1GFPkpinaa2sr s=konaa2e fref"55eikp="s441eo/a>23913 r= ass="s3mment"> * was used and th3r" ar32e_regions - Cfp_ free_bootmem_/oanne" z1GFPkpina/oa s40y6ulocabi3 moom ki1c3mment"> * alternativane>/38lass32memory on. If MAX_NUMNODES, affnopBud+codrder" c41fff>41eo/a>23913 moom ki1c3mment"> */6">/28lass="sre3"554<32=5line" ,show3o/a>)5364orderiss="srsgpa_4ab40refo"sref>253241eo/a>23913loc.c#L2563 i23__meminit8 class=5lin3" __m32cod," cla"srmemmap_ceeeeeeeeeeeeeeeeee" ,show3o/a>)5364/2zer"_sglrt_pfn8 csr s=___1">/2ze="kmg+codrder" c41fff>41eo/a>23913lf">i 5nsi3">52MEMAo/a>/4128t/oa hr43     32" zer"ne" ->sk+codass=5line" nidnee" ,show3o/a>)5364413 cerred_3p_paunsign3d longrass="sr s="srefsgl3t_pfn32ppppp           "41   >4128>TIF_Mn3pr= ._allo3.c#L256" i23iss="srsgpage3 cine329lass=5line" sglrt_pfnne" ,eass="sr s="srenr4ab40re4t/oa hr41e" clar4ab40re"_id&d,ro/a>2532/2zer"_sglrt_pfn8 csr s=___1">/2ze="km/spa23984129OC_N &a33o/a>)53643a55ef23"mm/p4131t/oa hr413pBud+33ULLpagzer"_idsglrt_pfnne" ,eass="sr s="srefend_pfn8 class=5line" end_pfnne" >ordero/a>25324129OC_N &a3lassass="s3 s="sreffor_each_mem_pfn_3ange833t_pfn8 class=srefnid8 class=5line" nidne" >ordero/a>2/spa23984129OC_N &a3p_paef23"m3/.cemass="sr s="srefsglrt3pfn8 33hhhhhhhhhhhhhhh>41hhh>4143OC_N &a3fded_compa3ted_efdroreturnlass="sr s3"sref33rsgpage" czer"_init_free_lis_rangene" ass="sref">orderiss="srsgpage" cine" ,eass="sr s="srefMAX_NUMNODES8 class=5line" MAX_NUMNODESne" ,e&ass4154t/oa hr41e" class="kmgpne" ,e&ass="sr s="srefend_pfn8 class=5line" end_pfnne" ,e&ass="sr s="srefnid8 class=5line" nidne" oshow3o/p;ass="sr s="srNULL158t/oa hr41L27eULL */okmem>/* r_enab40e" >40"4cerred_3fdedsbit m3om ki1comment">/* This is3a mem33ne" e>= 0oline" sgO&ass="sr s="srefend_pfn8 class=5line" end_pfnne&d,ro/a>2532ordero/a>2532/2zer"_sglrt_pfn8 csr s=___1">/2ze="kmg)53644129OC_N &a3pmoom ki1c3-1>ordero/a>25322532/2zer"_sglrt_pfn8 csr s=___1">/2ze="kmg)53644129OC_N &a3poc.c#L25632532or/spa23984129OC_N &a3pf">i 5nsi3m ki1comment">/* CONFIG_H3VE_AR33" zer"ne" -&g3"mm/page_al41y c>416no/a>#en33o/a>)53643a55ef23"mm/p4139t/oa hr413ppppp33 truene" >ordero/a>25324129OC_N &a3pr= ._allo3 i23__meminit8 class=5lin3" __m33href23"mm/page_al41y c>416no/a>#en3class="5re3">52MEMAo/a>/4141t/oa hr43ef">b34drder" clasasbal41opB>41e1mm5232m3pr= ._allo3.c#L256" i23nid8 class=5l3ne" n34Given a PFN,oreturnlwhat na=""fnopBud+codrder" c41fff>41eo/a>239133o/a>)53643a55ef23"mm/p4143t/oa hr413hhhhh34ment their own versne" but if 1b40refolasRro/a>2numbk+2fp_/2dref"sss="sref">i 41_1">41y4cerrabi3pr= ass="s3 s="srefnid8 class=5line"3nidne34e_regions - Cfp_ free_bootmem_@nd_pfnne": Toa nd_pfps="sro nd_pfpse5"f">37;yor;1GFPkfnopBud+codrder" c41fff>41eo/a>23913pdedsbit m3="sr s="srefnid8 class=5l3ne" n34memory on. If MAX_NUMNODES, ap_geBuddy: Tef"geB2s="sro ndoppse5"f">37;yor;1GFPkfnopBud+codrder" c41fff>41eo/a>23913pmoom ki1c3treturnlass="sr s="srefni38 cla34st PFN that wip_ b" pm kad tofnopBud+codrder" c41fff>41eo/a>23913poc.c#L2563om ki1comment">/* just re3urns 340fp_maskpa4167t/oa hr41x+codgoI/oa hr41ff/oa numbk+2fp_/2 i23"mm52357class=540L27>40y6ulocabi3pf">i 5nsi30;ordero/a>253241eo/a>23913fo/a>)53643)5364orderiss="srsgpaab40refo"srefsglrt_pfnne" ,eass="sr s="srefend_pfn8 class=5line" end_pfnne" >ord+codrder" c41fff>41eo/a>23913fr= ._allo3 53"""""""""415nt/oa hr413sref"34ass=5line" pgdatne" ->sk+c"srsgpage" cmemmmmmmmmmmmmmmmmmmsglrt_pfnne" ,eass="sr s="sref23"mm/p4133t/oa hr41ageBuddy */o/spa2398413 cerred_3efrsk+cod,3 cla"srCONFIG_NODES_SPAN_3THER_35_paef="_________>41ef">4141OC_N &a3od," cla"s3bool8 class=5line" bool>T3F_ass35lass=5line" fero/a>2532orderiss="srsgpa_4ab40refo"sref532ordero/a>25324129OC_N &a3class="5re3">52MEMAo/a>/4153t/oa hr43p_pas35=5lin3"mm/page_al41y c>416no/a>#en3pr= ._allo3.c#L256" i23nid8 class=5l3ne" n35 it haoooooooooo40es >40e4cerred_33o/a>)53643a55ef23"mm/p4155t/oa hr413page"35memory on. If MAX_NUMNODES,=" Rro/a>2/oa numbk+2fp_41eo/a>23913fdrommes/s3a__1">/2nid8 class=5line"3nidne35st PFit>TIF_e" ,show3o/a>)5364253241eo/a>23913foc.c#L2563="sr s="srefnid8 class=5l3ne" n35cod," cla"srmemmap_ce"textss="srsgpage" cmemme" ,show3o/a>)536441eo/a>23913ff">i 5nsi3/returnlass="sr s="sreffa3se8 c35" zer"ne" ->sk+coddddddddd"srsgpage" cmemme" ,show3o/a>)">iNULLpagzer"8 ,shore54t/oa hr41e" cl,shore5 */o/spa2398413 cerred_3a hrreturn3ass="sr s="sreftrue8 clas3=5lin35ppppp           "41   >4128>TIF_Mn3w3o/a>)53632532iNcod,"typsrsgpage" cine" line"typs="km]/spa23984129OC_N &a3ifshow3o/a3)5364/2rsgpage" cine" line"">/2 */o&d," cla"srhigh8 c="f"rline"">/28la_possi" ,rfn8 class=5line" e="f"rline"">/28la_possi" ,rfn85lin[<=mss="f">iNcod,"typsrsgpage" cine" line"typs="km]/spa23984129OC_N &a3id," cla"s3a55ef23"mm/p4162t/oa hr413ot3ca361LLpagzer"_idsglrt_pfnne" ,eass="sr s="sref">ba"end_pfn8 class=5line" ef">ba"end_pfn8="kmg)5364baf23"mm/p4133t/oa hr41af">baf23"mm/="km/spa23984129OC_N &a3ilass="5re3mment">/**6">/28lass="sre3"554<362LLpagzer"_idsglrt_pfnne" ,eass="sr s="sreline"__1">/2zer"_sglrt_pfn8 class=5line" zer"_sgl>iNULLpagzer"8 o/a>)f23"mm/p4133t/oa hr41ao/a>)f23"mm/ */o/spa23984129OC_N &a3ir= ._allo3mment"> * free_bootmem_wi3h_act36 it haoooooooooo40es >40e4cerred_3 moom ki1c3mment"> * @nid: The na"s 3o fre36y hole */6">/2Lpagzer"_wait_getass="sr s=_ge" ref_in_nid8 class=getass="sr s=_ge" reffnne"2ba"end_pfn8 class=5line" ef">ba"end_pfn8="kmg)a>)5364baf23"mm/p4133t/oa hr41af">baf23"mm/="kms/spa23984124cerred_3 drommes/s3mment"> * @max_low_pfn: T3e hig36e=mss="f">iNULLpag__early_pftsne"5364ba"end_pfn8 class=5line" ef">ba"end_pfn8="kmg)5364/2rsgpage" cine" line"">/2 */os/spa23984124cerred_3 oc.c#L2563mment"> *6">/28lass="sref3554)f23"mm/p4133t/oa hr41ao/a>)f23"mm/ */o&d," cla"srhigh8 cfn8mp_pfn8 class=5lifn8mp"srefMAX_NUMNODES8 cf">baf23"mm/p4133t/oa hr41af">baf23"mm/="kmg)5364/2rsgpage" cine" line"">/2 */os/spa23984124cerred_3 f">i 5nsi3mment"> * If t marchitect3re gu36" zerspa23984124cerred_3  hrreturn32ordero/a>5DESmm52ordero/3e" cl36ot;Initifpisi" cla"srhigh8 c=d47t/rline"sr s=_ge" line"movs="srsgpage" cine" ad47t/rline"sr s=_ge" line"movs="s"sref241eo/a>23913o3o/a>)5363+cod," cla"srzer"8 class=3line"36ass=5line" pgdatne" ->sk+ceass="sr s="sref">ba"end_pfn8 class=5line" ef">ba"end_pfn8="kmg)5364baf23"mm/p4133t/oa hr41af">baf23"mm/="kmg+codrder" c41fff>41eo/a>23913a href23"m3/returnl-sk+cod," cla"srE3OMEMs37ULLpagzer"_idx8 classssssssssa>)5364/2zer"_sglrt_pfn8 class=5line" zer"_sgla>)5364)f23"mm/ */o//spa23984129OC_N &a33o/a>)53643a55ef23"mm/p4072t/oa hr403" cla37lass=5line" fero/a>2532orderiss="srsgpa_4ab40refo"sref532/2zer"_sglrt_pfn8 class=5line" zer"_sgl>iNULLpagzer"8 o/a>)f23"mm/p4133t/oa hr41ao/a>)f23"mm/ */o//spa23984129OC_N &a33lass="5re3"sref">orderiss="srsgpage3 cine37=5lin3"mm/page_al41y c>416no/a>#en3fded_compa3tsk+cod," cla"srinit_wait3ueue_37 it haoooooooooo40es >40e4cerred_3pmoom ki1c3a55ef23"mm/p4075t/oa hr403class37ne" e#elwiposref"55441eo/a>23913fmoom ki1c30;ordero/a>2532TIF_>iNULLpagzer"8 ,n2532)5364253241eo/a>23913w3o/a>)5363)536441eo/a>23913ef">i 5nsi3n575342)">iNULLpagzer"8 o/a>s_sa40rsgpage" cine" lines_sa40 */o/spa2398413 cerred_33/a>5DESmm3">order__meminit8 class=53ine" 37ppppp           "41   >4128>TIF_Mn333o/a>)5363">52MEMAo/a>/408nt/oa hr43281" 37ass=5line" pgero/a>2532s_sa40rsgpage" cine" lines_sa40 */o[<=mss="f">iNcod,"typsrsgpage" cine" line"typs="km]/spa23984129OC_N &a3pr= abit m3om ki1comment">/*6">/28la3s="sr38ULLpa3"mm/page_al41y c>416no/a>#en3po/a>)53643mment">         * per cpu3subsy38t_pfn"mm/page_al41y c>416no/a>#en3plass="5re3mment">         * relies 3nrthe38ass=5it>TIF_>iNULLpagzer"8 ,n2532)5364253241eo/a>23913 ded_compa3mment">         * offset 3f a (38d8 class=5line" nidne" >order"textss=================e" ,show3o/a>)536441eo/a>23913 moom ki1c3mment">         */6">/28l3ss="s38ne" e>= 0oline" sgt;sk+codass=5line" nidne========e" ,show3o/a>)">iNULLpagzer"8 o1GFPk_sa40rsgpage" cine" l1GFPk_sa40 */o/spa2398413 cerred_3fdrommes/s3a__1">/2zer"8 class=5line3 zer"38 long           "41   >4128>TIF_Mn3f3o/a>)5363n575342iNULLpagzer"8 o1GFPk_sa40rsgpage" cine" l1GFPk_sa40 */o/spa2398413 cerred_3ff">i 5nsi3s/spa__1">/2zer"8 class=53ine" 38" zer"ne" ->sk+codc.c#L279" i23"mm523441all>41e8>TIFnsh3p_paaaaaaa3ask+cod," cla"srprintk8 c3ass=538ppppppppppppppp"41ppp>41e"mm52._a3lass=5line3 ef23"mm/mmes/spa__1">/2z3r"8 c38ass=5line" pgero/a>2532iNcod,"typsrsgpage" cine" line"typs="km]/spa23984129OC_N &a3pr= ~s="sr3fffffffffffffffffffffffff3mmes/39ULLpa3"mm/page_al41y c>416no/a>#en3pmoom ki1c3416no/a>#en3pmoom ki1c3a55ef23"mm/p4093t/oa hr403hhhhh39ment #ezd#fposref"55441eo/a>23913pded_compa3 i23__meminit8 class=5lin3" __m39 it haoooooooooo40es >40e4cerred_3fded_compa3ttttttttttttttttttttttttt3nsign39memorit>TIF_ss="sr s="srefsetup_perly_pfn_in_nid8 class=5line" early_pfn_in_nidne" aucalculaIoe" fr_totaliNULLpagzer"8 pgdat_pfn8 class=5lipgdat="kmg+codrder" c41fff>41eo/a>23913fdro_compa3t_Mnop_patttttttttttttttt3nsign39 longrass="sr s="srefe" ,show3o/a>)">iNULLpagzer"8 o/a>s_sa40rsgpage" cine" lines_sa40 */odesglrt_pfnne" ,">iNULLpagzer"8 o1GFPk_sa40rsgpage" cine" l1GFPk_sa40 */o/spa2398413 cerred_3 hrNULL+co3rrrrrrrrrrrrrrrrrrrrrrrrr3numNs39cod,"           "41   >4128>TIF_Mn3class="5re3">52MEMAo/a>/4098t/oa hr43geo/a39" zer"ne" -&ge" ,show3o/a>)5364iNULLpagzer"8 total41e8>TIFnsh3p_page" cl3ss="f">iNULLpagpglist_dat38 cla39class=5line" enum)5364ordero/a>2/spa23984129OC_N &a3pr= ._allo3.c#L256" i23ret8 class=5l3ne" r39rdero/a>239141"s>TIF#if4pr= ass="s4 s="srefret8 class=5line"4retne40ULLpagzer"_idpa41rt_pfnne" e+m"k+e" nidne" >ordero/a>2 " eod," cla"srwait_te" nidne" >ordero/a>2 "mp;w3o/a>)5364ordero/a>2++/spa2398413 cerred_4p1= ass="s4 a55ef23"mm/p4092t/oa hr44ne" r40t_pfn8 class=5line" z>iNULLpagzer"8 totaliNULLpagpcod,"0eirnedfiNULLpagzer"8 pgdat_pfn8 class=5lipgdat="km-""415364ba154t/oa hr41e" cla">ba15r"_sgl>iNULLpagzer"8 lass=5line" MAX_NUMNODspa2398413 cerred_4p2= ass="s4 55ef23"mm/p4093t/oa hr4048 cla40ass=5line" sglrt_pfnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn>iNULLpagzer"8 o/a>s_sa40rsgpage" cine" lines_sa40 */o//spa23984129OC_N &a4pr= ass="s4 s="srefpgdat8 class=5lin4" pgd40rsgpage" czer"_init_free_lispgdat_pfn8 class=5lipgdat="km-""415364ba0eirnedfba"eirnedf4129OC_N &a4p4= ass="s4 tttttttttttttttttttttttt4d_pae40lass="kmem>/* r_41epa>415 cerred_435/a>)53644a_Mnop_patttttttttttttttt4 zer"40e=mss="f">iNULLpag__early_pfsealtotal4129OC_N &a4p6/a>)53644arrrrrrrrrrrrrrrrrrrrrrrr4rrrrr40cod," cla"srmpa41rt_pfnne" e+m"k+e" nidne" >ordero/a>2 " eod," cla"srwait_te" nidne" >ordero/a>2 "mp;w3o/a>)5364ordero/a>2++/spa2398413 cerred_4p7/a>)53644a>52MEMAo/a>/4098t/oa hr44ass=540" zer"ne" ->sk+codLLpag__early_pfsealtotal413 cerred_4p8/a>)53644as="f">iNULLpagpglist_dat4ng">&40ot;Initifpising map na"s %fn_in_nidne" aua hr4ab40refiNULLpagzer"8 pgdat_pfn8 class=5lipgdat="km-""415364ba154t/oa hr41e" cla">ba15r"_sgl>iNULLpagzer"8 lass=5line" MAX_NUMNODspa2398413 cerred_4p9/a>)53644ac#L256" i23ret8 class=5l4dat8 40ass=5line" pgdatne" ->sk+c"srsgpage" cmemmmmmmmmmmmmmmmmmma"s %fn_in_nidne" aua1GFPk_sa40rsgpage" cine" l1GFPk_sa40 */o//spa23984129OC_N &a4pr= ~s="sr4fffffffff(unsignad long)s4="f">41e=mss="f">iNULLpagzer"_wait_pgdat_pfn8 class=5lipgdat="km-""415364ba hr40refba hr40ref4129OC_N &a4p1= ass="s4fffffffffass="sr s="srefz4r"_sg41lass=5line" for_each_mem_pfnprintk_pfn8 class=5liprintk"sref>iNULLpagzer"8 KERN_DEBUG_pfn8 class=5liKERN_DEBUG="kmfnsref"554\n&quoOree fre%d totaliNULLpagzer"8 pgdat_pfn8 class=5lipgdat="km-""415364ba154t/oa hr41e" cla">ba15r"_sgspa23984129OC_N &a4p2= ass="s4a55ef23"mm/p4113t/oa hr414NODE 41ass=5line" sglrt_pfnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" cla"srhigh8 csealtotal4129OC_N &a4pr= ass="s4 s="srefzer"_init_free_li4tsss=413ass=3"mm/page_al41y c>416no/a>#en4po/a>)53644a55ef23"mm/p4115t/oa hr414/* re41lass="kmem>/* r_41epa>415 cerred_4fdroreturn40;ordero/a>2532/* r_41epa>415 cerred_4f6/a>)5364441eo/a>23914ef">i 5nsi4n575342/oa "554-""41bo/akflags rounded to hate" ,show3o/a>fnopBud+codrder" c41fff>41eo/a>23914e8/a>)53644 cla"srCONFIG_HAVE_MEMBLO4K_NOD41se means that a zer" whose s*4Sd_pfpby mak>37;sLpaglinesa40.i3refmultiple2fp_fnopBud+codrder" c41fff>41eo/a>23914e9/a>)53644" cla"srCONFIG_HAVE_ARCH_4ARLY_41() setk the high water mark foup. aseatese 1 iR_PAGEBLOCK_BITS worth2fp_bits oa h41eo/a>23914 moom ki1c4mment">/*6">/28lass="sref4554/28lass="sref round w5lin="srewpinabits to near8laso/a>)inabits,_/oannero/a>2it41eo/a>23914 1= ass="s4mment"> * Requirad by SPA4SEMEM42Given a PFN,oreturnlwhat nadgobytes i23"mm52357class=540L27>40y6ulocabi4 o/a>)53644mment"> * Architectures m4y imp42ment their own versne" but ifffnopBud+codrder" c41fff>41eo/a>23914 r= ass="s4mment"> * was used and th4r" ar42e_regit>TIF_e" ,show3o/a>)5364/2zer"_sglrt_pfn8 class=5line" zer"_sglsglrt_pfnne" ,eass="sr s="srelinesa40rsgpage" cine" linesa40 */o/spa2398413 cerred_4 moom ki1c4mment"> * alternativane>/48lass42memor           "41   >4128>TIF_Mn4 moom ki1c4mment"> */6">/28lass="sre4"554<42e=mss="f">iNUsglrt_pfnne" ,eass="sr s="sreesemapsa40rsgpage" cine" esemapsa40 */o/spa23984129OC_N &a4loc.c#L2564 i23__meminit8 class=5lin4" __m42a23"84027cerred_4lf">i 5nsi4">52MEMAo/a>/4128t/oa hr44     42" zer"ne" -&geass="sr s="srelinesa40rsgpage" cine" linesa40 */o +mss="f">iNULLpagpcod,"0364)531rt_pfnne" e+m"k+iNULLpagzer"8 linesa40rsgpage" cine" linesa40 */ogl>iNULLpagzer"8 pa 5bo/ak_nrfiN4129OC_N &a43o/a>)53644a55ef23"mm/p4131t/oa hr414pBud+43e=mss="f">iNULLpagzer"_wait_esemapsa40rsgpage" cine" esemapsa40 */o&*d," cla"srhigh8 ciR_PAGEBLOCK_BITSrsgpage" cine" iR_PAGEBLOCK_BITS */o/spa23984129OC_N &a431= ass="s4 s="sreffor_each_mem_pfn_4ange843lass=5line" for_each_mem_pfnesemapsa40rsgpage" cine" esemapsa40 */o&d," cla"srhigh8 csoundup_pfn8 class=5lisoundup"sref>iNULLpagzer"8 esemapsa40rsgpage" cine" esemapsa40 */o, 8dgosa40offsglrt_pfnne" )//spa23984129OC_N &a4p_paef23"m4/.cemass="sr s="srefsglrt4pfn8 43hhhhhhhhhhhhhhh>41hhh>4143OC_N &a4fded_compa4ted_efdroreturnlass="sr s4"sref43rsgpage" czerero/a>25324129OC_N &a4pmoom ki1c4om ki1comment">/* This is4a mem43ne" e3"mm/page_al41y c>416no/a>#en4pmoom ki1c4-1>ordero/a>2532416no/a>#en4poc.c#L2564TIF_ss="sr s="srefsetup_per_cpu_pa 5set8 class=5line" setup_per_cpu_pa sro/p_esemapu_pa 5set8 classro/p_esemap"srefstruc532iNULLpagzer"8 pgdat_pfn8 class=5lipgdat="kmg+codrder" c41fff>41eo/a>23914pf">i 5nsi4m ki1comment">/* CONFIG_H4VE_AR43" zer"ne" ->sk+codass=5line" nidnestruc532iNULLpagzer"8 linersgpage" cine" linerly_g+codrder" c41fff>41eo/a>23914p_paunsign4a55ef23"mm/p4139t/oa hr414ppppp43ot;Initifpising map na"s %"srsgpagsglrt_pfnne" ,eass="sr s="sreline"__1">/2zer"_sglrt_pfn8 class=5line" zer"_sg+codrder" c41fff>41eo/a>23914p9/a>)53644 i23__meminit8 class=5lin4" __m43ass=5line" pgdatne" ->sk+c"srsgpagsglrt_pfnne" ,eass="sr s="srelinesa40rsgpage" cine" linesa40 */o/spa2398413 cerred_4class="5re4">52MEMAo/a>/4141t/oa hr44ef">b44_paef="_________>41ef">4141OC_N &a4pr= ._allo4.c#L256" i23nid8 class=5l4ne" n441LLpagzer"_idsglrt_pfnne" ,eass="sr s="sreesemapsa40rsgpage" cine" esemapsa40 */o&d," cla"srhigh8 cesemap_sa40rsgpage" cine" esemap_sa40"srefeass="sr s="sreline"__1">/2zer"_sglrt_pfn8 class=5line" zer"_sgleass="sr s="srelinesa40rsgpage" cine" linesa40 */o//spa23984129OC_N &a43o/a>)53644a55ef23"mm/p4143t/oa hr414hhhhh44ass=5line" sg>iNULLpagzer"8 linersgpage" cine" linerly_-""4153644129OC_N &a43ded_compa4 s="srefnid8 class=5line"4nidne44rsgpage" czers" e<=mss="f">iNesemapsa40rsgpage" cine" esemapsa40 */o/spa2398413 cerred_4cmoom ki1c4="sr s="srefnid8 class=5l4ne" n44ne" e>= 0oline" sgO&ass="sr slinersgpage" cine" linerly_-""415364banopanic4t/oa hr41e" cl13 ce_boot ,eaa">banopanic"sref>iNULLpagzer"8 pgdat_pfn8 class=5lipgdat="kmg+codrder" c41fff>41eo/a>23914pmoom ki1c4treturnlass="sr s="srefni48 cla44 longrass="sr s="srefsizess="srsgpage" csizennnnnnnnnnnnnnnnnnnnnnnnnnnn<=mss="f">iNesemapsa40rsgpage" cine" esemapsa40 */o//spa23984129OC_N &a43oc.c#L2564om ki1comment">/* just re4urns 440fp_m3"mm/page_al41y c>416no/a>#en4pf">i 5nsi40;ordero/a>2532416no/a>#en4p_paunsign4TIF_>iNULLpagzer"8 ,n2532iNULLpagzer"8 pgdat_pfn8 class=5lipgdat="kmgestruc532iNULLpagzer"8 linersgpage" cine" linerly_g+codrder" c41fff>41eo/a>23914fr= ._allo4 53"""""""""415nt/oa hr414sref"44ass=5line" pgdatne" ->sk+c"srsgpagsglrt_pfnne" ,eass="sr s="sreline"__1">/2zer"_sglrt_pfn8 class=5line" zer"_sglsglrt_pfnne" ,eass="sr s="srelinesa40rsgpage" cine" linesa40 */o/ {3"mm/page_al41y c>416no/a>#en4efrsk+cod,4 cla"srCONFIG_NODES_SPAN_4THER_45_paef#ezd#fposref"55441eo/a>23914od," cla"s4bool8 class=5line" bool>T4F_ass45t_pfn"mm/page_al41y c>416no/a>#en4class="5re4">52MEMAo/a>/4153t/oa hr44p_pas45=5lin#ifdefn" cla"srhigh8 c5ONFIG_HUGETLB_PAGE_SIZE_VARIABLE_pfn8 class=5li5ONFIG_HUGETLB_PAGE_SIZE_VARIABLE_pfn"mm/page_al41y c>416no/a>#en4cded_compa4.c#L256" i23nid8 class=5l4ne" n45 it haoooooooooo40es >40e4cerred_43o/a>)53644a55ef23"mm/p4155t/oa hr414page"45memory on. If MAX_NUMNODES,=" Ilinialisef/oa numbk+2fp_41eo/a>23914omoom ki1c4a__1">/2nid8 class=5line"4nidne45st PFss="sr s="srefsetup_per_cpu_pa 5set8 class=5line" setup_per_cpu_pa sro_4128>TIF_Mn4ff">i 5nsi4/returnlass="sr s="sreffa4se8 c45" zer"ne" -&ge" ,show3>25324129OC_N &a4a hrreturn4ass="sr s="sreftrue8 clas4=5lin45ppppppppppppppp"41ppp>41e"mm52._a4w3o/a>)536441eo/a>23914ifshow3o/a4)5364iN413 cerred_4id," cla"s4a55ef23"mm/p4162t/oa hr414ot3ca46t_pfn8 class=5line" zc.c#L2/spa23984129OC_N &a4ilass="5re4mment">/**6">/28lass="sre4"554<46hhhhhhhhhhhhhhh>41hhh>4143OC_N &a4ir= ._allo4mment"> * free_bootmem_wi4h_act46rsgpage" czers" e<=mss="f">iNHPAGE_SHIFT4t/oa hr41e" clHPAGE_SHIFT */o&""4132413 cerred_4io/a>)53644mment"> * @nid: The na"s 4o fre46ne" e>= 0oline" sgO&ass="sr sordk+4t/oa hr41e" clordk+ */o&d," cla"srhigh8 cHUGETLB_PAGE_ORDER4t/oa hr41e" clHUGETLB_PAGE_ORDER */o/spa23984129OC_N &a4 drommes/s4mment"> * @max_low_pfn: T4e hig46e=mss="f">iNUelwi"mm/page_al41y c>416no/a>#en4 oc.c#L2564mment"> *6">/28lass="sref45544129OC_N &a4 f">i 5nsi4mment"> * If t marchitect4re gu46" zerspa23984124cerred_4  hrreturn42ordero/a>5DESmm52ordero/4e" cl46ot;Initifpisi"skpa4167t/oa hr41x+co="fnopBud+codrder" c41fff>41eo/a>23914o3o/a>)5364+cod," cla"srzer"8 class=4line"46() setk the high water mark         * Assumef/oa larg8lascontiguous ordk+2fp_>25er8lasi3refhugen40y6ulocabi4a href23"m4/returnl-sk+cod," cla"srE4OMEMs47he pa 5set p.6">/28lass="sre        * Tt="svalue may besvaris="s dependia>40y6ulocabi4ad," cla"s4a55ef23"mm/p4072t/oa hr404" cla47Given a PFN,oreturnlwhat nad        * powerpc i23"mm52357class=540L27>40y6ulocabi4alass="5re4"sref">orderiss="srsgpage4 cine47ment their own versne" but i        *ffnopBud+codrder" c41fff>41eo/a>23914fded_compa4tsk+cod," cla"srinit_wait4ueue_47rsgpage" czer"_init_free_lispa 5bo/ak_ordk+4t/oa hr41e" cl4129OC_N &a4pmoom ki1c4a55ef23"mm/p4075t/oa hr404class47ne" e3"mm/page_al41y c>416no/a>#en4fmoom ki1c40;ordero/a>253241eo/a>23914foc.c#L25644027cerred_4ef">i 5nsi4n57534241eo/a>239143/a>5DESmm4">order__meminit8 class=54ine" 47se means that a zer" whose s*4Woann5ONFIG_HUGETLB_PAGE_SIZE_VARIABLE is_not sro, sro_41eo/a>2391433o/a>)5364">52MEMAo/a>/408nt/oa hr44281" 47() setk the high water mark fois_unusow3as_i 41_1">41y4cerrabi4pr= abit m4om ki1comment">/*6">/28la4s="sr48he pa 5set p.6">/28lass="sref include/nt"ux/41eo/a>23914po/a>)53644mment">         * per cpu4subsy48Given a PFN,oreturnlwhat nadgo/oa kernelsconfi>fnopBud+codrder" c41fff>41eo/a>23914plass="5re4mment">         * relies 4nrthe48ment their own versne" but ifffnopBud+codrder" c41fff>41eo/a>23914 ded_compa4mment">         * offset 4f a (48d8 clss="sr s="srefsetup_per_cpu_pa 5set8 class=5line" setup_per_cpu_pa sro_         */6">/28l4ss="s48memor           "41   >4128>TIF_Mn4fdrommes/s4a__1">/2zer"8 class=5line4 zer"48 long3"mm/page_al41y c>416no/a>#en4f3o/a>)5364n5753424027cerred_4ff">i 5nsi4s/spa__1">/2zer"8 class=54ine" 487paef#ezd#fposref"55441eo/a>23914p_paaaaaaa4ask+cod," cla"srprintk8 c4ass=548ppppppppppppppp"41ppp>41e"mm52._a4lass=5line4 ef23"mm/mmes/spa__1">/2z4r"8 c48ass=5it>TIF_e" ,show3o/a>)5364r_cpu_pa 5set8 class=pppia>r_cpe" setup_per_cpu_pa falclinemap_sa40rsgpage" cine" falclinemap_sa40"srefsglrt_pfnne" ,eass="sr s="srefeirnedf41eo/a>23914pr= ~s="sr4fffffffffffffffffffffffff4mmes/49ULLpagzer"_idx8 classssssssssssssssssssssssssssssssssssssglrt_pfnne" ,eass="sr s="sre hr40ref413 cerred_4pmoom ki1c44128>TIF_Mn4pmoom ki1c4a55ef23"mm/p4093t/oa hr404hhhhh492LLpagzer"_idsglrt_pfnne" ,eass="sr s="sre4129OC_N &a4pded_compa4 i23__meminit8 class=5lin4" __m49 it haoooooooooo40es >40e4cerred_4fded_compa4ttttttttttttttttttttttttt4nsign49y hole */6">/2 that ap_ ranges regi="fnopBud+codrder" c41fff>41eo/a>23914fdro_compa4t_Mnop_patttttttttttttttt4nsign49st PFN that wip_ b" pm kad t        * Provid2ta mor0faccuraIos8laim>TIonai">/oar0far0f1GFPkp actinfnopBud+codrder" c41fff>41eo/a>23914f3o/a>)5364rrrrrrrrrrrrrrrrrrrrrrrrr4numNs490fp_maskpa4167t/oa hr41x+cod        * /oa "55441eo/a>23914ff">i 5nsi4">52MEMAo/a>/4098t/oa hr44geo/a49antees that ap_ ranges regis        * "554, cine populaIodaglass=;regIonamay colasus o5441eo/a>23914f_paaaaaaa4ss="f">iNULLpagpglist_dat48 cla49se means that a zer" whose s        * inemap_41eo/a>23914fass=5line4.c#L256" i23ret8 class=5l4ne" r49() setk the high water mark         * populaIodaregIonsamay not naturally hl>r_ow3on_40y6ulocabi5pr= ass="s5 s="srefret8 class=5line"5retne50he pa 5set p.6">/28lass="sre        * So /oa ( hr40ref40y6ulocabi5p1= ass="s5 a55ef23"mm/p4092t/oa hr45ne" r50Given a PFN,oreturnlwhat nad        *ffnopBud+codrder" c41fff>41eo/a>23915p2= ass="s5 55ef23"mm/p4093t/oa hr4058 cla50ass=5line" sgs" e<=mss="f">iNfeirnedfiN)53">)53+codrder" c41fff>41eo/a>23915p3= ass="s5 i23__meminit8 class=5lin5" pgd50rsgpage" czerczer"_init_free_lisIS_ENABLED4t/oa hr41e" clIS_ENABLED"sref>iNULLpagzer"8 5ONFIG_SPARSEMEM_pfn8 class=5li5ONFIG_SPARSEMEMass=)/spa2398413 cerred_5p4= ass="s5 tttttttttttttttttttttttt5d_pae50ne" e>= 0oline" sgO&ass="sr s41eo/a>23915p5= ass="s5 _Mnop_patttttttttttttttt5 zer"50 long"mm/page_al41y c>416no/a>#en5p6/a>)53645arrrrrrrrrrrrrrrrrrrrrrrr5rrrrr50cod," cla"srmero/a>2532iNULLpagzer"8 pa 534t/oa hr41e" clorderiss="srsgpapa>oass=)/&""41""41i<=mss="f">iNPAGE_SHIFT4t/oa hr41e" clPAGE_SHIFT */o3+codrder" c41fff>41eo/a>23915p7/a>)53645a>52MEMAo/a>/4098t/oa hr45ass=550" zer3"mm/page_al41y c>416no/a>#en5p8/a>)53645as="f">iNULLpagpglist_dat5ng">&50ppppppppppppppp"41ppp>41e"mm52._a5p9/a>)53645ac#L256" i23ret8 class=5l5dat8 50() setk the high water mark="fnopBud+codrder" c41fff>41eo/a>23915pr= ~s="sr5fffffffff(unsignad long)s5="f">51he pa 5set p.6">/28lass="sref Seasup /oa "55441eo/a>23915p1= ass="s5fffffffffass="sr s="srefz5r"_sg51Given a PFN,oreturnlwhat nadgo  -amark hll_40y6ulocabi5p2= ass="s5a55ef23"mm/p4113t/oa hr415NODE 51ment their own versne" but if   -amark hll_glass=;queues2emptyfnopBud+codrder" c41fff>41eo/a>23915pr= ass="s5 s="srefzer"_init_free_li5tsss=51e_regions - Cfp_ free_bootmem_  -aclea41/oa glass=;bitmapsfnopBud+codrder" c41fff>41eo/a>23915p4= ass="s5a55ef23"mm/p4115t/oa hr415/* re51memory on. If MAX_NUMNODES, afnopBud+codrder" c41fff>41eo/a>23915p5= ass="s50;ordero/a>253240y6ulocabi5f6/a>)5364541eo/a>23915ef">i 5nsi5n575342TIF_ss="sr s="srefsetup_pepppia>r_cpu_pa 5set8 class=pppia>r_cpe" setup_per_cpu_pa fre>41rea=5lin_cor0u_pa 5set8 clasfre>41rea=5lin_cor0"srefstruc532iNULLpagzer"8 pgdat_pfn8 class=5lipgdat="kmg+codrder" c41fff>41eo/a>23915e8/a>)53645 cla"srCONFIG_HAVE_MEMBLO5K_NOD51ot;Initifpising map ne" ,show3o/a>)">iNULLpagzer"8 o/a>s_sa40rsgpage" cine" lines_sa40 */odesglrt_pfnne" ,">iNULLpagzer"8 o1GFPk_sa40rsgpage" cine" l1GFPk_sa40 */o/spa2398413 cerred_5e9/a>)53645" cla"srCONFIG_HAVE_ARCH_5ARLY_51() se           "41   >4128>TIF_Mn5 moom ki1c5mment">/*6">/28lass="sref555441eo/a>23915 1= ass="s5mment"> * Requirad by SPA5SEMEM52t_pfn8 class=>2532ba154t/oa hr41e" cla">ba15r"_s3+codrder" c41fff>41eo/a>23915 2= ass="s5mment"> * Architectures m5y imp522LLpagzer"_idsglrt_pfnne" ,eass="sr s="sreline"__1">/2zer"_sglrt_pfn8 class=5line" zer"_s&d," cla"srhigh8 cba"end_pfn8 class=5line" ef">ba"end_pfn8="km3+codrder" c41fff>41eo/a>23915 r= ass="s5mment"> * was used and th5r" ar523_pfn8 class=>253241eo/a>23915 4= ass="s5mment"> * alternativane>/58lass52lass="kmem>/* r_41epa>415 cerred_5 moom ki1c5mment"> */6">/28lass="sre5"554<52e=mss="f">iNU" cla"srhigh8 ciNULLpagzer"8 pgdat_pfn8 class=5lipgdat="km//spa23984129OC_N &a5loc.c#L2565 i23__meminit8 class=5lin5" __m52a23"8#ifdefn" cla"srhigh8 c5ONFIG_NUMA_BALANCING_pfn8 class=5li5ONFIG_NUMA_BALANCINGass="kmem>/* r_41epa>415 cerred_5 f">i 5nsi5">52MEMAo/a>/4128t/oa hr45     52" zer"ne" -&geass="sr s="srespin_o/ak_r_cpu_pa 5set8 classpin_o/ak_r_cp"srefa>)5364_migraIo_o/ak class=5line" efumabalancia>_migraIo_o/ak="km//spa23984129OC_N &a5l8/a>)53645d longrass="sr s="srefsgl5t_pfn52ot;Initifpisi" cla"srhigh8 c_migraIo_nrf_migraIo_nrf41e8>TIFnsh5p9/a>)53645.c#L256" i23iss="srsgpage5 cine529lass=5line" " cla"srhigh8 c_migraIo_next_windowrsgpage" cine" fumabalancia>_migraIo_next_windowr"_s&d," cla"srhigh8 cjiffi534t/oa hr41e" cljiffi53="km3+codrder" c41fff>41eo/a>239153o/a>)53645a55ef23"mm/p4131t/oa hr415pBud+53_paef#ezd#f+codrder" c41fff>41eo/a>2391531= ass="s5 s="sreffor_each_mem_pfn_5ange853lass=5line" for_each_mem_pfn5lin_waitqueue_hea54t/oa hr41e" cl,lin_waitqueue_hea5"srefa>)53644129OC_N &a5p_paef23"m5/.cemass="sr s="srefsglrt5pfn8 53ass=5line" sg>iNULLpagzer"8 5lin_waitqueue_hea54t/oa hr41e" cl,lin_waitqueue_hea5"srefa>)53644cgrouper_cpu_pa 5set8 clas4cgrouper_cp"sref>iNULLpagzer"8 pgdat_pfn8 class=5lipgdat="km//spa23984129OC_N &a5pmoom ki1c5om ki1comment">/* This is5a mem53lass="kmem>/* r_41epa>415 cerred_5pmoom ki1c5-1>ordero/a>2532iNUpa41rt_pfnne" e+m"k+jrsgpage" cine" j */o " eod," cla"srwait_tjrsgpage" cine" j */o "mp;w3o/a>)53644128>TIF_Mn5poc.c#L2565iNULLpagzer"8 linersgpage" cine" linerly_&d," cla"srhigh8 cbalines class=5line" ef">balinesr"_s + nid8 class=5linjrsgpage" cine" j */o3+codrder" c41fff>41eo/a>23915pf">i 5nsi5m ki1comment">/* CONFIG_H5VE_AR53" zer"ne" ->sk+codsglrt_pfnne" ,eass="sr s="srefa40rsgpage" cine" sa40 */ogl>iNULLpagzer"8 sealfa40rsgpage" cine" sealfa40 */ogl>iNULLpagzer"8 fre>fa40rsgpage" cine" fre>fa40 */ogl>iNULLpagzer"8 inemap_41eo/a>23915p8/a>)53645a55ef23"mm/p4139t/oa hr415ppppp53ppppppppppppppp"41ppp>41e"mm52._a5p9/a>)53645 i23__meminit8 class=5lin5" __m53ass=5line" pgdatne" -eass="sr s="srefa40rsgpage" cine" sa40 */o&d," cla"srhigh8 ccod,"0eirnedfiNULLpagzer"8 4154t/oa hr41e" class="kmg/53644129OC_N &a5class="5re5">52MEMAo/a>/4141t/oa hr45ef">b54ULLpagzer"_idx8 class>iNULLpagzer"8 sealfa40rsgpage" cine" sealfa40 */o&d," cla"srhigh8 cfre>fa40rsgpage" cine" fre>fa40 */o&d," cla"srhigh8 cfa40rsgpage" cine" sa40 */o&-7fn_in_nidne" aua hr4ab40refiNULLpagzer"8 4154t/oa hr41e" class="kmg/53644129OC_N &a5c1= ass="s5.c#L256" i23nid8 class=5l5ne" n54t_pfn8 class=5line" zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz>iNULLpagzer"8 o1GFPk_sa40rsgpage" cine" l1GFPk_sa40 */o//spa23984129OC_N &a5c_paef23"m5a55ef23"mm/p4143t/oa hr415hhhhh54hhhhhhhhhhhhhhh>41hhh>4143OC_N &a53ded_compa5 s="srefnid8 class=5line"5nidne54rsgpage" czerczerzzzz>k the high water mark="fnopBud+codrder" c41fff>41eo/a>23915cmoom ki1c5="sr s="srefnid8 class=5l5ne" n54memory on. If MAX_NUMNODES,                 * Ad47t/ fre>fa40 sop=5linitfaccount3rpa41how much glass=fnopBud+codrder" c41fff>41eo/a>23915cmoom ki1c5treturnlass="sr s="srefni58 cla54st PFN that wip_ b" pm kad t                * is_uspfnby tt="s"55441eo/a>23915coc.c#L2565om ki1comment">/* just re5urns 540fp_maskpa4167t/oa hr41x+cod                * a40 per-cpu ilinialis>TIonsfnopBud+codrder" c41fff>41eo/a>23915pf">i 5nsi50;ordero/a>253241eo/a>23915p_paunsign5iNULLpagzer"8 inemap_iNULLpagzer"8 sealfa40rsgpage" cine" sealfa40 */o//spa23984129OC_N &a5c9/a>)53645 53"""""""""415nt/oa hr415sref"54ass=5line" pgdatne" -s" e<=mss="f">iNfre>fa40rsgpage" cine" fre>fa40 */o&""41d," cla"srhigh8 cinemap_4128>TIF_Mn5efrsk+cod,5 cla"srCONFIG_NODES_SPAN_5THER_55ULLpagzer"_idx8 classssssssss<=mss="f">iNfre>fa40rsgpage" cine" fre>fa40 */o&-d," cla"srhigh8 cinemap_4129OC_N &a5od," cla"s5bool8 class=5line" bool>T5F_ass55t_pfn8 class=5line" zzzzzzzzzs" e<=mss="f">iNinemap_4129OC_N &a5o_paef23"m5">52MEMAo/a>/4153t/oa hr45p_pas55ass=5line" sglrt_pfnnnnnnnnnnnnnnnnnn" cla"srhigh8 ciNULLpagzer"8 KERN_DEBUG_pfn8 class=5liKERN_DEBUG="kmspa23984129OC_N &a5oded_compa5.c#L256" i23nid8 class=5l5ne" n55d8 class=5line" nidne" >order"textss========nsref"554\n&quo e%"s"554:e%lu_4129OC_N &a5omoom ki1c5a55ef23"mm/p4155t/oa hr415page"55ne" e>= 0oline" sgt;sk+codass=5line" nidnfn_in_nidne" aua hr4/oa 34t/oa hr41e" cla hr4/oa 3e" e[<=mss="f">iNjrsgpage" cine" j */o]gl>iNULLpagzer"8 inemap_4129OC_N &a5omoom ki1c5a__1">/2nid8 class=5line"5nidne55 longrass="sr s="sref}Uelwi"mm/page_al41y c>416no/a>#en5foc.c#L2565="sr s="srefnid8 class=5l5ne" n55cod," cla"srmemmap_ce"textss=" cla"srhigh8 ciNULLpagzer"8 KERN_WARNING_pfn8 class=5liKERN_WARNING="kmspa23984129OC_N &a5of">i 5nsi5/returnlass="sr s="sreffa5se8 c55" zer"ne" ->sk+codass=5line" nidnensref"554\n&quo e%"s"554:e%lu_fa40 %lu\n\n&quofnopBudgspa23984129OC_N &a5o_paunsign5ass="sr s="sreftrue8 clas5=5lin55ot;Initifpising map na"s %"srsgpagfn_in_nidne" aua hr4/oa 34t/oa hr41e" cla hr4/oa 3e" e[<=mss="f">iNjrsgpage" cine" j */o]gl>iNULLpagzer"8 inemap_iNULLpagzer"8 fre>fa40rsgpage" cine" fre>fa40 */o//spa23984129OC_N &a5o9/a>)53645239141"s>TIF#if5ifshow3o/a5)5364sref"55441eo/a>23915id," cla"s5a55ef23"mm/p4162t/oa hr415ot3ca56t_pfn8 class=5line" zs" e<=mss="f">iNjrsgpage" cine" j */o "= 0 ">)53">)53s<=mss="f">iNfre>fa40rsgpage" cine" fre>fa40 */o&""41i<=mss="f">iNdma_reserversgpage" cine" dma_reserve */o)            "41   >4128>TIF_Mn5ilass="5re5mment">/**6">/28lass="sre5"554<56ass=5line" sglrt_pfnnnnnnnnnn<=mss="f">iNfre>fa40rsgpage" cine" fre>fa40 */o&-d," cla"srhigh8 cdma_reserversgpage" cine" dma_reserve */o/spa23984129OC_N &a5ir= ._allo5mment"> * free_bootmem_wi5h_act56d8 class=5line" nidne" >order" cla"srhigh8 ciNULLpagzer"8 KERN_DEBUG_pfn8 class=5liKERN_DEBUG="kmensref"554\n&quo e%"s"554:e%lu_4129OC_N &a5io/a>)53645mment"> * @nid: The na"s 5o fre56ne" e>= 0oline" sgng map na"s %"srsgpagfn_in_nidne" aua hr4/oa 34t/oa hr41e" cla hr4/oa 3e" e[0]gl>iNULLpagzer"8 dma_reserversgpage" cine" dma_reserve */o)/spa23984129OC_N &a5imoom ki1c5mment"> * @max_low_pfn: T5e hig56 longrass="sr s="sref}spa23984129OC_N &a5ioc.c#L2565mment"> *6">/28lass="sref55544027cerred_5 f">i 5nsi5mment"> * If t marchitect5re gu56" zer"ne" ->sk+cods" e!>iNULLpagzer"8 is_high ,eaidx4t/oa hr41e" cl,s_high ,eaidx"sref>iNULLpagzer"8 jrsgpage" cine" j */o)/spa2398413 cerred_5  hrreturn52ordero/a>5DESmm52ordero/5e" cl56ot;Initifpising map na"s %fn_in_nidne" aunr_kernelffa40rsgpage" cine" fre>fa40 */o/spa23984129OC_N &a5i9/a>)53645+cod," cla"srzer"8 class=5line"56ass=5line" pgdatne" -esref"554/oar0far0fenough kernels41eo/a>23915a href23"m5/returnl-sk+cod," cla"srE5OMEMs57ULLpagzer"_idx8 classelwips" e<=mss="f">iNnr_kernelfiNinemap_413 cerred_5ad," cla"s5a55ef23"mm/p4072t/oa hr405" cla57t_pfn8 class=5line" zzzzzzzzz<=mss="f">iNnr_kernelf4129OC_N &a5alass="5re5"sref">orderiss="srsgpage5 cine57ass=5line" sglrt_pfnn<=mss="f">iNnr_129ffa40rsgpage" cine" fre>fa40 */o/spa23984129OC_N &a5fded_compa5tsk+cod," cla"srinit_wait5ueue_57 it haoooooooooo40es >40e4cerred_5pmoom ki1c5a55ef23"mm/p4075t/oa hr405class57ne" e>= 0oline" sgO&ass="sr slinersgpage" cine" linerly_-""4153644129OC_N &a5fmoom ki1c50;ordero/a>2532fa40rsgpage" cine" fre>fa40 */o/spa23984129OC_N &a5foc.c#L256541eo/a>23915ef">i 5nsi5n575342Ta valuerpa41low ,e oar0,nitfwill besad47t/e0i23"mm52357class=540L27>40y6ulocabi53/a>5DESmm5">order__meminit8 class=55ine" 57se means that a zer" whose s5line" zzzzzzzzzf woannthe boot ,e 0y6ulata41fre>fs40y6ulocabi533o/a>)5365">52MEMAo/a>/408nt/oa hr45281" 57() setk the high water mark 5line" zzzzzzzzzf And hll_high ,e 40y6ulocabi5pr= abit m5om ki1comment">/*6">/28la5s="sr58he pa 5set p.6">/28lass="sre5line" zzzzzzzzzfffnopBud+codrder" c41fff>41eo/a>23915po/a>)53645mment">         * per cpu5subsy58t_pfn8 class=5line" z>iNULLpagzer"8 linersgpage" cine" linerly_-""415364iNULLpagzer"8 jrsgpage" cine" j */o) ?s>iNULLpagzer"8 sealfa40rsgpage" cine" sealfa40 */o&:," cla"srhigh8 cfre>fa40rsgpage" cine" fre>fa40 */o/spa23984129OC_N &a5plass="5re5mment">         * relies 5nrthe58=5lin#ifdefn" cla"srhigh8 c5ONFIG_NUMArsgpage" cine" 5ONFIG_NUMAit haoooooooooo40es >40e4cerred_5 ded_compa5mment">         * offset 5f a (58rsgpage" czerczerzzzz>iNULLpagzer"8 linersgpage" cine" linerly_-""415364         */6">/28l5ss="s58ne" e>= 0oline" sgO&ass="sr slinersgpage" cine" linerly_-""415364iNfre>fa40rsgpage" cine" fre>fa40 */o">iNULLpagzer"8 sytctl_iin_unmapp5f_r>TIorsgpage" cine" sytctl_iin_unmapp5f_r>TIo */o)spa23984129OC_N &a5fdrommes/s5a__1">/2zer"8 class=5line5 zer"58 longrass="sr s="srefsizess="srsgpage" csizennnnnnnnn/ 109" i23"mm523441all>41e8>TIFnsh5f3o/a>)5365n575342iNfre>fa40rsgpage" cine" fre>fa40 */ozf >iNULLpagzer"8 sytctl_iin_slab_r>TIorsgpage" cine" sytctl_iin_slab_r>TIo */o) / 109" i23"mm523441all>41e8>TIFnsh5ff">i 5nsi5s/spa__1">/2zer"8 class=55ine" 587paef#ezd#f i23"mm523441all>41e8>TIFnsh5f/a>5DESmm5ask+cod," cla"srprintk8 c5ass=558ot;Initifpising map n>iNULLpagzer"8 linersgpage" cine" linerly_-""415364iNjrsgpage" cine" j */o]" i23"mm523441all>41e8>TIFnsh5f3o/a>)5365 ef23"mm/mmes/spa__1">/2z5r"8 c58ass=5line" pgdatne" -eass="sr s="srefpin_o/ak_r_cpu_pa 5set8 classpin_o/ak_r_cp"srefa>)5364)5364iNULLpagzer"8 line_seqo/ak_r_cpu_pa 5set8 clasline_seqo/ak_r_cp"sref>iNULLpagzer"8 linersgpage" cine" linerly_//spa23984129OC_N &a5plass="5re5a55ef23"mm/p4093t/oa hr405hhhhh59ass=5line" sglrt_pfnn<=mss="f">iNlinersgpage" cine" linerly_-""4153644129OC_N &a5pded_compa5 i23__meminit8 class=5lin5" __m59 it haoooooooooo40es >40e4cerred_5fded_compa5ttttttttttttttttttttttttt5nsign59ne" e>= 0oline" sgO&ass="sr sline_pcper_cpu_pa 5set8 clasline_pcper_cp"sref>iNULLpagzer"8 linersgpage" cine" linerly_//spa23984129OC_N &a5pdrommes/s5t_Mnop_patttttttttttttttt5nsign59 longrass="sr s="srefO&ass="sr soruvecer_cpu_pa 5set8 clasoruvecer_cp"srefa>)53644129OC_N &a5p3o/a>)5365rrrrrrrrrrrrrrrrrrrrrrrrr5numNs59cod," cla"srmemmap_ces" e!>iNULLpagzer"8 fa40rsgpage" cine" sa40 */o)spa23984129OC_N &a5ff">i 5nsi5">52MEMAo/a>/4098t/oa hr45geo/a59" zer"ne" ->sk+codass=5lincontinue/spa23984129OC_N &a5p/a>5DESmm5ss="f">iNULLpagpglist_dat58 cla59ppppppppppppppp"41ppp>41e"mm52._a5fass=5line5.c#L256" i23ret8 class=5l5ne" r59ass=5line" pgdatne" -eass="sr s="srefro_4129OC_N &a6pr= ass="s6 s="srefret8 class=5line"6retne60ULLpagzer"_idx8 classeass="sr s="srefro/p_esemapu_pa 5set8 classro/p_esemap"sref" cla"srhigh8 c/2zer"_sglrt_pfn8 class=5line" zer"_sgleass="sr s="srefa40rsgpage" cine" sa40 */o)/spa23984129OC_N &a6p1= ass="s6 a55ef23"mm/p4092t/oa hr46ne" r60t_pfn8 class=5line" z>iNULLpagzer"8 ero class=5line" eero="km d," cla"srhigh8 cilin_currently_empty_linersgpage" cine" ilin_currently_empty_line"sref>iNULLpagzer"8 linersgpage" cine" linerly_gleass="sr s="sreline"__1">/2zer"_sglrt_pfn8 class=5line" zer"_sgspa23984129OC_N &a6p2= ass="s6 55ef23"mm/p4093t/oa hr4068 cla60ass=5line" sglrt_pfnnnnnnnnnnnnnnnnnngzer"_idx8 classeass="sr s="srefa40rsgpage" cine" sa40 */ogl>iNULLpagzer"8 MEMMAP_EARLYrsgpage" cine" MEMMAP_EARLY */o)/spa23984129OC_N &a6p3= ass="s6 i23__meminit8 class=5lin6" pgd60rsgpage" czerczerlasseass="sr s="sreBUG_ON4t/oa hr41e" clBUG_ON"sref>iNULLpagzer"8 ero class=5line" eero="km)/spa23984129OC_N &a6p4= ass="s6 tttttttttttttttttttttttt6d_pae60ne" e>= 0oline" sgO&ass="sr sinemap_r_cpu_pa 5set8 clasinemap_r_cp"sref>iNULLpagzer"8 fa40rsgpage" cine" sa40 */ogl>iNULLpagzer"8 4154t/oa hr41e" class="kmg/5364/2zer"_sglrt_pfn8 class=5line" zer"_s)/spa23984129OC_N &a6p5= ass="s6 _Mnop_patttttttttttttttt6 zer"60 longrass="sr s="srefO&ass="sr sline"__1">/2zer"_sglrt_pfn8 class=5line" zer"_s&+d," cla"srhigh8 cfa40rsgpage" cine" sa40 */o/spa23984129OC_N &a6p6/a>)53646arrrrrrrrrrrrrrrrrrrrrrrr6rrrrr60cod," cla"srm}spa23984129OC_N &a6p7/a>)53646a>52MEMAo/a>/4098t/oa hr46ass=560" zer3"mm/page_al41y c>416no/a>#en6p8/a>)53646as="f">iNULLpagpglist_dat6ng">&60ppppppppppppppp"41ppp>41e"mm52._a6p9/a>)53646ac#L256" i23ret8 class=5l6dat8 60ass=5it>TIF_ss="sr s="srefsetup_per_cp_"srok class=5line" eper_cp_"srok="kmen s="srefsetup_13 ce_f">ba ,eamapu_pa 5set8 clas13 ce_f">ba ,eamap"srefstruc532iNULLpagzer"8 pgdat_pfn8 class=5lipgdat="km)spa23984129OC_N &a6pr= ~s="sr6fffffffff(unsignad long)s6="f">61_paef="_________>41ef">4141OC_N &a6p1= ass="s6fffffffffass="sr s="srefz6r"_sg61lass=5line" fosref"554b3r*ffnopBud+codrder" c41fff>41eo/a>23916p2= ass="s6a55ef23"mm/p4113t/oa hr416NODE 61ass=5line" sgs" e!>iNULLpagzer"8 ba"eirnedfba"eirnedf4129OC_N &a6p4= ass="s6a55ef23"mm/p4115t/oa hr416/* re61lass="kmem>/* r_41epa>415 cerred_6p5= ass="s60;ordero/a>2532ba ,eamap, bsrore tt=",p actout boot ,e *ffnopBud+codrder" c41fff>41eo/a>23916p7/a>)53646n575342iNULLpagzer"8 ba ,eamapu_pa 5set8 clasf">ba ,eamap"sre)            "41   >4128>TIF_Mn6e8/a>)53646 cla"srCONFIG_HAVE_MEMBLO6K_NOD61ot;Initifpising map ne" ,show3o/a>)>iNULLpagzer"8 fa40rsgpage" cine" sa40 */ogl>iNULLpagzer"8 5linersgpage" cine" sline */ogl>iNULLpagzer"8 en54t/oa hr41e" clens="km/spa23984129OC_N &a6e9/a>)53646" cla"srCONFIG_HAVE_ARCH_6ARLY_61ass=5line" pgdatne" -struc532orderiss="srsgpapa>oass=p">iNULLpagzer"8 mapu_pa 5set8 clasmap"sre/spa23984129OC_N &a6 moom ki1c6mment">/*6">/28lass="sref65544129OC_N &a6 1= ass="s6mment"> * Requirad by SPA6SEMEM62t_pfn8 class=5line" z>k the high water mark="fnopBud+codrder" c41fff>41eo/a>23916 2= ass="s6mment"> * Architectures m6y imp62ment their own versne" but i                * Tta "554's enspoint3raren'tsc.quirow3to bess=5lORDER *opBud+codrder" c41fff>41eo/a>23916 3= ass="s6mment"> * was used and th6r" ar62e_regions - Cfp_ free_bootme                * hlrt_5fnbut /oa n">ba ,eamap enspoint3rm7t/ besin ordk+"sopBud+codrder" c41fff>41eo/a>23916 4= ass="s6mment"> * alternativane>/68lass62memory on. If MAX_NUMNODES,                 * pa41/oa buddy 0y6ulata41to funcTIonacorrectly i23"mm52357class=540L27>40y6ulocabi6 moom ki1c6mment"> */6">/28lass="sre6"554<62st PFN that wip_ b" pm kad t                *ffnopBud+codrder" c41fff>41eo/a>23916loc.c#L2566 i23__meminit8 class=5lin6" __m62cod," cla"srmemmap_ceeass="sr s="sre5linersgpage" cine" sline */o&d," cla"srhigh8 cba"end_pfn8 class=5line" ef">ba"end_pfn8="km ">)53 ~f>iNULLpagzer"8 s=5lORDER_iR_PAGEfsglrt_pfn8 class=5lORDER_iR_PAGEf="km - 1)/spa23984129OC_N &a6 f">i 5nsi6">52MEMAo/a>/4128t/oa hr46     62" zer"ne" ->sk+cod>iNULLpagzer"8 en54t/oa hr41e" clens="km&d," cla"srhigh8 cba"end_pfn8 class=5line" ef">ba"end_pfn8="km + nid8 class=5linba"eirnedfba"eirnedfiNULLpagzer"8 en54t/oa hr41e" clens="kmgl>iNULLpagzer"8 M=5lORDER_iR_PAGEfsglrt_pfn8 class=5lORDER_iR_PAGEf="km)/spa23984129OC_N &a6 9/a>)53646.c#L256" i23iss="srsgpage6 cine62ass=5line" pgdatne" -eass="sr s="srefa40rsgpage" cine" sa40 */o&d,,e<=mss="f">iNen54t/oa hr41e" clens="km&-7fn_in_nidne" au5linersgpage" cine" sline */o)&gosa40offstruc532orderiss="srsgpapa>oass=)/spa23984129OC_N &a63o/a>)53646a55ef23"mm/p4131t/oa hr416pBud+63ULLpagzer"_idx8 classeass="sr s="sremapu_pa 5set8 clasmap"sre&d," cla"srhigh8 c13 ce_remapu_pa 5set8 clas13 ce_remap"sref" cla"srhigh8 cba154t/oa hr41e" cla">ba15r"_sgleass="sr s="srefa40rsgpage" cine" sa40 */o)/spa23984129OC_N &a631= ass="s6 s="sreffor_each_mem_pfn_6ange863t_pfn8 class=5line" zs" e!>iNULLpagzer"8 mapu_pa 5set8 clasmap"sre)spa23984129OC_N &a6p_paef23"m6/.cemass="sr s="srefsglrt6pfn8 63ass=5line" sglrt_pfnnnnnnnnnn<=mss="f">iNmapu_pa 5set8 clasmap"sre&d," cla"srhigh8 c13 ce_boot ,e_f">banoeiricu_pa 5set8 clas13 ce_boot ,e_f">banoeiric"sref" cla"srhigh8 c4129OC_N &a633= ass="s6ted_efdroreturnlass="sr s6"sref63rsgpage" czerczerlasseass="sr s="sreba ,eamapu_pa 5set8 clasf">ba ,eamap"sre&d," cla"srhigh8 cmapu_pa 5set8 clasmap"sre&+ e<=mss="f">iNba"end_pfn8 class=5line" ef">ba"end_pfn8="km -7fn_in_nidne" au5linersgpage" cine" sline */o)/spa23984129OC_N &a634= ass="s6om ki1comment">/* This is6a mem63ne" e>= 0o3"mm/page_al41y c>416no/a>#en6pmoom ki1c6-1>ordero/a>25324129OC_N &a6poc.c#L256641eo/a>23916pf">i 5nsi6m ki1comment">/* CONFIG_H6VE_AR63antees that ap_ ranges regis        * With n" DIS5ONTIG,1/oa global_glaamap is 47t/ sro as n">b 0'sfnopBud+codrder" c41fff>41eo/a>23916p8/a>)53646a55ef23"mm/p4139t/oa hr416ppppp63se means that a zer" whose s        *ffnopBud+codrder" c41fff>41eo/a>23916p9/a>)53646 i23__meminit8 class=5lin6" __m63ass=5line" pgs" e<=mss="f">iNiNNODE_DATArsgpage" cine" NODE_DATA"sref0))            "41   >4128>TIF_Mn6class="5re6">52MEMAo/a>/4141t/oa hr46ef">b64ULLpagzer"_idx8 class>iNULLpagzer"8  ,eamapu_pa 5set8 clas ,eamap"sre&d," cla"srhigh8 cNODE_DATArsgpage" cine" NODE_DATA"sref0)-""415364ba ,eamapu_pa 5set8 clasf">ba ,eamap"sre/spa23984129OC_N &a6c1= ass="s6.c#L256" i23nid8 class=5l6ne" n64t_pfn#ifdefn" cla"srhigh8 c5ONFIG_HAVE_MEMBLOCK_NODE_MAPrsgpage" cine" 5ONFIG_HAVE_MEMBLOCK_NODE_MAPLLpaspa23984129OC_N &a6c_paef23"m6a55ef23"mm/p4143t/oa hr416hhhhh64ass=5line" sglrt_pfnns" e<=mss="f">iN4topfn8 class=5line" e4topfn8"sref" cla"srhigh8 c ,eamapu_pa 5set8 clas ,eamap"sre) !d," cla"srhigh8 cba"end_pfn8 class=5line" ef">ba"end_pfn8="km)spa23984129OC_N &a63ded_compa6 s="srefnid8 class=5line"6nidne64rsgpage" czerczerzzzzx8 class>iNULLpagzer"8  ,eamapu_pa 5set8 clas ,eamap"sre&-d,e<=mss="f">iNba"end_pfn8 class=5line" ef">ba"end_pfn8="km -7fn_in_nidne" auARCH_PFN_OFFSET4t/oa hr41e" clARCH_PFN_OFFSET */o)/spa23984129OC_N &a6cmoom ki1c6="sr s="srefnid8 class=5l6ne" n64memor#ezd#fposref"55441eo/a>23916cmoom ki1c6treturnlass="sr s="srefni68 cla645e" e>= 0o3"mm/page_al41y c>416no/a>#en6coc.c#L2566om ki1comment">/* just re6urns 640fp_m#ezd#f i23"mm523441all>41e8>TIFnsh6pf">i 5nsi60;ordero/a>253241eo/a>23916c8/a>)53646416no/a>#en6c9/a>)53646 53"""""""""415nt/oa hr416sref"64rdero/a>239141"s>TIF#if6efrsk+cod,6 cla"srCONFIG_NODES_SPAN_6THER_65ULLpass="sr s="srefsetup_pepppia>r_cpu_pa 5set8 class=pppia>r_cpe" setup_per_cpu_pa fre>41rea=5lin_" frr"_sglrt_pfn8 cfre>41rea=5lin_" fr"sref>2532iNULLpagzer"8 o/a>s_sa40rsgpage" cine" lines_sa40 */od/a>239141"s>TIF#if6e1= ass="s6bool8 class=5line" bool>T6F_ass65t_pfn8 class=5line" ze" ,show3o/a>)>iNULLpagzer"8 f">ba"end_pfn8 class=5line" ef">ba"end_pfn8="kmdesglrt_pfnne" ,">iNULLpagzer"8 o1GFPk_sa40rsgpage" cine" l1GFPk_sa40 */o/spa2398413 cerred_6o_paef23"m6">52MEMAo/a>/4153t/oa hr46p_pas65ass=5           "41   >4128>TIF_Mn6oded_compa6.c#L256" i23nid8 class=5l6ne" n65d8 class=5lin<=mss="f">iNiNULLpagzer"8 pgdat_pfn8 class=5lipgdat="km&d," cla"srhigh8 cNODE_DATArsgpage" cine" NODE_DATA"sref2/2nid8 class=5line"6nidne65 longrass="srosref"55441eo/a>23916foc.c#L2566="sr s="srefnid8 class=5l6ne" n65cod," cla"srm24129OC_N &a6of">i 5nsi6/returnlass="sr s="sreffa6se8 c65" zerspa23984129OC_N &a6o8/a>)53646ass="sr s="sreftrue8 clas6=5lin65ot;Initifpisi" cla"srhigh8 cba154t/oa hr41e" cla">ba15r"_s d," cla"srhigh8 c4154t/oa hr41e" class="km/spa23984129OC_N &a6o9/a>)53646ba"end_pfn8 class=5line" ef">ba"end_pfn8="km d," cla"srhigh8 c4">ba"end_pfn8 class=5line" ef">ba"end_pfn8="km/spa23984129OC_N &a6ifshow3o/a6)5364batotalbatotaliNULLpagzer"8 o1GFPk_sa40rsgpage" cine" l1GFPk_sa40 */o//spa23984129OC_N &a6i_paef23"m6mment">/**6">/28lass="sre6"554<66hhhhhhhhhhhhhhh>41hhh>4143OC_N &a6ir= ._allo6mment"> * free_bootmem_wi6h_act66d8 class=5lin<=mss="f">iN13 ce_f">ba ,eamapu_pa 5set8 clas13 ce_f">ba ,eamap"sref" cla"srhigh8 c4129OC_N &a6imoom ki1c6mment"> * @nid: The na"s 6o fre66ne" e#ifdefn" cla"srhigh8 c5ONFIG_FLAT_NODE_MEM_MAPrsgpage" cine" 5ONFIG_FLAT_NODE_MEM_MAPass="kmem>/* r_41epa>415 cerred_6imoom ki1c6mment"> * @max_low_pfn: T6e hig66 longrass="sr" cla"srhigh8 ciNULLpagzer"8 KERN_DEBUG_pfn8 class=5liKERN_DEBUG="kmensref"554\n&quofre>41rea=5lin_" fr: n">b %d, pgdat %08lx, n">ba ,eamap %08lx\n\n&quofnopBudgspa23984129OC_N &a6ioc.c#L2566mment"> *6">/28lass="sref65544129OC_N &a6if">i 5nsi6mment"> * If t marchitect6re gu66" zer"ne" ->sk+cod(sglrt_pfnne" )" cla"srhigh8 cba ,eamapu_pa 5set8 clasf">ba ,eamap"sre)/spa23984129OC_N &a6i8/a>)536462ordero/a>5DESmm52ordero/6e" cl66ot;In#ezd#f i23"mm523441all>41e8>TIFnsh6i9/a>)53646+cod," cla"srzer"8 class=6line"66rdero/a>239141"s>TIF#if6a href23"m6/returnl-sk+cod," cla"srE6OMEMs67ULLpagzer"_id" cla"srhigh8 cfre>41rea=5lin_cor0u_pa 5set8 clasfre>41rea=5lin_cor0"sref" cla"srhigh8 ciNULLpagzer"8 o1GFPk_sa40rsgpage" cine" l1GFPk_sa40 */o//spa23984129OC_N &a6ad," cla"s6a55ef23"mm/p4072t/oa hr406" cla67t_pfn3"mm/page_al41y c>416no/a>#en6alass="5re6"sref">orderiss="srsgpage6 cine67hhhhhhhhhhhhhhh>41hhh>4143OC_N &a6fded_compa6tsk+cod," cla"srinit_wait6ueue_67 it h#ifdefn" cla"srhigh8 c5ONFIG_HAVE_MEMBLOCK_NODE_MAPrsgpage" cine" 5ONFIG_HAVE_MEMBLOCK_NODE_MAPLLpaspa23984129OC_N &a6pmoom ki1c6a55ef23"mm/p4075t/oa hr406class67lass="kmem>/* r_41epa>415 cerred_6fmoom ki1c60;ordero/a>2532iNULLpagzer"8 M=5lNUMNODEfsglrt_pfn8 clasM=5lNUMNODEfLLpag""41i1"kmem>/* r_41epa>415 cerred_6foc.c#L256641eo/a>23916ef">i 5nsi6n575342b>i s i23"mm52357class=540L27>40y6ulocabi63/a>5DESmm6">order__meminit8 class=56ine" 67se means that a zer" whose s*ffnopBud+codrder" c41fff>41eo/a>2391633o/a>)5366">52MEMAo/a>/408nt/oa hr46281" 67ass=5it>TIF_ss="sr s="srefsetup_per_cpu_pa 5set8 class=r_cpe" setup_per_cpu_pa sro/p_fraa">ba153 class=5line" e"ro/p_fraa">ba153"srefss="/spa2398413 cerred_6pr= abit m6om ki1comment">/*6">/28la6s="sr68_paef="_________>41ef">4141OC_N &a6po/a>)53646mment">         * per cpu6subsy68t_pfn8 class=sglrt_pfn>25324129OC_N &a6plass="5re6mment">         * relies 6nrthe682LLpagzer"_idsglrt_pfn>253241e8>TIFnsh6 ded_compa6mment">         * offset 6f a (68 it haoooooooooo40es >40e4cerred_6pmoom ki1c6mment">         */6">/28l6ss="s68ne" e>= 0o" cla"srhigh8 cfor_each_f">ba ask_pfn8 class=5lifor_each_f">ba ask"sref2iNULLpagzer"8 4">bapossiblaamapu_pa 5set8 clasf">bapossiblaamap */o/spa2398413 cerred_6fdrommes/s6a__1">/2zer"8 class=5line6 zer"68 longrass="sr s="sref24129OC_N &a6poc.c#L2566n575342ba153 class=5line" efraa">ba153"sre d,2i 5nsi6s/spa__1">/2zer"8 class=56ine" 68" zer3"mm/page_al41y c>416no/a>#en6f/a>5DESmm6ask+cod," cla"srprintk8 c6ass=568ot;In#elwi"mm/page_al41y c>416no/a>#en6f3o/a>)5366 ef23"mm/mmes/spa__1">/2z6r"8 c68ass=5it>TIF_" cla"srhigh8 c5les/spalass=5line" e5les/s="km ss="sr s="srefsetup_sro/p_fraa">ba153 class=5line" e"ro/p_fraa">ba153"srefss="/spa2398413 cerred_6pr= ~s="sr6fffffffffffffffffffffffff6mmes/69_paef="_________>41ef">4141OC_N &a6po/a>)53646416no/a>#en6plass="5re6a55ef23"mm/p4093t/oa hr406hhhhh69ass=5#ezd#f i23"mm523441all>41e8>TIFnsh6pded_compa6 i23__meminit8 class=5lin6" __m69 it haoooooooooo40es >40e4cerred_6fded_compa6ttttttttttttttttttttttttt6nsign69memory on. If MAX_NUMNODES,/*4fnopBud+codrder" c41fff>41eo/a>23916pdrommes/s6t_Mnop_patttttttttttttttt6nsign69st PFN that wip_ b" pm kad t* n">ba ap_25ern">b>hlrt_m kafnopBud+codrder" c41fff>41eo/a>23916poc.c#L2566rrrrrrrrrrrrrrrrrrrrrrrrr6numNs690fp_maskpa4167t/oa hr41x+cod4fnopBud+codrder" c41fff>41eo/a>23916pf">i 5nsi6">52MEMAo/a>/4098t/oa hr46geo/a69antees that ap_ ranges regi=* Tt="sfuncTIonashould berc1eopfnaf5er n">b>map is populaIod a40 sorIod i23"mm52357class=540L27>40y6ulocabi6p/a>5DESmm6ss="f">iNULLpagpglist_dat68 cla69se means that a zer" whose s* It falculaIos /oa maximumnpower of two>hlrt_m ka which fan distinguishi23"mm52357class=540L27>40y6ulocabi6p3o/a>)5366.c#L256" i23ret8 class=5l6ne" r69() setk the high water mark * hll_/oa n">bs i23"mm52357class=540L27>40y6ulocabi7pr= ass="s7 s="srefret8 class=5line"7retne70he pa 5set p.6">/28lass="sre4fnopBud+codrder" c41fff>41eo/a>23917p1= ass="s7 a55ef23"mm/p4092t/oa hr47ne" r70t_pfns that ap_ ranges regi=* For exampl0,nif hll_f">b3rar0f1GiB a40 hlrt_5fntof1GiB,1/oa c.c#L2 valuefnopBud+codrder" c41fff>41eo/a>23917p2= ass="s7 55ef23"mm/p4093t/oa hr4078 cla70ment their own versne" but i* would izd#latpf1GiB alrt_m ka with (1 "mp;"mp;w(30 - PAGE_SHIFT)).  I">/oafnopBud+codrder" c41fff>41eo/a>23917p3= ass="s7 i23__meminit8 class=5lin7" pgd70e_regions - Cfp_ free_bootme*_f">b3rar0fshift5fnby 256MiB,1256MiB.  Notep=5linif only tta Cfpt n">b>isfnopBud+codrder" c41fff>41eo/a>23917p4= ass="s7 tttttttttttttttttttttttt7d_pae70memory on. If MAX_NUMNODES, *fshift5f,f1GiB isfenough a40 tt="sfuncTIonawill izd#latpfso i23"mm52357class=540L27>40y6ulocabi7p5= ass="s7 _Mnop_patttttttttttttttt7 zer"70st PFN that wip_ b" pm kad t*i23"mm52357class=540L27>40y6ulocabi7p6= ass="s7 rrrrrrrrrrrrrrrrrrrrrrrr7rrrrr700fp_maskpa4167t/oa hr41x+cod4 Tt="sis_uspfnto /esp woa/oar 41eo/a>23917p7/a>)53647a>52MEMAo/a>/4098t/oa hr47ass=570antees that ap_ ranges regi=* m">bl ha"sfttt enough granularitynto ass="sincorrectsmapping pa41/oafnopBud+codrder" c41fff>41eo/a>23917p8/a>)53647as="f">iNULLpagpglist_dat7ng">&70se means that a zer" whose s* populaIod n">b>map i23"mm52357class=540L27>40y6ulocabi7p9/a>)53647ac#L256" i23ret8 class=5l7dat8 70() setk the high water mark *i23"mm52357class=540L27>40y6ulocabi7pr= ~s="sr7fffffffff(unsignad long)s7="f">71he pa 5set p.6">/28lass="sre4 R.c#L2s /oa deIormtttd alrt_m ka in /oar0fis n">hlrt_m kafnopBud+codrder" c41fff>41eo/a>23917p1= ass="s7fffffffffass="sr s="srefz7r"_sg71t_pfns that ap_ ranges regi=* c.quirom ka (singla n">b) i23"mm52357class=540L27>40y6ulocabi7p2= ass="s7a55ef23"mm/p4113t/oa hr417NODE 71ment their own versne" but i*ffnopBud+codrder" c41fff>41eo/a>23917p3= ass="s7 s="srefzer"_init_free_li7tsss=71rsgpae" ,show3o/a>)>iNULLpagzer"8 per_cpu_pa 5set8 class=r_cpe" setup_per_cpu_pa n">ba ap_ba ap_41ef">4141OC_N &a7p5= ass="s70;ordero/a>2532)>iNULLpagzer"8 accla ask_pfn8 class=5liaccla ask="km d,9gl>iNULLpagzer"8 Cfpt_en54t/oa hr41e" clCfpt_en5="km d,9" i23"mm523441all>41e8>TIFnsh7p6/a>)53647)>iNULLpagzer"8 flinersgpage" cine" sline */ogl>iNULLpagzer"8 en54t/oa hr41e" clens="kmgl>iNULLpagzer"8 iask_pfn8 class=5li ask="km" i23"mm523441all>41e8>TIFnsh7p7/a>)53647n575342iNULLpagzer"8 4154t/oa hr41e" class="km/spa23984129OC_N &a7e9/a>)53647" cla"srCONFIG_HAVE_ARCH_7ARLY_71rdero/a>239141"s>TIF#if7 moom ki1c7mment">/*6">/28lass="sref7554orderiss="srsgpafor_each_ ,eao"sref2iNULLpagzer"8 M=5lNUMNODEfsglrt_pfn8 clasM=5lNUMNODEfLLpa, a>)5364)53644128>TIF_Mn7 1= ass="s7mment"> * Requirad by SPA7SEMEM72t_pfn8 class=5line" zs" e!>iNULLpagzer"8 flinersgpage" cine" sline */o&||," cla"srhigh8 cCfpt_4154t/oa hr41e" clCfpt_415="km "mp;w0&||," cla"srhigh8 cCfpt_4154t/oa hr41e" clCfpt_415="km "= <=mss="f">iN4154t/oa hr41e" class="km)            "41   >4128>TIF_Mn7 2= ass="s7mment"> * Architectures m7y imp72ass=5line" sglrt_pfnnnnnnnnnn<=mss="f">iNCfpt_4154t/oa hr41e" clCfpt_415="km d,>iNULLpagzer"8 4154t/oa hr41e" class="km/spa23984129OC_N &a7 3= ass="s7mment"> * was used and th7r" ar72rsgpage" czerczerzzzzx8 class>iNULLpagzer"8 Cfpt_en54t/oa hr41e" clCfpt_en5="km d,64 * alternativane>/78lass72ne" e>= 0oline" sgng map ncontinue/spa23984129OC_N &a7 moom ki1c7mment"> */6">/28lass="sre7"554<72 longrass="sr s="sref}spa23984129OC_N &a7loc.c#L2567 i23__meminit8 class=5lin7" __m72a23"84027cerred_7 f">i 5nsi7">52MEMAo/a>/4128t/oa hr47     72" zer"ne" ->sk+cod>skpa4167t/oa hr41x+coa4fnopBud+codrder" c41fff>41eo/a>23917 8/a>)53647d longrass="sr s="srefsgl7t_pfn72se means that a zer" whose s5line" zzzzzzzzzf Sline with a  ask granular enough to pin-point to /oafnopBud+codrder" c41fff>41eo/a>23917 9/a>)53647.c#L256" i23iss="srsgpage7 cine72() setk the high water mark 5line" zzzzzzzzzf sline 41eo/a>239173o/a>)53647a55ef23"mm/p4131t/oa hr417pBud+73he pa 5set p.6">/28lass="sre5line" zzzzzzzzzf tooncoarse to separatt /oa current n">b>from tta Cfpt i23"mm52357class=540L27>40y6ulocabi731= ass="s7 s="sreffor_each_mem_pfn_7ange873t_pfns that ap_ ranges regi=5line" zzzzzzzzzfffnopBud+codrder" c41fff>41eo/a>23917p_paef23"m7/.cemass="sr s="srefsglrt7pfn8 73ass=5line" sglrt_pfnn>iNULLpagzer"8 iask_pfn8 class=5li ask="km d,~((1 "mp;"mp;w>iNULLpagzer"8 peff3 class=5line" epeff3"sref24129OC_N &a733= ass="s7ted_efdroreturnlass="sr s7"sref73rsgpage" czerczerlasswhila f" cla"srhigh8 c ask_pfn8 class=5li ask="km ">)53">)53s<=mss="f">iNCfpt_en54t/oa hr41e" clCfpt_en5="km "mp;d,e<=mss="f">iNflinersgpage" cine" sline */o&">)53sf" cla"srhigh8 c ask_pfn8 class=5li ask="km "mp;"mp;w1))/spa2398413 cerred_734= ass="s7om ki1comment">/* This is7a mem73ne" e>= 0oline" sgng map n" cla"srhigh8 c ask_pfn8 class=5li ask="km "mp;"mp;= 1/spa23984129OC_N &a7pmoom ki1c7-1>ordero/a>25324129OC_N &a7poc.c#L2567b> ask3r*ffnopBud+codrder" c41fff>41eo/a>23917pf">i 5nsi7m ki1comment">/* CONFIG_H7VE_AR73" zer"ne" ->sk+cod>iNULLpagzer"8 accla ask_pfn8 class=5liaccla ask="km |d," cla"srhigh8 cmask_pfn8 class=5li ask="km" i23"mm523441all>41e8>TIFnsh7p8/a>)53647a55ef23"mm/p4139t/oa hr417ppppp73ot;Initifpisi}spa23984129OC_N &a7p9/a>)53647 i23__meminit8 class=5lin7" __m73rdero/a>239141"s>TIF#if7class="5re7">52MEMAo/a>/4141t/oa hr47ef">b74ULLpagzer"_idek the high water mark=" convert  ask to number of pa 53r*ffnopBud+codrder" c41fff>41eo/a>23917c1= ass="s7.c#L256" i23nid8 class=5l7ne" n74t_pfn8 class=c.c#L2 ~>iNULLpagzer"8 accla ask_pfn8 class=5liaccla ask="km + 1/spa23984129OC_N &a7c_paef23"m7a55ef23"mm/p4143t/oa hr417hhhhh74ass=5}spa23984129OC_N &a73ded_compa7 s="srefnid8 class=5line"7nidne74 it haoooooooooo40es >40e4cerred_7cmoom ki1c7="sr s="srefnid8 class=5l7ne" n74memory on. If MAX_NUMNODES,/* Fi40 tte1lowesp b>*ffnopBud+codrder" c41fff>41eo/a>23917cmoom ki1c7treturnlass="sr s="srefni78 cla745e" eit>TIF_e" ,show3o/a>)>iNULLpagzer"8 per_cpu_pa 5set8 class=r_cpe" setup_per_cpu_pa fi40_iin_2532/* just re7urns 740fp_m           "41   >4128>TIF_Mn7pf">i 5nsi70;ordero/a>2532)>iNULLpagzer"8 iin_41e8>TIFnsh7c8/a>)53647)>iNULLpagzer"8 "end_pfn8 class=5line" e"end_pfn8="km/spa23984129OC_N &a7c9/a>)53647 53"""""""""415nt/oa hr417sref"74ass=5line" pgs25324129OC_N &a7efrsk+cod,7 cla"srCONFIG_NODES_SPAN_7THER_75ULLpaspa23984129OC_N &a7e1= ass="s7bool8 class=5line" bool>T7F_ass75lass=5line" for_each_mem_pfnfor_each_ ,eaorderiss="srsgpafor_each_ ,eao"sref2iNULLpagzer"8 4154t/oa hr41e" class="kmdea>)536452MEMAo/a>/4153t/oa hr47p_pas75ass=5line" sglrt_pfnn>iNULLpagzer"8 iin_40e4cerred_7omoom ki1c7a55ef23"mm/p4155t/oa hr417page"75ne" e>= 0os" e<=mss="f">iNiin_4128>TIF_Mn7omoom ki1c7a__1">/2nid8 class=5line"7nidne75 longrass="sr s="sref2iNULLpagzer"8 KERN_WARNING_pfn8 class=5liKERN_WARNINGit haoooooooooo40es >40e4cerred_7ooc.c#L2567="sr s="srefnid8 class=5l7ne" n75cod," cla"srmemmap_cegzer"_idek the high wlu png">\n&quoCould notsfttd "end_pfn8 pa41n">b %d\n\n&quofnopBudg32i 5nsi7/returnlass="sr s="sreffa7se8 c75" zer"ne" ->sk+codc.c#L2 9" i23"mm523441all>41e8>TIFnsh7o8/a>)53647ass="sr s="sreftrue8 clas7=5lin75ot;Initifpisi}spa23984129OC_N &a7o9/a>)53647239141"s>TIF#if7ifshow3o/a7)5364iNiin_41e8>TIFnsh7id," cla"s7a55ef23"mm/p4162t/oa hr417ot3ca76t_pfn3"mm/page_al41y c>416no/a>#en7i_paef23"m7mment">/**6">/28lass="sre7"554<76hhhhhhhhhhhhhhh>41hhh>4143OC_N &a7ir= ._allo7mment"> * free_bootmem_wi7h_act76e_regions - Cfp_ free_bootm/*4fnopBud+codrder" c41fff>41eo/a>23917imoom ki1c7mment"> * @nid: The na"s 7o fre76memory on. If MAX_NUMNODES, *ffi40_iin_41eo/a>23917imoom ki1c7mment"> * @max_low_pfn: T7e hig76st PFN that wip_ b" pm kad t*i23"mm52357class=540L27>40y6ulocabi7ioc.c#L2567mment"> *6">/28lass="sref755440y6ulocabi7if">i 5nsi7mment"> * If t marchitect7re gu76antees that ap_ ranges regi=* add_active_ran>o() i23"mm52357class=540L27>40y6ulocabi7i8/a>)536472ordero/a>5DESmm52ordero/7e" cl76se means that a zer" whose s*ffnopBud+codrder" c41fff>41eo/a>23917i9/a>)53647+cod," cla"srzer"8 class=7line"76rderoe" ,show3o/a>)>iNULLpagzer"8 per_cpu_pa 5set8 class=r_cpe" setup_per_cpu_pa fi40_iin_4141OC_N &a7ad," cla"s7a55ef23"mm/p4072t/oa hr407" cla77t_pfn8 class=c.c#L2 tup_per_cpu_pa fi40_iin_iNULLpagzer"8 M=5lNUMNODEfsglrt_pfn8 clasM=5lNUMNODEfLLpa//spa23984129OC_N &a7alass="5re7"sref">orderiss="srsgpage7 cine77ass=5}spa23984129OC_N &a7fded_compa7tsk+cod," cla"srinit_wait7ueue_77 it haoooooooooo40es >40e4cerred_7pmoom ki1c7a55ef23"mm/p4075t/oa hr407class77memory on. If MAX_NUMNODES,/*fnopBud+codrder" c41fff>41eo/a>23917fmoom ki1c70;ordero/a>253241eo/a>23917foc.c#L256740y6ulocabi7ef">i 5nsi7n575342bs i23"mm52357class=540L27>40y6ulocabi73/a>5DESmm7">order__meminit8 class=57ine" 77se means that a zer" whose s*ffnopBud+codrder" c41fff>41eo/a>2391733o/a>)5367">52MEMAo/a>/408nt/oa hr47281" 77ass=5it>TIF_e" ,show3o/a>)>iNULLpagzer"8 per_cpu_pa 5set8 class=r_cpe" setup_per_cpu_pa early_falculaIo_total/*6">/28la7s="sr78_paef="_________>41ef">4141OC_N &a7po/a>)53647mment">         * per cpu7subsy78t_pfn8 class=sglrt_pfno/a>)>iNULLpagzer"8 total41e8>TIFnsh7plass="5re7mment">         * relies 7nrthe782LLpagzer"_idsglrt_pfno/a>)>iNULLpagzer"8 "end_pfn8 class=5line" e"end_pfn8="kmgl>iNULLpagzer"8 en5pfn8 class=5line" een5pfn8="km" i23"mm523441all>41e8>TIFnsh7 ded_compa7mment">         * offset 7f a (78rsgpage" czers2532iNULLpagzer"8 4154t/oa hr41e" class="km/spa23984129OC_N &a7pmoom ki1c7mment">         */6">/28l7ss="s78lass="kmem>/* r_41epa>415 cerred_7fdrommes/s7a__1">/2zer"8 class=5line7 zer"78 longrass="sr" cla"srhigh8 cfor_each_ ,eaorderiss="srsgpafor_each_ ,eao"sref2iNULLpagzer"8 M=5lNUMNODEfsglrt_pfn8 clasM=5lNUMNODEfLLpa, a>)53644128>TIF_Mn7poc.c#L2567n575342)>iNULLpagzer"8 i 5nsi7s/spa__1">/2zer"8 class=57ine" 78" zerspa23984129OC_N &a7f/a>5DESmm7ask+cod," cla"srprintk8 c7ass=578ot;Initifpising map n>iNULLpagzer"8 total4129OC_N &a7p3o/a>)5367 ef23"mm/mmes/spa__1">/2z7r"8 c78ass=5line" pgdatne" -s" e<=mss="f">iN34t/oa hr41e" cl413 cerred_7pr= ~s="sr7fffffffffffffffffffffffff7mmes/79ULLpagzer"_idx8 classng map n>iNULLpagzer"8 f">ba"eta"entorderiss="srsgpaf">ba"eta"ento"sref24129OC_N &a7po/a>)536474129OC_N &a7plass="5re7a55ef23"mm/p4093t/oa hr407hhhhh792LLpagzer"_idc.c#L2 tup_per_cpu_pa total4129OC_N &a7pded_compa7 i23__meminit8 class=5lin7" __m79 it h}spa23984129OC_N &a7pmoom ki1c7ttttttttttttttttttttttttt7nsign79lass="kmem>/* r_41epa>415 cerred_7pdrommes/s7t_Mnop_patttttttttttttttt7nsign79st PFN that wip_ b" pm kad /*fnopBud+codrder" c41fff>41eo/a>23917poc.c#L2567rrrrrrrrrrrrrrrrrrrrrrrrr7numNs790fp_maskpa4167t/oa hr41x+cod4 Fi40 tte1PFN tte1Movabla line begin3rin each1n">b. Kernel glass=fnopBud+codrder" c41fff>41eo/a>23917pf">i 5nsi7">52MEMAo/a>/4098t/oa hr47geo/a79antees that ap_ ranges regi=* is spread evenly between_f">b3rasno/a>)as_/oa n">bs havt enoughfnopBud+codrder" c41fff>41eo/a>23917p/a>5DESmm7ss="f">iNULLpagpglist_dat78 cla79se means that a zer" whose s* glass=. Woann/oay don't, soma n">bs will havt more kernelcore ttanfnopBud+codrder" c41fff>41eo/a>23917p3o/a>)5367.c#L256" i23ret8 class=5l7ne" r79() setk the high water mark * o/oarsfnopBud+codrder" c41fff>41eo/a>23918pr= ass="s8 s="srefret8 class=5line"8retne80he pa 5set p.6">/28lass="sre4ffnopBud+codrder" c41fff>41eo/a>23918p1= ass="s8 a55ef23"mm/p4092t/oa hr48ne" r80t_pfnit>TIF_ss="sr s="srefsetup_per_cpu_pa 5set8 class=r_cpe" setup_per_cpu_pa fi40_lass=movablapfn8s_for_" frsr"_sglrt_pfn8 cfi40_lass=movablapfn8s_for_" frs"srefss="/spa2398413 cerred_8p2= ass="s8 55ef23"mm/p4093t/oa hr4088 cla80ass=5           "41   >4128>TIF_Mn8p3= ass="s8 i23__meminit8 class=5lin8" pgd80rsgpage" czers2532iNULLpagzer"8 4154t/oa hr41e" class="km/spa23984129OC_N &a8p4= ass="s8 tttttttttttttttttttttttt8d_pae80ne" e>= 0osglrt_pfno/a>)>iNULLpagzer"8 usabla_"end_fn8 class=5line" eusabla_"end_fn8="km/spa23984129OC_N &a8p5= ass="s8 _Mnop_patttttttttttttttt8 zer"80 longrass="sre" ,show3o/a>)>iNULLpagzer"8 kernelcore_" frr"_sglrt_pfn8 ckernelcore_" fr"sregl>iNULLpagzer"8 kernelcore_remar_cngr"_sglrt_pfn8 ckernelcore_remar_cng="km/spa23984129OC_N &a8p6= ass="s8 rrrrrrrrrrrrrrrrrrrrrrrr8rrrrr806ass=5line" fosref"554b ask 4ffnopBud+codrder" c41fff>41eo/a>23918p7= ass="s8 >52MEMAo/a>/4098t/oa hr48ass=580" zer"ne" -&g>iNULLpagzer"8 f">b ask_t_pfn8 class=5lif">b ask_te" setup_per_cpu_pa savtd_f">ba"entorderiss="srsgpasavtd_f">ba"ento"sre d,64ba"ento3 class=5line" ef">ba"ento3"sre[53644129OC_N &a8p8= ass="s8 s="f">iNULLpagpglist_dat8ng">&808 zer"ne" -&ge" ,show3o/a>)>iNULLpagzer"8 total4129OC_N &a8p9/a>)53648ac#L256" i23ret8 class=5l8dat8 80ass=5line" pgs2532bs class=5line" eusabla_" frs"sre d,64bs_weight_pfn8 class=5lif">bs_weight"sref2ba"ento3 class=5line" ef">ba"ento3"sre[53644129OC_N &a8pr= ~s="sr8fffffffff(unsignad long)s8="f">81ULLpaspa23984129OC_N &a8p1= ass="s8fffffffffass="sr s="srefz8r"_sg811ass=5line" fosref"55441eo/a>23918p2= ass="s8a55ef23"mm/p4113t/oa hr418NODE 81ment their own versne" but iiiiiiiii* I">movablacore was specifi5f,ffalculaIo w5linsa40 offnopBud+codrder" c41fff>41eo/a>23918p3= ass="s8 s="srefzer"_init_free_li8tsss=81e_regions - Cfp_ free_bootme        * kernelcore ttatacorresponds so ttataglass= usabla pa4fnopBud+codrder" c41fff>41eo/a>23918p4= ass="s8a55ef23"mm/p4115t/oa hr418/* re81memory on. If MAX_NUMNODES,         * any 0y6ulatIonatyp0fis evenly spread. I">bo/o kernelcorefnopBud+codrder" c41fff>41eo/a>23918p5= ass="s80;ordero/a>253241eo/a>23918p6= ass="s841eo/a>23918p7/a>)53648n57534240y6ulocabi8e8/a>)53648 cla"srCONFIG_HAVE_MEMBLO8K_NOD81se means that a zer" whose s        *ffnopBud+codrder" c41fff>41eo/a>23918e9/a>)53648" cla"srCONFIG_HAVE_ARCH_8ARLY_81ass=5line" pgs" e<=mss="f">iNc.quirow_movablacore class=5line" ec.quirow_movablacore="km)            "41   >4128>TIF_Mn8 moom ki1c8mment">/*6">/28lass="sref8554)>iNULLpagzer"8 core * Requirad by SPA8SEMEM82t_pfnspa23984129OC_N &a8 2= ass="s8mment"> * Architectures m8y imp82ass=5line" sglrt_pfnnosref"55441eo/a>23918 3= ass="s8mment"> * was used and th8r" ar82e_regions - Cfp_ free_bootme                * Round-up so ttataZONE_MOVABLEfis atalefpt asnoarge asnw5lifnopBud+codrder" c41fff>41eo/a>23918 4= ass="s8mment"> * alternativane>/88lass82memory on. If MAX_NUMNODES,                 * wasnc.quest5fnby /oa usp4fnopBud+codrder" c41fff>41eo/a>23918 moom ki1c8mment"> */6">/28lass="sre8"554<82st PFN that wip_ b" pm kad t                *ffnopBud+codrder" c41fff>41eo/a>23918loc.c#L2568 i23__meminit8 class=5lin8" __m82cod," cla"srmemmap_ceeass="sr s="srec.quirow_movablacore class=5line" ec.quirow_movablacore="km =+codrder" c41fff>41eo/a>23918l7/a>)53648">52MEMAo/a>/4128t/oa hr48     82" zer"ne" ->sk+codemmap_ceeass="sr s="srecoundupu_pa 5set8 clascoundup"sref24129OC_N &a8 8/a>)53648d longrass="sr s="srefsgl8t_pfn82ot;Initifpising map n>iNULLpagzer"8 core41"s>TIF#if83o/a>)53648a55ef23"mm/p4131t/oa hr418pBud+83ULLpagzer"_idx8 class>iNULLpagzer"8 c.quirow_kernelcore class=5line" ec.quirow_kernelcorefnkm d,64iNULLpagzer"8 core41hhh>4143OC_N &a833= ass="s8ted_efdroreturnlass="sr s8"sref83rsgpage" czerosref"554ZONE_MOVABLEf*ffnopBud+codrder" c41fff>41eo/a>2391834= ass="s8om ki1comment">/* This is8a mem83ne" e>= 0os" e!>iNULLpagzer"8 c.quirow_kernelcore class=5line" ec.quirow_kernelcorefnkm/spa2398413 cerred_8pmoom ki1c8-1>ordero/a>2532iNULLpagzer"8 out_pfn8 class=5liout="km/spa23984129OC_N &a8poc.c#L25684027cerred_8pf">i 5nsi8m ki1comment">/* CONFIG_H8VE_AR83" zer"ne" -&gosref"55441eo/a>2391838/a>)53648a55ef23"mm/p4139t/oa hr418ppppp83ot;Initifpisi" cla"srhigh8 cfi40_usabla_lass=for_movablar"_sglrt_pfn8 cfi40_usabla_lass=for_movabla"sref//spa23984129OC_N &a8p9/a>)53648 i23__meminit8 class=5lin8" __m839lass=5line" " cla"srhigh8 cusabla_"end_fn8 class=5line" eusabla_"end_fn8="km d,644129OC_N &a8class="5re8">52MEMAo/a>/4141t/oa hr48ef">b84ULLpaspa23984129OC_N &a8c1= ass="s8.c#L256" i23nid8 class=5l8ne" n84t_pfn>iNULLpagzer"8 c.flinersgpage" cine" c.fline_pfn:spa23984129OC_N &a8c_paef23"m8a55ef23"mm/p4143t/oa hr418hhhhh84ass=5line" sgosref"554bs *ffnopBud+codrder" c41fff>41eo/a>239183ded_compa8 s="srefnid8 class=5line"8nidne84rsgpage" czer>iNULLpagzer"8 kernelcore_" frr"_sglrt_pfn8 ckernelcore_" fr"sre d,64bs class=5line" eusabla_" frs"sre/spa23984129OC_N &a8c4= ass="s8="sr s="srefnid8 class=5l8ne" n84ne" e>= 0o" cla"srhigh8 cfor_each_f">ba"entorderiss="srsgpafor_each_f">ba"ento"sref24128>TIF_Mn8cmoom ki1c8treturnlass="sr s="srefni88 cla84 longrass="sr s="srefsglrt_pfno/a>)>iNULLpagzer"8 "end_pfn8 class=5line" e"end_pfn8="kmgl>iNULLpagzer"8 en5pfn8 class=5line" een5pfn8="km" i23"mm523441all>41e8>TIFnsh8coc.c#L2568om ki1comment">/* just re8urns 84a23"84027cerred_8pf">i 5nsi80;ordero/a>2532skpa4167t/oa hr41x+coa4fnopBud+codrder" c41fff>41eo/a>23918c8/a>)53648/oa divisIonaper n">bfnopBud+codrder" c41fff>41eo/a>23918c9/a>)53648 53"""""""""415nt/oa hr418sref"84() setk the high water mark 5line" zzzzzzzzzf now exceedsnw5lifis necessarynto satisfy1/oa c.quest5ffnopBud+codrder" c41fff>41eo/a>23918efrsk+cod,8 cla"srCONFIG_NODES_SPAN_8THER_85he pa 5set p.6">/28lass="sre5line" zzzzzzzzzf amount of glass= pa41/oa kernelfnopBud+codrder" c41fff>41eo/a>23918e1= ass="s8bool8 class=5line" bool>T8F_ass85t_pfns that ap_ ranges regi=5line" zzzzzzzzzfffnopBud+codrder" c41fff>41eo/a>23918o_paef23"m8">52MEMAo/a>/4153t/oa hr48p_pas85ass=5line" sglrt_pfnns" e<=mss="f">iNc.quirow_kernelcore class=5line" ec.quirow_kernelcorefnkm "mp;w>iNULLpagzer"8 kernelcore_" frr"_sglrt_pfn8 ckernelcore_" fr"sre/spa2398413 cerred_8oded_compa8.c#L256" i23nid8 class=5l8ne" n85d8 class=5lin"ne" ->sk+cod>iNULLpagzer"8 kernelcore_" frr"_sglrt_pfn8 ckernelcore_" fr"sre d,64bs class=5line" eusabla_" frs"sre/spa23984129OC_N &a8omoom ki1c8a55ef23"mm/p4155t/oa hr418page"85lass="kmem>/* r_41epa>415 cerred_8omoom ki1c8a__1">/2nid8 class=5line"8nidne85 longrass="sr s="sref2skpa4167t/oa hr41x+coa4fnopBud+codrder" c41fff>41eo/a>23918ooc.c#L2568="sr s="srefnid8 class=5l8ne" n850fp_maskpa4167t/oa hr41x+cod        zzzzzzzzf As /oa map is walk5f,fwa track how much glass= is_usabla"sopBud+codrder" c41fff>41eo/a>23918of">i 5nsi8/returnlass="sr s="sreffa8se8 c85antees that ap_ ranges regis        zzzzzzzzf by /oa kernel_using kernelcore_remar_cng. Woannit>isfnopBud+codrder" c41fff>41eo/a>23918o8/a>)53648ass="sr s="sreftrue8 clas8=5lin85se means that a zer" whose s5line" zzzzzzzzzf 0,1/oa c.st of tta n">b>is usabla by ZONE_MOVABLEfnopBud+codrder" c41fff>41eo/a>23918o9/a>)5364841eo/a>23918ifshow3o/a8)5364iNULLpagzer"8 kernelcore_remar_cngr"_sglrt_pfn8 ckernelcore_remar_cng="km d,644129OC_N &a8id," cla"s8a55ef23"mm/p4162t/oa hr418ot3ca86t_pfnspa23984129OC_N &a8i_paef23"m8mment">/**6">/28lass="sre8"554<86ass=5line" sglrt_pfnnosref"554o of PFNs within tt="sn">b>*ffnopBud+codrder" c41fff>41eo/a>23918ir= ._allo8mment"> * free_bootmem_wi8h_act86d8 class=5lin"ne" -&g" cla"srhigh8 cfor_each_ ,eaorderiss="srsgpafor_each_ ,eao"sref2iNULLpagzer"8 4154t/oa hr41e" class="kmdea>)53644128>TIF_Mn8imoom ki1c8mment"> * @nid: The na"s 8o fre86ne" e>= 0oline" sgng map nsglrt_pfno/a>)>iNULLpagzer"8 "ize_4129OC_N &a8imoom ki1c8mment"> * @max_low_pfn: T8e hig86st PFspa23984129OC_N &a8ioc.c#L2568mment"> *6">/28lass="sref8554i 5nsi8mment"> * If t marchitect8re gu86" zer"ne" ->sk+coddddddddds" e<=mss="f">iNflinepfn8 class=5line" e"end_pfn8="km ""41d,644129OC_N &a8i9/a>)53648+cod," cla"srzer"8 class=8line"86rdero/a>239141"s>TIF#if8a href23"m8/returnl-sk+cod," cla"srE8OMEMs87ULLpagzer"_idx8 classng map n>sref"55441eo/a>23918ad," cla"s8a55ef23"mm/p4072t/oa hr408" cla87t_pfn8 class=5line" zdddddddds" e<=mss="f">iNflinepfn8 class=5line" e"end_pfn8="km "mp;w>iNULLpagzer"8 usabla_"end_fn8 class=5line" eusabla_"end_fn8="km/            "41   >4128>TIF_Mn8alass="5re8"sref">orderiss="srsgpage8 cine87ass=5line" sglrt_pfnnnnnnnnnnnnnnnnnne" ,show3o/a>)>iNULLpagzer"8 kernel_4129OC_N &a8fded_compa8tsk+cod," cla"srinit_wait8ueue_87d8 class=5lin"ne" ->sk+codng map n>iNULLpagzer"8 kernel_4129OC_N &a8foc.c#L2568iNULLpagzer"8 kernelcore_remar_cngr"_sglrt_pfn8 ckernelcore_remar_cng="km -d,644129OC_N &a8ff">i 5nsi8n575342iNULLpagzer"8 kernelcore_remar_cngr"_sglrt_pfn8 ckernelcore_remar_cng="km//spa23984129OC_N &a83/a>5DESmm8">order__meminit8 class=58ine" 87ot;Initifpising map nnnnnnnnnnnnnnnnn644129OC_N &a8f9/a>)53648">52MEMAo/a>/408nt/oa hr48281" 87ass=5line" pgdatne" -dddddddd cla"srmemmap_ce"ne" -&gng map n>iNULLpagzer"8 c.quirow_kernelcore class=5line" ec.quirow_kernelcorefnkm//spa23984129OC_N &a8pr= abit m8om ki1comment">/*6">/28la8s="sr88ULLpaspa23984129OC_N &a8po/a>)53648mment">         * per cpu8subsy88t_pfn8 class=5line" zddddddddng map n>sref"554o ="sn"w fully accountow3*ffnopBud+codrder" c41fff>41eo/a>23918plass="5re8mment">         * relies 8nrthe88ass=5line" sglrt_pfnnnnnnnnnnnnnnnnnns" e<=mss="f">iNen5pfn8 class=5line" een5pfn8="km "mp;= >iNULLpagzer"8 usabla_"end_fn8 class=5line" eusabla_"end_fn8="km/            "41   >4128>TIF_Mn8 ded_compa8mment">         * offset 8f a (88 it haoooooooooo40es >40e4cerred_8pmoom ki1c8mment">         */6">/28l8ss="s88ne" e>= 0oline" sgng map nnnnnnnnnnnnnnnnn2skpa4167t/oa hr41x+coa4fnopBud+codrder" c41fff>41eo/a>23918fdrommes/s8a__1">/2zer"8 class=5line8 zer"88st PFN that wip_ b" pm kad t                                        * Push lass=movablapfn8 to /oa e40 sofnopBud+codrder" c41fff>41eo/a>23918foc.c#L2568n57534241eo/a>23918pf">i 5nsi8s/spa__1">/2zer"8 class=58ine" 88antees that ap_ ranges regis        zzzzzzzz                        * kernelcore acros"sn">bs,fwa will"sopBud+codrder" c41fff>41eo/a>23918p/a>5DESmm8ask+cod," cla"srprintk8 c8ass=588se means that a zer" whose s5line" zzzzzzzzz                        * notsdoubla account oar0"sopBud+codrder" c41fff>41eo/a>23918p9/a>)53648 ef23"mm/mmes/spa__1">/2z8r"8 c88() setk the high water mark 5line" zzzzzzzzz                        *ffnopBud+codrder" c41fff>41eo/a>23918pr= ~s="sr8fffffffffffffffffffffffff8mmes/89ULLpagzer"_idx8 classng map nnnnnnnnnnnnnnnnn>iNULLpagzer"8 lass=movablapfn8 class=5line" elass=movablapfn8"sre[53644129OC_N &a8plass="5re8a55ef23"mm/p4093t/oa hr408hhhhh89ass=5line" sglrt_pfnnnnnnnnnnnnnnnnnn}spa23984129OC_N &a8pded_compa8 i23__meminit8 class=5lin8" __m89d8 class=5lin"ne" ->sk+codng map n>iNULLpagzer"8 flinepfn8 class=5line" e"end_pfn8="km d,644129OC_N &a8pdrommes/s8t_Mnop_patttttttttttttttt8nsign89st PFspa23984129OC_N &a8poc.c#L2568rrrrrrrrrrrrrrrrrrrrrrrrr8numNs89cod," cla"srmemmap_cegzer"_idek the high w hr41x+coa4fnopBud+codrder" c41fff>41eo/a>23918pf">i 5nsi8">52MEMAo/a>/4098t/oa hr48geo/a89antees that ap_ ranges regi=========================4 Tte usabla PFN ran>o pa4 ZONE_MOVABLEfis fromfnopBud+codrder" c41fff>41eo/a>23918p/a>5DESmm8ss="f">iNULLpagpglist_dat88 cla89se means that a zer" whose s========================4 "end_pfn8-""41en5pfn8. CalculaIo "ize_41eo/a>23918p9/a>)53648.c#L256" i23ret8 class=5l8ne" r89() setk the high water mark ========================4 number of pa 53ruspfnas_kernelcorefnopBud+codrder" c41fff>41eo/a>23919pr= ass="s9 s="srefret8 class=5line"9retne90he pa 5set p.6">/28lass="sre========================4ffnopBud+codrder" c41fff>41eo/a>23919p1= ass="s9 a55ef23"mm/p4092t/oa hr49ne" r90t_pfn8 class=5line" zdddddddd>iNULLpagzer"8 "ize_iNfize_iNULLpagzer"8 kernelcore_remar_cngr"_sglrt_pfn8 ckernelcore_remar_cng="km/spa23984129OC_N &a9p3= ass="s9 i23__meminit8 class=5lin9" pgd90d8 class=5lin"ne" ->sk+codng map n>iNULLpagzer"8 fize_iNULLpagzer"8 lass=movablapfn8 class=5line" elass=movablapfn8"sre[53644129OC_N &a9p5= ass="s9 _Mnop_patttttttttttttttt9 zer"90st PFspa23984129OC_N &a9p6= ass="s9 rrrrrrrrrrrrrrrrrrrrrrrr9rrrrr90cod," cla"srmemmap_cegzer"_idek the high w hr41x+coa4fnopBud+codrder" c41fff>41eo/a>23919p7= ass="s9 >52MEMAo/a>/4098t/oa hr49ass=590antees that ap_ ranges regi=========================4 Soma kernelcore has_been_met, updaIo counts a40fnopBud+codrder" c41fff>41eo/a>23919p8= ass="s9 s="f">iNULLpagpglist_dat9ng">&90se means that a zer" whose s========================4 break_i">/oa kernelcore pa41/o="sn">b>has_beenfnopBud+codrder" c41fff>41eo/a>23919p9= ass="s9 c#L256" i23ret8 class=5l9dat8 90() setk the high water mark ========================4 satisifi5ffnopBud+codrder" c41fff>41eo/a>23919pr= ~s="sr9fffffffff(unsignad long)s9="f">91he pa 5set p.6">/28lass="sre========================4ffnopBud+codrder" c41fff>41eo/a>23919p1= ass="s9fffffffffass="sr s="srefz9r"_sg91t_pfn8 class=5line" zdddddddd>iNULLpagzer"8 c.quirow_kernelcore class=5line" ec.quirow_kernelcorefnkm -d,6441eo/a>23919p2= ass="s9a55ef23"mm/p4113t/oa hr419NODE 91ass=5line" sglrt_pfnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn>iNULLpagzer"8 "ize_4129OC_N &a9p3= ass="s9 s="srefzer"_init_free_li9tsss=91d8 class=5lin"ne" ->sk+cod>iNULLpagzer"8 kernelcore_remar_cngr"_sglrt_pfn8 ckernelcore_remar_cng="km -d,644129OC_N &a9p4= ass="s9a55ef23"mm/p4115t/oa hr419/* re91ne" e>= 0oline" sgng map ns" e!>iNULLpagzer"8 kernelcore_remar_cngr"_sglrt_pfn8 ckernelcore_remar_cng="km/spa23984129OC_N &a9p5= ass="s90;ordero/a>25324129OC_N &a9p6= ass="s94129OC_N &a9p7/a>)53649n5753424129OC_N &a9p8= ass="s9 cla"srCONFIG_HAVE_MEMBLO9K_NOD91se mespa23984129OC_N &a9p9= ass="s9" cla"srCONFIG_HAVE_ARCH_9ARLY_91ass=5line" pgek the high w hr41x+coa4fnopBud+codrder" c41fff>41eo/a>23919 moom ki1c9mment">/*6">/28lass="sref9554/28lass="sre========41If toar0fis still c.quirow_kernelcore,fwa do a4o/oar pass with assLLopBud+codrder" c41fff>41eo/a>23919 1= ass="s9mment"> * Requirad by SPA9SEMEM92t_pfns that ap_ ranges regi=5line" z* les"sn">b inn/oa count. To="swill push lass=movablapfn8[ass] fur/oarLLopBud+codrder" c41fff>41eo/a>23919 2= ass="s9mment"> * Architectures m9y imp92ment their own versne" but iiiiiiiii* ao/a>)on_/oa n">bs =5linstill havt mlass= u"tilnkernelcore isfnopBud+codrder" c41fff>41eo/a>23919 3= ass="s9mment"> * was used and th9r" ar92e_regions - Cfp_ free_bootme        4 satisifi5ffnopBud+codrder" c41fff>41eo/a>23919 4= ass="s9mment"> * alternativane>/98lass92memory on. If MAX_NUMNODES,         4ffnopBud+codrder" c41fff>41eo/a>23919 moom ki1c9mment"> */6">/28lass="sre9"554<92 longrass="sr" cla"srhigh8 cusabla_n">bs class=5line" eusabla_" frs"sre--/spa23984129OC_N &a9loc.c#L2569 i23__meminit8 class=5lin9" __m92cod," cla"srms" e<=mss="f">iNusabla_n">bs class=5line" eusabla_" frs"sre ">)53">)53s<=mss="f">iNc.quirow_kernelcore class=5line" ec.quirow_kernelcorefnkm ""41n>iNULLpagzer"8 usabla_n">bs class=5line" eusabla_" frs"sre/spa23984129OC_N &a9l7/a>)53649">52MEMAo/a>/4128t/oa hr49     92" zer"ne" ->sk+codgotol>iNULLpagzer"8 c.flinersgpage" cine" c.fline_pfn/spa23984129OC_N &a9l8= ass="s9d longrass="sr s="srefsgl9t_pfn92se mespa23984129OC_N &a9 9/a>)53649.c#L256" i23iss="srsgpage9 cine92ass=5line" pgek the high w hr41x+coa4 Align "end_ of ZONE_MOVABLEfon_129 asss to M=5lORDER_NR_PAGEf 4ffnopBud+codrder" c41fff>41eo/a>239193o/a>)53649a55ef23"mm/p4131t/oa hr419pBud+93ULLpagzer"_idpa41f2iNULLpagzer"8 4154t/oa hr41e" class="km "mp;w>iNULLpagzer"8 M=5lNUMNODEfsglrt_pfn8 clasM=5lNUMNODEfLLpa"l>iNULLpagzer"8 4154t/oa hr41e" class="km++/spa23984129OC_N &a931= ass="s9 s="sreffor_each_mem_pfn_9ange893t_pfn8 class=5line" z>iNULLpagzer"8 lass=movablapfn8 class=5line" elass=movablapfn8"sre[5364iNULLpagzer"8 coundupu_pa 5set8 clascoundup"sref24129OC_N &a933= ass="s9ted_efdroreturnlass="sr s9"sref93 it haoooooooooo40es >40e4cerred_934= ass="s9om ki1comment">/* This is9a mem93ne" e>iNULLpagzer"8 out_pfn8 class=5liout="km:spa23984129OC_N &a9pmoom ki1c9-1>ordero/a>2532ba"ento 4ffnopBud+codrder" c41fff>41eo/a>239193oc.c#L2569ba"ento3 class=5line" ef">ba"ento3"sre[5364ba"entorderiss="srsgpasavtd_f">ba"ento"sre/spa23984129OC_N &a937/a>)53649m ki1comment">/* CONFIG_H9VE_AR93" zer}spa23984129OC_N &a938/a>)53649a55ef23"mm/p4139t/oa hr419ppppp93se mespa23984129OC_N &a9p9/a>)53649 i23__meminit8 class=5lin9" __m93() setk the high water marka4 Any regular a41high glass= on_/oat n">b ? 4ffnopBud+codrder" c41fff>41eo/a>23919class="5re9">52MEMAo/a>/4141t/oa hr49ef">b94ULLpait>TIF_ss="sr s="srefsetup_check=for_mlass=rderiss="srsgpacheck=for_mlass="sref241eo/a>23919c1= ass="s9.c#L256" i23nid8 class=5l9ne" n94t_pfn           "41   >4128>TIF_Mn9c_paef23"m9a55ef23"mm/p4143t/oa hr419hhhhh94ass=5line" sgenumz>iNULLpagzer"8 lass=typ0 class=5line" elass=typ0ss=5l>iNULLpagzer"8 lass=typ0 class=5line" elass=typ0ss=5/spa23984129OC_N &a93ded_compa9 s="srefnid8 class=5line"9nidne94 it haoooooooooo40es >40e4cerred_9c4= ass="s9="sr s="srefnid8 class=5l9ne" n94ne" e>= 0os" e536441eo/a>23919cmoom ki1c9treturnlass="sr s="srefni98 cla94 longrass="sr s="srefc.c#L2/spa23984129OC_N &a93oc.c#L2569om ki1comment">/* just re9urns 94a23"84027cerred_9pf">i 5nsi90;ordero/a>2532iNULLpagzer"8 lass=typ0 class=5line" elass=typ0ss=5l"mp;= >iNULLpagzer"8 ZONE_MOVABLE class=5line" eZONE_MOVABLEfnkm -71"l>iNULLpagzer"8 lass=typ0 class=5line" elass=typ0ss=5++/            "41   >4128>TIF_Mn9c8/a>)53649)5364balass3 class=5line" ef">balass3"sre[53644129OC_N &a9c9/a>)53649 53"""""""""415nt/oa hr419sref"94ass=5line" pgdatne" -s" e<=mss="f">iNlass4t/oa hr41e" cllassLLpa-""41" cla"srhigh8 cpc.f ma_4128>TIF_Mn9efrsk+cod,9 cla"srCONFIG_NODES_SPAN_9THER_95ULLpagzer"_idx8 classng map n>iNULLpagzer"8 f">ba"eta"entorderiss="srsgpaf">ba"eta"ento"sref24129OC_N &a9e1= ass="s9bool8 class=5line" bool>T9F_ass95t_pfn8 class=5line" zdddddddds" e<=mss="f">iNN_NORMAL_MEMORY class=5line" eN_NORMAL_MEMORY="km !d,64)53">)53spa23984129OC_N &a9e_paef23"m9">52MEMAo/a>/4153t/oa hr49p_pas95ass=5line" sglrt_pfnnlassng map n>iNULLpagzer"8 lass=typ0 class=5line" elass=typ0ss=5l"mp;= >iNULLpagzer"8 ZONE_NORMAL class=5line" eZONE_NORMAL="km)+codrder" c41fff>41eo/a>23919oded_compa9.c#L256" i23nid8 class=5l9ne" n95d8 class=5lin"ne" ->sk+codng map n>iNULLpagzer"8 f">ba"eta"entorderiss="srsgpaf">ba"eta"ento"sref24129OC_N &a9omoom ki1c9a__1">/2nid8 class=5line"9nidne95 longrass="sr s="sref}spa23984129OC_N &a9ooc.c#L2569="sr s="srefnid8 class=5l9ne" n956longrass="sr}spa23984129OC_N &a9of">i 5nsi9/returnlass="sr s="sreffa9se8 c95" zer}spa23984129OC_N &a9o8/a>)53649ass="sr s="sreftrue8 clas9=5lin95se mespa23984129OC_N &a9o9/a>)5364941eo/a>23919ifshow3o/a9)5364/28lass="sre4 fre>41rea=r_cp_" frs -7I_cpialist 1eo pg_data_t a40 line datafnopBud+codrder" c41fff>41eo/a>23919i1= ass="s9a55ef23"mm/p4162t/oa hr419ot3ca96t_pfns that ap_ ranges regi=* @max_lass=pfn: a4 array of gax PFNs pa41each1zassLLopBud+codrder" c41fff>41eo/a>23919i_paef23"m9mment">/**6">/28lass="sre9"554<96ment their own versne" but i4fnopBud+codrder" c41fff>41eo/a>23919ided_compa9mment"> * free_bootmem_wi9h_act96e_regions - Cfp_ free_bootme* To="swill c1eo fre>41rea=r_cp_" fr() pa41each1active n">b inn/oa system i23"mm52357class=540L27>40y6ulocabi9imoom ki1c9mment"> * @nid: The na"s 9o fre96memory on. If MAX_NUMNODES, * Using /oa L27> ran>os provid5fnby add_active_ran>o(),1/oa sa40 of1eachi23"mm52357class=540L27>40y6ulocabi9imoom ki1c9mment"> * @max_low_pfn: T9e hig96st PFN that wip_ b" pm kad t* line in each1n">b a40 /oair holos ="sfalculaIod. I">/oa maximumzPFNi23"mm52357class=540L27>40y6ulocabi9ioc.c#L2569mment"> *6">/28lass="sref9554is 7t/umed_/oat /oa line is empty i23"mm52357class=540L27>40y6ulocabi9if">i 5nsi9mment"> * If t marchitect9re gu96antees that ap_ ranges regi=* Fa41ex>)5le,ds" arch_max_dmapfn8 dd,arch_max_dma32pfn8,nit>is 7t/umedi23"mm52357class=540L27>40y6ulocabi9i8/a>)536492ordero/a>5DESmm52ordero/9e" cl96se means that a zer" whose s* /oat arch_max_dma32pfn8>has_no pa 53. It>is 7lso 7t/umed_/oat a1zassLLopBud+codrder" c41fff>41eo/a>23919i9/a>)53649+cod," cla"srzer"8 class=9line"96() setk the high water mark * "end_snw5ere tta pc.vious ona e40od. Fa41ex>)5le,dZONE_DMA32 "end_sLLopBud+codrder" c41fff>41eo/a>23919a href23"m9/returnl-sk+cod," cla"srE9OMEMs97he pa 5set p.6">/28lass="sre4 at arch_max_dmapfn8.LLopBud+codrder" c41fff>41eo/a>23919a1= ass="s9a55ef23"mm/p4072t/oa hr409" cla97t_pfns that ap_ ranges regi=*ffnopBud+codrder" c41fff>41eo/a>23919alass="5re9"sref">orderiss="srsgpage9 cine97ass=5ss="sr s="srefsetup_per_cpu_pa 5set8 class=r_cpe" setup_per_cpu_pa fre>41rea=r_cp_" frsu_pa 5set8 clasfre>41rea=r_cp_" frs"srefe" ,show3o/a>)*241eo/a>23919fded_compa9tsk+cod," cla"srinit_wait9ueue_97d8 cl           "41   >4128>TIF_Mn9fmoom ki1c9a55ef23"mm/p4075t/oa hr409class97ne" e>= 0osglrt_pfno/a>)>iNULLpagzer"8 "end_pfn8 class=5line" e"end_pfn8="kmgl>iNULLpagzer"8 en5pfn8 class=5line" een5pfn8="km" i23"mm523441all>41e8>TIFnsh9fmoom ki1c90;ordero/a>2532iNULLpagzer"8 4154t/oa hr41e" class="km/spa23984129OC_N &a9foc.c#L25694027cerred_9ff">i 5nsi9n57534241eo/a>239193/a>5DESmm9">order__meminit8 class=59ine" 97ot;Initifpisi" cla"srhigh8 cmem"et_pfn8 class=5li em"et"sref241eo/a>23919f9/a>)53649">52MEMAo/a>/408nt/oa hr49281" 97ass=5line" pgdatne" -dddddddd cla"srmsa40off24129OC_N &a9pr= abit m9om ki1comment">/*6">/28la9s="sr980t;Initifpisi" cla"srhigh8 cmem"et_pfn8 class=5li em"et"sref241eo/a>23919po/a>)53649mment">         * per cpu9subsy98t_pfn8 class=5line" zddddddddng map nsa40off24129OC_N &a9plass="5re9mment">         * relies 9nrthe98ass=5line" sg24129OC_N &a9pded_compa9mment">         * offset 9f a (98rsgpage" czer>iNULLpagzer"8 arch_lass=highespapossiblaafn8 class=5line" earch_lass=highespapossiblaafn8"sre[0] d,644129OC_N &a9pmoom ki1c9mment">         */6">/28l9ss="s98ne" e>= 0opa41f2iNULLpagzer"8 ipalass=5line" e5"sre "mp;w>iNULLpagzer"8 M=5lNR_ZONEfsglrt_pfn8 clasM=5lNR_ZONEfLLpa"l>iNULLpagzer"8 ipalass=5line" e5"sre++/            "41   >4128>TIF_Mn9fdrommes/s9a__1">/2zer"8 class=5line9 zer"98 longrass="sr s="srefs" e<=mss="f">iNipalass=5line" e5"sre d= >iNULLpagzer"8 ZONE_MOVABLE class=5line" eZONE_MOVABLEfnkm)+codrder" c41fff>41eo/a>23919foc.c#L2569n5753424129OC_N &a9pf">i 5nsi9s/spa__1">/2zer"8 class=59ine" 98" zer"ne" ->sk+cod>iNipalass=5line" e5"sre] dspa23984129OC_N &a9p/a>5DESmm9ask+cod," cla"srprintk8 c9ass=598ot;Initifpising map nnnnnnnnn>iNULLpagzer"8 arch_lass=highespapossiblaafn8 class=5line" earch_lass=highespapossiblaafn8"sre[<=mss="f">iNipalass=5line" e5"sre-1]3spa23984129OC_N &a9p9/a>)53649 ef23"mm/mmes/spa__1">/2z9r"8 c98ass=5line" pgdatne" ->iNULLpagzer"8 arch_lass=highespapossiblaafn8 class=5line" earch_lass=highespapossiblaafn8"sre[<=mss="f">iNipalass=5line" e5"sre] dspa23984129OC_N &a9pr= ~s="sr9fffffffffffffffffffffffff9mmes/99ULLpagzer"_idx8 classng map n64iNipalass=5line" e5"sre]gl>iNULLpagzer"8 arch_lass=lowespapossiblaafn8 class=5line" earch_lass=lowespapossiblaafn8"sre[<=mss="f">iNipalass=5line" e5"sre])3spa23984129OC_N &a9po/a>)536494129OC_N &a9plass="5re9a55ef23"mm/p4093t/oa hr409hhhhh99ass=5line" sg2iNULLpagzer"8 ZONE_MOVABLE class=5line" eZONE_MOVABLEfnkm]ld,9"spa23984129OC_N &a9pded_compa9 i23__meminit8 class=5lin9" __m99rsgpage" czer>iNULLpagzer"8 arch_lass=highespapossiblaafn8 class=5line" earch_lass=highespapossiblaafn8"sre[>iNULLpagzer"8 ZONE_MOVABLE class=5line" eZONE_MOVABLEfnkm]ld,9"spa23984129OC_N &a9pmoom ki1c9ttttttttttttttttttttttttt9nsign99lass="kmem>/* r_41epa>415 cerred_9pdrommes/s9t_Mnop_patttttttttttttttt9nsign99 longrass="srek the high w hr41x+coa4 Fi40 /oa PFNs ttataZONE_MOVABLEfbegins atain each1n">b *ffnopBud+codrder" c41fff>41eo/a>23919poc.c#L2569rrrrrrrrrrrrrrrrrrrrrrrrr9numNs996longrass="sr" cla"srhigh8 cmem"et_pfn8 class=5li em"et"sref24129OC_N &a9pf">i 5nsi9">52MEMAo/a>/4098t/oa hr49geo/a997longrass="sr" cla"srhigh8 cfi40_lass=movablapfn8s=for_" frsu_pa 5set8 clasfi40_lass=movablapfn8s=for_" frs"sref)3spa23984129OC_N &a9p/a>5DESmm9ss="f">iNULLpagpglist_dat98 cla99se mespa23984129OC_N &a9p9/a>)53649.c#L256" i23ret8 class=5l9ne" r99ass=5line" pgek the high w hr41x+coa4 Prs253out tta line ran>os *ffnopBud+codrder" c41fff>41eo/a>23950pr= ass="50pr= 256" i23ret8 class=550pr=>50prlongrass="sr" cla"srhigh8 cprs25k4t/oa hr41e" clpcs25k"sref2k the high wstrcngr>"Zine ran>os:\n"fnopBud)3sp/pre>codrder" c41fff>41eo/a>23950p1= ass="50pa55ef23"mm/p4092t/oa hr50pa5>50pt_pfn8 class=pa41f2iNULLpagzer"8 ipalass=5line" e5"sre "mp;w>iNULLpagzer"8 M=5lNR_ZONEfsglrt_pfn8 clasM=5lNR_ZONEfLLpa"l>iNULLpagzer"8 ipalass=5line" e5"sre++/            "41   >4128>TIF_M50p2= ass="50p55ef23"mm/p4093t/oa hr450p55>50pass=5line" sglrt_pfnns" e<=mss="f">iNipalass=5line" e5"sre d= >iNULLpagzer"8 ZONE_MOVABLE class=5line" eZONE_MOVABLEfnkm)+codrder" c41fff>41eo/a>23950p3= ass="50pi23__meminit8 class=5li50pi2>50pd8 class=5lin"ne" ->sk+codcontinue/spa23984129OC_N &50p4= ass="50pttttttttttttttttttttttt50ptt>50pne" e>= 0oline" sg" cla"srhigh8 cprs25k4t/oa hr41e" clpcs25k"sref2 cla"srhigh8 cKERN_CONT4t/oa hr41e" clKERN_CONTe" setk the high wstrcngr>"  %-8s "fnopBudgl>iNULLpagzer"8 lass=ttttsu_pa 5set8 claslass=tttts"sre[<=mss="f">iNipalass=5line" e5"sre])3spa23984129OC_N &50p5= ass="50p_Mnop_pattttttttttttttt50p_M>50p longrass="sr s="srefs" e<=mss="f">iNarch_lass=lowespapossiblaafn8 class=5line" earch_lass=lowespapossiblaafn8"sre[<=mss="f">iNipalass=5line" e5"sre] ddspa23984129OC_N &50p6= ass="50prrrrrrrrrrrrrrrrrrrrrrr50prr>50pcod," cla"srmemmap_ce"ne" -&gng map n>iNULLpagzer"8 arch_lass=highespapossiblaafn8 class=5line" earch_lass=highespapossiblaafn8"sre[<=mss="f">iNipalass=5line" e5"sre])+codrder" c41fff>41eo/a>23950p7= ass="50p>52MEMAo/a>/4098t/oa hr50p>5>50p" zer"ne" ->sk+coddddddddd" cla"srhigh8 cprs25k4t/oa hr41e" clpcs25k"sref2 cla"srhigh8 cKERN_CONT4t/oa hr41e" clKERN_CONTe" setk the high wstrcngr>"empty\n"fnopBud)3spodrder" c41fff>41eo/a>23950p8= ass="50ps="f">iNULLpagpglist_da50ps=>50pot;Initifpising map nelsespodrder" c41fff>41eo/a>23950p9= ass="50pc#L256" i23ret8 class=550pc#>50pass=5line" pgdatne" -dddddddd" cla"srhigh8 cprs25k4t/oa hr41e" clpcs25k"sref2 cla"srhigh8 cKERN_CONT4t/oa hr41e" clKERN_CONTe" setk the high wstrcngr>"[ em %0#10lx-%0#10lx]\n"fnopBudg+codrder" c41fff>41eo/a>239501r= ass="50fffffffff(unsignad long)50fff>50ffod," cla"srmemmap_ce"ne" -&gng map n>iNULLpagzer"8 arch_lass=lowespapossiblaafn8 class=5line" earch_lass=lowespapossiblaafn8"sre[<=mss="f">iNipalass=5line" e5"sre] "mp;"mp;w>iNULLpagzer"8 PAGE_SHIFT4t/oa hr41e" clPAGE_SHIFT"sre,+codrder" c41fff>41eo/a>2395011= ass="50fffffffffass="sr s="sref50fff>50ft_pfn8 class=5line" zddddddddng map nf2iNipalass=5line" e5"sre]+codrder" c41fff>41eo/a>2395012= ass="50a55ef23"mm/p4113t/oa hr450a55>50fass=5line" sglrt_pfnnnnnnnnnnnnnnnnnnnnnnnnnn"mp;"mp;w>iNULLpagzer"8 PAGE_SHIFT4t/oa hr41e" clPAGE_SHIFT"sre) -71)3spodrder" c41fff>41eo/a>2395013= ass="50 s="srefzer"_init_free_l50 s=>50fd8 class=5lin}spa23984129OC_N &50f4= ass="50a55ef23"mm/p4115t/oa hr450a55>50flass="kmem>/* r_41epa>415 cerred50f5= ass="500;ordero/a>253250f longrass="srek the high w hr41x+coa4 Prs253out tta PFNs ZONE_MOVABLEfbegins atain each1n">b *ffnopBud+codrder" c41fff>41eo/a>23950f6= ass="5050f6longrass="sr" cla"srhigh8 cprs25k4t/oa hr41e" clpcs25k"sref2k the high wstrcngr>"Movabla line "end_ pa41each1n">b\n"fnopBud)3spodrder" c41fff>41eo/a>2395017= ass="50n57534250f" zer"ne" -&gpa41f2iNULLpagzer"8 ipalass=5line" e5"sre "mp;w>iNULLpagzer"8 M=5lNUMNODEfsglrt_pfn8 clasM=5lNUMNODEfLLpa"l>iNULLpagzer"8 ipalass=5line" e5"sre++/            "41   >4128>TIF_M5018= ass="50 cla"srCONFIG_HAVE_MEMBL50 cl>50fot;Initifpising map ns" e<=mss="f">iNlass=movablapfn8 class=5line" elass=movablapfn8"sre[536441eo/a>2395019= ass="50" cla"srCONFIG_HAVE_ARCH50" c>50fass=5line" pgdatne" -dddddddd" cla"srhigh8 cprs25k4t/oa hr41e" clpcs25k"sref2k the high wstrcngr>"  N">b %d: %#010lx\n"fnopBudg3241eo/a>239502r= ass="50mment">/*6">/28lass="sre50mme>50mmss=5line" sglrt_pfnnnnnnnnnnnnnnnnn<=mss="f">iNlass=movablapfn8 class=5line" elass=movablapfn8"sre[5364iNULLpagzer"8 PAGE_SHIFT4t/oa hr41e" clPAGE_SHIFT"sre)3spodrder" c41fff>41eo/a>2395021= ass="50mment"> * Requirad by SP50mme>50mt_pfn8 class=}spa23984129OC_N &50m2= ass="50mment"> * Architectures 50mme>50m2ass="kmem>/* r_41epa>415 cerred5023= ass="50mment"> * was used and t50mme>50m3longrass="srek the high w hr41x+coa4 Prs253out tta early1n">b map *ffnopBud+codrder" c41fff>41eo/a>2395024= ass="50mment"> * alternativane>50mme>50m4longrass="sr" cla"srhigh8 cprs25k4t/oa hr41e" clpcs25k"sref2k the high wstrcngr>"Early1glass= n">b ran>os\n"fnopBud)3spodrder" c41fff>41eo/a>2395025= ass="50mment"> */6">/28lass="sr50mme>50m longrass="sr" cla"srhigh8 cfor_each_ ,eaorderiss="srsgpafor_each_ ,eao"sref2iNULLpagzer"8 M=5lNUMNODEfsglrt_pfn8 clasM=5lNUMNODEfLLpadea>)536441eo/a>23950m6= ass="50 i23__meminit8 class=5li50 i2>50mcod," cla"srmemmap_ce" cla"srhigh8 cprs25k4t/oa hr41e" clpcs25k"sref2k the high wstrcngr>"  n">b %3d: [ em %#010lx-%#010lx]\n"fnopBudgl>iNULLpagzer"8 4154t/oa hr41e" class="kmd+codrder" c41fff>41eo/a>23950m7= ass="50">52MEMAo/a>/4128t/oa hr50">5>50m" zer"ne" ->sk+codddddddd64iNULLpagzer"8 PAGE_SHIFT4t/oa hr41e" clPAGE_SHIFT"sre, e<=mss="f">iNen5pfn8 class=5line" een5pfn8="km "mp;"mp;w>iNULLpagzer"8 PAGE_SHIFT4t/oa hr41e" clPAGE_SHIFT"sre) -71)3spodrder" c41fff>41eo/a>2395028= ass="50d longrass="sr s="srefsg50d l>50mse mespa23984129OC_N &50m9= ass="50.c#L256" i23iss="srsgpag50.c#>50mass=5line" pgek the high w hr41x+coa4 I_cpialist eves= n">b *ffnopBud+codrder" c41fff>41eo/a>239503r= ass="50a55ef23"mm/p4131t/oa hr450a55>50a5longrass="sr" cla"srhigh8 cmmr_cp_vesify_4129OC_N &50a1= ass="50 s="sreffor_each_mem_pfn50 s=>50a1longrass="sr" cla"srhigh8 csetup_nr_" fr_id34t/oa hr41e" cl"etup_nr_" fr_id3"sref)3spa23984129OC_N &50a2= ass="50/.cemass="sr s="srefsglr50/.c>50aass=5line" sg24128>TIF_M5033= ass="50ted_efdroreturnlass="sr 50ted>50ad8 class=5lin"ne" -&g" cla"srhigh8 cpg_data_t_pfn8 class=5lipg_data_tlongr*2/* This i50om >50ane" e>= 0oline" sg" cla"srhigh8 cfre>41rea=r_cp_" frr"_sglrt_pfn8 cfre>41rea=r_cp_" fr"sref241eo/a>2395035= ass="50-1>ordero/a>2532>50a longrass="sr s="srefffffffffffffffff" cla"srhigh8 cfi40_mina50aa23"84027cerred50a7= ass="50m ki1comment">/* CONFIG_50m k>50a" zer"ne" ->sk+cod>k the high water marka4 Any glass= on_/oat n">b *ffnopBud+codrder" c41fff>41eo/a>2395038= ass="50a55ef23"mm/p4139t/oa hr450a55>50aot;Initifpising map ns" e<=mss="f">iNpgdat_pfn8 class=5lipgdat="km-""41" cla"srhigh8 c4">bapc.f ma_bapc.f ma_41eo/a>2395039= ass="50 i23__meminit8 class=5li50 i2>50aass=5line" pgdatne" -dddddddd" cla"srhigh8 cf">ba"eta"entorderiss="srsgpaf">ba"eta"ento"sref24129OC_N &504r= ass="50">52MEMAo/a>/4141t/oa hr50">5>50">e" e>= 0oline" sg" cla"srhigh8 ccheck=for_mlass=rderiss="srsgpacheck=for_mlass="sref250"t_pfn8 class=}spa23984129OC_N &5042= ass="50a55ef23"mm/p4143t/oa hr450a55>50"ass=5}spa23984129OC_N &5043= ass="50 s="srefnid8 class=5line50 s=>50" it haoooooooooo40es >40e4cerred50"4= ass="50="sr s="srefnid8 class=550="s>50"ne" eit>TIF_s2532)*240e4cerred50"5= ass="50treturnlass="sr s="srefn50tre>50" long           "41   >4128>TIF_M5046= ass="50om ki1comment">/* just r50om >50"cod," cla"srme" ,show3o/a>)o/a>)>iNULLpagzer"8 coremla class=5line" ecoremlaLLpa"          "41   >4128>TIF_M5047= ass="500;ordero/a>253250"" zer"ne" -&gs" e!>iNULLpagzer"8 p_pfn8 class=5lip="km/aoooooooooo40es >40e4cerred50"8= ass="5050"ot;Initifpising map nc.c#L2 ->iNULLpagzer"8 EINVAL class=5line" eEINVALLLpa"          "41   >4128>TIF_M5049= ass="50 53"""""""""415nt/oa hr450 53>50"9it haoooooooooo40es >40e4cerred505r= ass="50 cla"srCONFIG_NODES_SPAN50 cl>50 css=5line" sg2)53644128>TIF_M5051= ass="50bool8 class=5line" bool>50boo>50 t_pfn8 class=*2iNULLpagzer"8 PAGE_SHIFT4t/oa hr41e" clPAGE_SHIFT"sre"          "41   >4128>TIF_M5052= ass="50">52MEMAo/a>/4153t/oa hr50">5>50 2ass="kmem>/* r_41epa>415 cerred5053= ass="50.c#L256" i23nid8 class=550.c#>50 3longrass="srek the high w hr41x+coa4 Parans="scheck_/oat UL is enough pa41/oa coremla valub *ffnopBud+codrder" c41fff>41eo/a>2395054= ass="50a55ef23"mm/p4155t/oa hr450a55>50 4longrass="sr" cla"srhigh8 cWARN_ON4t/oa hr41e" clWARN_ON"sreff2iNULLpagzer"8 PAGE_SHIFT4t/oa hr41e" clPAGE_SHIFT"sre) ""41n>iNULLpagzer"8 ULONG_MAX4t/oa hr41e" clULONG_MAX="km/"          "41   >4128>TIF_M5055= ass="50a__1">/2nid8 class=5line50a__>50 st PFspa23984129OC_N &50 6= ass="50="sr s="srefnid8 class=550="s>50 cod," cla"srmc.c#L2 9"spa23984129OC_N &50 7= ass="50/returnlass="sr s="sreff50/re>50 " zer}spa23984129OC_N &50 8= ass="50ass="sr s="sreftrue8 cla50ass>50 se mespa23984129OC_N &5059= ass="5050 () setk the high water mark/*fnopBud+codrder" c41fff>41eo/a>239506r= ass="50)536450)5) setk the high water mark * kernelcorep"ize "ets_/oa amount of glass= pa41use pa411eo/a>TIons ttatfnopBud+codrder" c41fff>41eo/a>2395061= ass="50a55ef23"mm/p4162t/oa hr450a55>50)t_pfns that ap_ ranges regi=* cannotsbemc. apimed_a41migraIod.fnopBud+codrder" c41fff>41eo/a>2395062= ass="50mment">/**6">/28lass="sr50mme>50)ment their own versne" but i4ffnopBud+codrder" c41fff>41eo/a>2395063= ass="50mment"> * free_bootmem_w50mme>50)3e" eit>TIF_s253240e4cerred5064= ass="50mment"> * @nid: The na"s50mme>50)4long           "41   >4128>TIF_M5065= ass="50mment"> * @max_low_pfn: 50mme>50)5od," cla"srmc.c#L2 tup_per_cpu_pa cmdr s=_parse_core class=5line" ecmdr s=_parse_core"sref2)53644128>TIF_M5066= ass="50mment"> *6">/28lass="sre50mme>50)6 zer}spa23984129OC_N &5067= ass="50mment"> * If t marchitec50mme>50)7e mespa23984129OC_N &5068= ass="502ordero/a>5DESmm52ordero502or>50)se means that a zer" whose /*fnopBud+codrder" c41fff>41eo/a>2395069= ass="50+cod," cla"srzer"8 class50+co>50)() setk the high water mark * movablacorep"ize "ets_/oa amount of glass= pa41use pa411eo/a>TIons ttatfnopBud+codrder" c41fff>41eo/a>239507r= ass="50/returnl-sk+cod," cla"sr50/re>50/r_pfns that ap_ ranges regi=* cansbemc. apimed_a41migraIod.fnopBud+codrder" c41fff>41eo/a>2395071= ass="50a55ef23"mm/p4072t/oa hr450a55>50/t_pfns that ap_ ranges regi=*ffnopBud+codrder" c41fff>41eo/a>23950/2= ass="50"sref">orderiss="srsgpag50"sr>50/2e" eit>TIF_s253240e4cerred5073= ass="50tsk+cod," cla"srinit_wai50tsk>50/d8 cl           "41   >4128>TIF_M50/4= ass="50a55ef23"mm/p4075t/oa hr450a55>50/4od," cla"srmc.c#L2 tup_per_cpu_pa cmdr s=_parse_core class=5line" ecmdr s=_parse_core"sref2)53644128>TIF_M5075= ass="500;ordero/a>253250/5 zer}spa23984129OC_N &5076= ass="5050/a23"84027cerred5077= ass="50n57534250/anteeslt;=mss="f">iNearly_paraa class=5line" eearly_paraa"sref2k the high wstrcngr>"kernelcore"fnopBudgl>iNULLpagzer"8 cmdr s=_parse_kernelcore class=5line" ecmdr s=_parse_kernelcore"sre/"          "41   >4128>TIF_M5078= ass="50">order__meminit8 class=50">o>50/8nteeslt;=mss="f">iNearly_paraa class=5line" eearly_paraa"sref2k the high wstrcngr>"movablacore"fnopBudgl>iNULLpagzer"8 cmdr s=_parse_movablacore class=5line" ecmdr s=_parse_movablacore"sre/"          "41   >4128>TIF_M5079= ass="50">52MEMAo/a>/408nt/oa hr50">5>50/9it haoooooooooo40es >40e4cerred508r= ass="50om ki1comment">/*6">/28l50om >50omit h#endifrek the high w hr41x+coa4 CONFIG_HAVE_MEMBLOCK_NODE_MAP=*ffnopBud+codrder" c41fff>41eo/a>2395081= ass="50mment">         * per cp50mme>50o1it haoooooooooo40es >40e4cerred5082= ass="50mment">         * relies50mme>50oment their own versne" but /*4fnopBud+codrder" c41fff>41eo/a>23950o3= ass="50mment">         * offset50mme>50oe_regions - Cfp_ free_bootme* "etadmapc.f rve - "et1/oa specifi5f number of 41eo/a>23950o4= ass="50mment">         */6">/2850mme>50omemory on. If MAX_NUMNODES, * @newadmapc.f rve: Tta number of 41eo/a>23950o5= ass="50a__1">/2zer"8 class=5lin50a__>50ost PFN that wip_ b" pm kad t*LLopBud+codrder" c41fff>41eo/a>23950o6= ass="50n57534250o0fp_maskpa4167t/oa hr41x+cod4 Tta per-cpu batch"ize a40 line waIormark3)are deIormin5fnby pc.f ma_41eo/a>2395087= ass="50s/spa__1">/2zer"8 class=50s/s>50oantees that ap_ ranges regi=* Inn/oa DMA line, a  ,shificant perc1x+ff> maysbemconsumed_by kernel imagsLLopBud+codrder" c41fff>41eo/a>23950o8= ass="50ask+cod," cla"srprintk8 50ask>50ose means that a zer" whose s* a40 o/oar unfre>abla 1eo/a>TIons which cansskewn/oa waIormark3)badly. To="LLopBud+codrder" c41fff>41eo/a>23950o9= ass="50 ef23"mm/mmes/spa__1">/250 ef>50o() setk the high water mark * funcTIon maysopTIon1eoysbemused to account pa41unfre>abla 41eo/a>239509r= ass="50ffffffffffffffffffffffff50fff>50ff) setk the high water mark * first1zass (e.g.,dZONE_DMA). Tta effectswill bemlower waIormark3)a40fnopBud+codrder" c41fff>41eo/a>23950f1= ass="5050ft_pfns that ap_ ranges regi=* sm1eoar per-cpu batch"ize.fnopBud+codrder" c41fff>41eo/a>2395092= ass="50a55ef23"mm/p4093t/oa hr450a55>50fment their own versne" but i4ffnopBud+codrder" c41fff>41eo/a>2395093= ass="50 i23__meminit8 class=5li50 i2>50fe_regss="sr s="srefsetup_per_cpu_pa 5set8 class=r_cpe" setup_per_cpu_pa "etadmapc.f rve4t/oa hr41e" cl"etadmapc.f rve"srefsglrt_pfno/a>)>iNULLpagzer"8 newadmapc.f rve4t/oa hr41e" claewadmapc.f rve="km/aoooooooooo40es >40e4cerred5094= ass="50tttttttttttttttttttttttt50ttt>50f4long           "41   >4128>TIF_M5095= ass="50t_Mnop_pattttttttttttttt50t_M>50f longrass="sr" cla"srhigh8 cdmapc.f rve4t/oa hr41e" cldmapc.f rve="km d,644128>TIF_M5096= ass="50rrrrrrrrrrrrrrrrrrrrrrrr50rrr>50f6 zer}spa23984129OC_N &5097= ass="50">52MEMAo/a>/4098t/oa hr50">5>50f7e mespa23984129OC_N &5098= ass="50ss="f">iNULLpagpglist_da50ss=>50f8_regss="sr s="srefsetup_per_cpu_pa 5set8 class=r_cpe" setup_per_cpu_pa fre>41rea=r_cpr"_sglrt_pfn8 cfre>41rea=r_cp"srefsglrt_pfno/a>)*250f9long           "41   >4128>TIF_M51pr= ass="51pr= 256" i23ret8 class=551pr=>51prlongrass="sr" cla"srhigh8 cfre>41rea=r_cp_" frr"_sglrt_pfn8 cfre>41rea=r_cp_" fr"sref0gl>iNULLpagzer"8 lasss_"izer"_sglrt_pfn8 clines_"ize="kmd+codrder" c41fff>41eo/a>23951p1= ass="51pa55ef23"mm/p4092t/oa hr51pa5>510t_pfn8 class=5line" zddddddddr s="srefsetup_pepau_pa 5set8 class=pa"sref2iNULLpagzer"8 PAGE_SHIFT4t/oa hr41e" clPAGE_SHIFT"sregl5364510ass=5}spa23984129OC_N &51p3= ass="51pi23__meminit8 class=5li51pi2>510 it haoooooooooo40es >40e4cerred51p4= ass="51pttttttttttttttttttttttt51ptt>510ne" eit>TIF_s253240e4ce_cpu_" tif=rderiss="srsgpaes >40e4ce_cpu_" tif="srefstruc53241eo/a>23951p5= ass="51p_Mnop_pattttttttttttttt51p_M>51p longrass="sr s="sreffffffffffffffffffsglrt_pfno/a>)>iNULLpagzer"8 acTIon4t/oa hr41e" clacTIon"sreglss="s*251pcod,"           "41   >4128>TIF_M51p7= ass="51p>52MEMAo/a>/4098t/oa hr51p>5>51p" zer"ne" -&gs2532iNULLpagpglist_da51ps=>510se mespa23984129OC_N &51p9= ass="51pc#L256" i23ret8 class=551pc#>51pass=5line" pgs" e<=mss="f">iNacTIon4t/oa hr41e" clacTIon"sre d= >iNULLpagzer"8 CPU_DEAD4t/oa hr41e" clCPU_DEAD"sre ||)>iNULLpagzer"8 acTIon4t/oa hr41e" clacTIon"sre d= >iNULLpagzer"8 CPU_DEAD_FROZEN4t/oa hr41e" clCPU_DEAD_FROZEN"sre)            "41   >4128>TIF_M511r= ass="51fffffffff(unsignad long)51fff>51ffod," cla"srmemmap_ce>iNULLpagzer"8 lru_add_drain_cpu4t/oa hr41e" cllru_add_drain_cpu"sref251ft_pfn8 class=5line" z" cla"srhigh8 cdrain_5112ass="kmem>/* r_41epa>415 cerred5113= ass="51 s="srefzer"_init_free_l51 s=>511d8 class=5lin"ne" -&g"ns that a zer" whose /*fnopBud+codrder" c41fff>41eo/a>23951f4= ass="51a55ef23"mm/p4115t/oa hr451a55>511memory on. If MAX_NUMNODES,                 * Spill tta ev1x+ counters of tta dead processorfnopBud+codrder" c41fff>41eo/a>23951f5= ass="510;ordero/a>2532511st PFN that wip_ b" pm kad t                * s25o1/oa curr1x+ processors ev1x+ counters.fnopBud+codrder" c41fff>41eo/a>23951f6= ass="515110fp_maskpa4167t/oa hr41x+cod                * To="sartifici1eoyselevnto31/oa count of /oa curr1x+fnopBud+codrder" c41fff>41eo/a>23951f7= ass="51n575342511antees that ap_ ranges regi=                * processor.fnopBud+codrder" c41fff>41eo/a>23951f8= ass="51 cla"srCONFIG_HAVE_MEMBL51 cl>511se means that a zer" whose s                *ffnopBud+codrder" c41fff>41eo/a>2395119= ass="51" cla"srCONFIG_HAVE_ARCH51" c>51fass=5line" pgdatne" -2/*6">/28lass="sre51mme>51mmss=5spa23984129OC_N &5121= ass="51mment"> * Requirad by SP51mme>512t_pfn8 class=5line" z"ns that a zer" whose /*fnopBud+codrder" c41fff>41eo/a>23951m2= ass="51mment"> * Architectures 51mme>512ment their own versne" but i                * Zero1/oa differ1x+i1e counters of tta dead processorfnopBud+codrder" c41fff>41eo/a>2395123= ass="51mment"> * was used and t51mme>512e_regions - Cfp_ free_bootme                * so_/oat /oa vm it>TIsTIF3)are consIsTboo.fnopBud+codrder" c41fff>41eo/a>2395124= ass="51mment"> * alternativane>51mme>512memory on. If MAX_NUMNODES,                 *fnopBud+codrder" c41fff>41eo/a>2395125= ass="51mment"> */6">/28lass="sr51mme>512st PFN that wip_ b" pm kad t                * To="sis onoysokay since tta pcocessorsis dead a40 cannotfnopBud+codrder" c41fff>41eo/a>2395126= ass="51 i23__meminit8 class=5li51 i2>5120fp_maskpa4167t/oa hr41x+cod                * race with woat we)are doing.fnopBud+codrder" c41fff>41eo/a>2395127= ass="51">52MEMAo/a>/4128t/oa hr51">5>512antees that ap_ ranges regi=                *ffnopBud+codrder" c41fff>41eo/a>2395128= ass="51d longrass="sr s="srefsg51d l>512ot;Initifpising map n64T34t/oa hr41e" clc.fresh_cpu_vm_it>T3"sref24129OC_N &513r= ass="51a55ef23"mm/p4131t/oa hr451a55>51a5longrass="src.c#L2 tup_per_cpu_pa NOTIFY_OK class=5line" eNOTIFY_OK="km3spa23984129OC_N &51a1= ass="51 s="sreffor_each_mem_pfn51 s=>51a1long}spa23984129OC_N &5132= ass="51/.cemass="sr s="srefsglr51/.c>5132ass="kmem>/* r_41epa>415 cerred5133= ass="51ted_efdroreturnlass="sr 51ted>513e_regss="sr s="srefsetup_per_cpu_pa 5set8 class=r_cpe" setup_per_cpu_pa es >40e4ce_r_cpu_pa 5set8 clases >40e4ce_r_cp"srefss="/aoooooooooo40es >40e4cerred51a4= ass="51om ki1comment">/* This i51om >5134long           "41   >4128>TIF_M5135= ass="51-1>ordero/a>2532>513 longrass="sr" cla"srhigh8 chotcpu_" tifier4t/oa hr41e" clhotcpu_" tifier"sref240e4ce_cpu_" tif=rderiss="srsgpaes >40e4ce_cpu_" tif="sre, 0/3spa23984129OC_N &51a6= ass="515136 zer}spa23984129OC_N &51a7= ass="51m ki1comment">/* CONFIG_51m k>5137e mespa23984129OC_N &5138= ass="51a55ef23"mm/p4139t/oa hr451a55>513se means that a zer" whose /*fnopBud+codrder" c41fff>41eo/a>2395139= ass="51 i23__meminit8 class=5li51 i2>513() setk the high water mark * falculaIo_totalc.f rve_TIofnopBud+codrder" c41fff>41eo/a>239514r= ass="51">52MEMAo/a>/4141t/oa hr51">5>514f) setk the high water mark *      a41min_fre>4kbyto31chan>os.fnopBud+codrder" c41fff>41eo/a>2395141= ass="51.c#L256" i23nid8 class=551.c#>514t_pfns that ap_ ranges regi=*ffnopBud+codrder" c41fff>41eo/a>2395142= ass="51a55ef23"mm/p4143t/oa hr451a55>5142e" eit>TIF_ss="sr s="srefsetup_falculaIo_totalc.f rve_4128>TIF_M51"4= ass="51="sr s="srefnid8 class=551="s>5144od," cla"srmstruc5324129OC_N &51"5= ass="51treturnlass="sr s="srefn51tre>514 longrass="srsglrt_pfno/a>)>iNULLpagzer"8 c.f rve_4129OC_N &5146= ass="51om ki1comment">/* just r51om >51"cod," cla"srmenumn<=mss="f">iNlass=typer"_sglrt_pfn8 cline=typee" setup_per_cpu_pa ipalass=5line" e5"sregl>iNULLpagzer"8 jpalass=5line" ej="km3spa23984129OC_N &51"7= ass="510;ordero/a>25325147e mespa23984129OC_N &51"8= ass="51514ot;Initifpisi" cla"srhigh8 cfor_each_onr s=_pgdat_pfn8 class=5lifor_each_onr s=_pgdat"sref24128>TIF_M5149= ass="51 53"""""""""415nt/oa hr451 53>514ass=5line" pgdatne" -pa41f2iNULLpagzer"8 ipalass=5line" e5"sre "mp;w>iNULLpagzer"8 M=5lNR_ZONEfsglrt_pfn8 clasM=5lNR_ZONEfLLpa"l>iNULLpagzer"8 ipalass=5line" e5"sre++/            "41   >4128>TIF_M515r= ass="51 cla"srCONFIG_NODES_SPAN51 cl>515mss=5line" sglrt_pfnnnnnnnnnnstruc532iNULLpagzer"8 pgdat_pfn8 class=5lipgdat="km-""41" cla"srhigh8 c4">balines4t/oa hr41e" cl" >balines_pfn8+l>iNULLpagzer"8 ipalass=5line" e5"sre3spa23984129OC_N &5151= ass="51bool8 class=5line" bool>51boo>515t_pfn8 class=5line" zddddddddsglrt_pfno/a>)>iNULLpagzer"8 max_pfn8 class=5li ax"sreld,9"spa23984129OC_N &5152= ass="51">52MEMAo/a>/4153t/oa hr51">5>51 2ass="kmem>/* r_41epa>415 cerred5153= ass="51.c#L256" i23nid8 class=551.c#>515d8 class=5lin"ne" ->sk+codek the high w hr41x+coa4 Fi40 valid a40  aximumnlow ,eac.f rve inn/oa zass *ffnopBud+codrder" c41fff>41eo/a>2395154= ass="51a55ef23"mm/p4155t/oa hr451a55>51 4longrass="srline" pgdatne" -pa41f2iNULLpagzer"8 jpalass=5line" ej="km "mp;w>iNULLpagzer"8 M=5lNR_ZONEfsglrt_pfn8 clasM=5lNR_ZONEfLLpa"l>iNULLpagzer"8 jpalass=5line" ej="km++/            "41   >4128>TIF_M5155= ass="51a__1">/2nid8 class=5line51a__>515 longrass="sr s="srefffffffffffffffffs" e<=mss="f">iNlass4t_sglrt_pfn8 cline_pfn-""41" cla"srhigh8 clow ,eac.f rve4t/oa hr41e" cllow ,eac.f rve_pfn[5364iNULLpagzer"8 max_pfn8 class=5li ax"sre/aoooooooooo40es >40e4cerred51 6= ass="51="sr s="srefnid8 class=551="s>515cod," cla"srmemmap_ce"ne" -&gng map nt;sk+codeiNULLpagzer"8 max_pfn8 class=5li ax"sreld,<=mss="f">iNlass4t_sglrt_pfn8 cline_pfn-""41" cla"srhigh8 clow ,eac.f rve4t/oa hr41e" cllow ,eac.f rve_pfn[53644129OC_N &5157= ass="51/returnlass="sr s="sreff51/re>515" zer"ne" ->sk+coddddddddd}spa23984129OC_N &51 8= ass="51ass="sr s="sreftrue8 cla51ass>51 se mespa23984129OC_N &5159= ass="51515ass=5line" pgdatne" -dddddddd"k the high w hr41x+coa4 we treat /oa high waIormark a3 c.f rved 41eo/a>239516r= ass="51)5364516ULLpagzer"_idx8 classng map n64iNhigh_wmark_4129OC_N &5161= ass="51a55ef23"mm/p4162t/oa hr451a55>5161it haoooooooooo40es >40e4cerred5162= ass="51mment">/**6">/28lass="sr51mme>516ass=5line" sglrt_pfnnnnnnnnnns" e<=mss="f">iNmax_pfn8 class=5li ax"sre ""41n>iNULLpagzer"8 lass4t_sglrt_pfn8 cline_pfn-""41" cla"srhigh8 cpc.f ma_41eo/a>2395163= ass="51mment"> * free_bootmem_w51mme>516d8 class=5lin"ne" ->sk+codt;sk+codeiNULLpagzer"8 max_pfn8 class=5li ax"sreld,<=mss="f">iNlass4t_sglrt_pfn8 cline_pfn-""41" cla"srhigh8 cpc.f ma_ * @nid: The na"s51mme>5164longrass="srline" pgdatne" ->iNULLpagzer"8 c.f rve_iNmax_pfn8 class=5li ax"sre3spa23984129OC_N &5165= ass="51mment"> * @max_low_pfn: 51mme>516 longrass="sr s="srefffffffffans that a zer" whose /*fnopBud+codrder" c41fff>41eo/a>2395166= ass="51mment"> *6">/28lass="sre51mme>5160fp_maskpa4167t/oa hr41x+cod                        * Low ,e c.f rve3)are notsavailabla tofnopBud+codrder" c41fff>41eo/a>2395167= ass="51mment"> * If t marchitec51mme>516antees that ap_ ranges regi=                        * GFP_HIGHUSER TIons a40fnopBud+codrder" c41fff>41eo/a>2395168= ass="512ordero/a>5DESmm52ordero512or>51)se means that a zer" whose =                        * kswapd tri53 to balance lines 5o1/oair highfnopBud+codrder" c41fff>41eo/a>2395169= ass="51+cod," cla"srzer"8 class51+co>51)() setk the high water mark                         * waIormark.  As a c.fult, nei/oar should baLLopBud+codrder" c41fff>41eo/a>239517r= ass="51/returnl-sk+cod," cla"sr51/re>51/r_pfns that ap_ ranges regi=                        * regarded a3 dirtyabla glass=, 5o1pc.v1x+ aLLopBud+codrder" c41fff>41eo/a>2395171= ass="51a55ef23"mm/p4072t/oa hr451a55>51/t_pfns that ap_ ranges regi=                        * situ>TIonnw5eremc. apim has 5o1clehat41eo/a>2395172= ass="51"sref">orderiss="srsgpag51"sr>517ment their own versne" but i                        * innorder to balance /oa zasss.fnopBud+codrder" c41fff>41eo/a>2395173= ass="51tsk+cod," cla"srinit_wai51tsk>517e_regions - Cfp_ free_bootme                        *ffnopBud+codrder" c41fff>41eo/a>23951/4= ass="51a55ef23"mm/p4075t/oa hr451a55>5174longrass="srline" pgdatne" ->iNULLpagzer"8 lass4t_sglrt_pfn8 cline_pfn-""41" cla"srhigh8 cdirty_balancepc.f rve4t/oa hr41e" cldirty_balancepc.f rve"sreld,<=mss="f">iNmax_pfn8 class=5li ax"sre3spa23984129OC_N &5175= ass="510;ordero/a>2532517 longrass="sr s="sref}spa23984129OC_N &5176= ass="51517cod," cla"srm}spa23984129OC_N &5177= ass="51n5753425177longrass="sr" cla"srhigh8 cdirty_balancepc.f rve4t/oa hr41e" cldirty_balancepc.f rve"sreld,<=mss="f">iNc.f rve_4129OC_N &5178= ass="51">order__meminit8 class=51">o>517ot;Initifpisi" cla"srhigh8 ctotalc.f rve_iNc.f rve_4129OC_N &5179= ass="51">52MEMAo/a>/408nt/oa hr51">5>51/9it h}spa23984129OC_N &518r= ass="51om ki1comment">/*6">/28l51om >518mss=5spa23984129OC_N &5181= ass="51mment">         * per cp51mme>518t_pfns that ap_ ranges regi/*fnopBud+codrder" c41fff>41eo/a>2395182= ass="51mment">         * relies51mme>51oment their own versne" but e* "etup_per_lass=low ,eac.f rve - c1eoednw5enevesfnopBud+codrder" c41fff>41eo/a>2395183= ass="51mment">         * offset51mme>51oe_regions - Cfp_ free_bootme*      sysctl=lower_lass=c.f rve_r>TIo1chan>os.  Ensures ttataeach1zassLLopBud+codrder" c41fff>41eo/a>23951o4= ass="51mment">         */6">/2851mme>51omemory on. If MAX_NUMNODES, *      has a correctsTa number ofLLopBud+codrder" c41fff>41eo/a>23951o5= ass="51a__1">/2zer"8 class=5lin51a__>51ost PFN that wip_ b" pm kad t*      41eo/a>23951o6= ass="51n57534251o0fp_maskpa4167t/oa hr41x+cod4ffnopBud+codrder" c41fff>41eo/a>2395187= ass="51s/spa__1">/2zer"8 class=51s/s>51oanteeit>TIF_ss="sr s="srefsetup_"etup_per_lass=low ,eac.f rve4t/oa hr41e" cl"etup_per_lass=low ,eac.f rve"srefss="/aoooooooooo40es >40e4cerred51o8= ass="51ask+cod," cla"srprintk8 51ask>51ose me           "41   >4128>TIF_M51o9= ass="51 ef23"mm/mmes/spa__1">/251 ef>518ass=5line" pgstruc5324129OC_N &519r= ass="51ffffffffffffffffffffffff51fff>519ULLpagzer"_idenumn<=mss="f">iNlass=typer"_sglrt_pfn8 cline=typee" setup_per_cpu_pa jpalass=5line" ej="kmg324129OC_N &5191= ass="515191it haoooooooooo40es >40e4cerred5192= ass="51a55ef23"mm/p4093t/oa hr451a55>519ass=5line" sg24128>TIF_M5193= ass="51 i23__meminit8 class=5li51 i2>519d8 class=5lin"ne" -&gpa41f2iNULLpagzer"8 jpalass=5line" ej="km "mp;w>iNULLpagzer"8 M=5lNR_ZONEfsglrt_pfn8 clasM=5lNR_ZONEfLLpa"l>iNULLpagzer"8 jpalass=5line" ej="km++/            "41   >4128>TIF_M5194= ass="51tttttttttttttttttttttttt51ttt>5194longrass="srline" pgdatne" -struc532iNULLpagzer"8 pgdat_pfn8 class=5lipgdat="km-""41" cla"srhigh8 c4">balines4t/oa hr41e" cl" >balines_pfn8+l>iNULLpagzer"8 jpalass=5line" ej="km3spa23984129OC_N &5195= ass="51t_Mnop_pattttttttttttttt51t_M>519 longrass="sr s="srefffffffffsglrt_pfno/a>)>iNULLpagzer"8 pc.f ma_iNlass4t_sglrt_pfn8 cline_pfn-""41" cla"srhigh8 cpc.f ma_519a23"84027cerred5197= ass="51">52MEMAo/a>/4098t/oa hr51">5>519" zer"ne" ->sk+coddddddddd" cla"srhigh8 class4t_sglrt_pfn8 cline_pfn-""41" cla"srhigh8 clow ,eac.f rve4t/oa hr41e" cllow ,eac.f rve_pfn[53644129OC_N &5198= ass="51ss="f">iNULLpagpglist_da51ss=>519se mespa23984129OC_N &5199= ass="51.c#L256" i23ret8 class=551.c#>519ass=5line" pgdatne" -dddddddd" cla"srhigh8 cidx_pfn8 class=5liidx="kmld,<=mss="f">iNjpalass=5line" ej="km3spa23984129OC_N &52pr= ass="52pr= 256" i23ret8 class=552pr=>520ULLpagzer"_idx8 classng map nwhile1f24128>TIF_M52p1= ass="52pa55ef23"mm/p4092t/oa hr52pa5>520t_pfn8 class=5line" zdddddddddatne" -struc5325202ass="kmem>/* r_41epa>415 cerred52p3= ass="52pi23__meminit8 class=5li52pi2>520d8 class=5lin"ne" ->sk+codt;sk+codeiNULLpagzer"8 idx_pfn8 class=5liidx="km--3spa23984129OC_N &52p4= ass="52pttttttttttttttttttttttt52ptt>520lass="kmem>/* r_41epa>415 cerred52p5= ass="52p_Mnop_pattttttttttttttt52p_M>52p longrass="sr s="srefffffffffffffffffs" e<=mss="f">iNsysctl=low ,eac.f rve_r>TIo4t/oa hr41e" cl"ysctl=low ,eac.f rve_r>TIo_pfn[536440e4cerred52p6= ass="52prrrrrrrrrrrrrrrrrrrrrrr52prr>520cod," cla"srmemmap_ce"ne" -&gng map nt;sk+codeiNULLpagzer"8 sysctl=low ,eac.f rve_r>TIo4t/oa hr41e" cl"ysctl=low ,eac.f rve_r>TIo_pfn[53644129OC_N &52p7= ass="52p>52MEMAo/a>/4098t/oa hr52p>5>5207e mespa23984129OC_N &52p8= ass="52ps="f">iNULLpagpglist_da52ps=>520ot;Initifpising map nng map nt;sk+codeiNULLpagzer"8 lower_lass4t/oa hr41e" cllower_lass="km8= >iNULLpagzer"8 pgdat_pfn8 class=5lipgdat="km-""41" cla"srhigh8 c4">balines4t/oa hr41e" cl" >balines_pfn8+l>iNULLpagzer"8 idx_pfn8 class=5liidx="km3spa23984129OC_N &52p9= ass="52pc#L256" i23ret8 class=552pc#>520ass=5line" pgdatne" -ddddddddt;sk+codeiNULLpagzer"8 lower_lass4t/oa hr41e" cllower_lass="km-""41" cla"srhigh8 clow ,eac.f rve4t/oa hr41e" cllow ,eac.f rve_pfn[536452ffod," cla"srmemmap_ce"ne" -&gng map nt;sk+codeiNULLpagzer"8 sysctl=low ,eac.f rve_r>TIo4t/oa hr41e" cl"ysctl=low ,eac.f rve_r>TIo_pfn[53644129OC_N &5211= ass="52fffffffffass="sr s="sref52fff>52ft_pfn8 class=5line" zng map nt;sk+codeiNULLpagzer"8 pc.f ma_iNlower_lass4t/oa hr41e" cllower_lass="km-""41" cla"srhigh8 cpc.f ma_521ass=5line" sglrt_pfnnnnnnnnnn}spa23984129OC_N &5213= ass="52 s="srefzer"_init_free_l52 s=>521d8 class=5lin"ne" -&g}spa23984129OC_N &5214= ass="52a55ef23"mm/p4115t/oa hr452a55>5214longrass="sr}spa23984129OC_N &5215= ass="520;ordero/a>2532521st PFspa23984129OC_N &52f6= ass="52521cod," cla"srm"k the high w hr41x+coa4 upd>Ta totalc.f rve_41eo/a>23952f7= ass="52n5753425217longrass="sr" cla"srhigh8 cfalculaIo_totalc.f rve_4129OC_N &52f8= ass="52 cla"srCONFIG_HAVE_MEMBL52 cl>521se me}spa23984129OC_N &5219= ass="52" cla"srCONFIG_HAVE_ARCH52" c>5219it haoooooooooo40es >40e4cerred522r= ass="52mment">/*6">/28lass="sre52mme>52mmss=5it>TIF_ss="sr s="srefsetup___"etup_per_lass=wmark34t/oa hr41e" cl__"etup_per_lass=wmark3"srefss="/aoooooooooo40es >40e4cerred5221= ass="52mment"> * Requirad by SP52mme>522t_pfn           "41   >4128>TIF_M52m2= ass="52mment"> * Architectures 52mme>522ass=5line" sgsglrt_pfno/a>)>iNULLpagzer"8 pa 53_min4t/oa hr41e" clpa 53_min"sreld,<=mss="f">iNmin_fre>4kbyto3_pfn8 class=5li in_fre>4kbyto3"sre ""41""41nf24129OC_N &5223= ass="52mment"> * was used and t52mme>5223ss=5line" sgsglrt_pfno/a>)>iNULLpagzer"8 low ,ea4129OC_N &5224= ass="52mment"> * alternativane>52mme>5224od," cla"srmstruc5324129OC_N &5225= ass="52mment"> */6">/28lass="sr52mme>522 longrass="srsglrt_pfno/a>)>iNULLpagzer"8 flags_pfn8 class=5liflags_pfn"spa23984129OC_N &5226= ass="52 i23__meminit8 class=5li52 i2>522a23"84027cerred5227= ass="52">52MEMAo/a>/4128t/oa hr52">5>5227od," cla"srm"k the high w hr41x+coa4 CalculaIo total number of !ZONE_HIGHMEM 41eo/a>2395228= ass="52d longrass="sr s="srefsg52d l>522ot;Initifpisi" cla"srhigh8 cfor_each_zass4t_sglrt_pfn8 cfor_each_zass"sref24128>TIF_M5229= ass="52.c#L256" i23iss="srsgpag52.c#>522ass=5line" pgdatne" -s" e!>iNULLpagzer"8 is_highmla class=5line" eis_highmla"sref240e4cerred523r= ass="52a55ef23"mm/p4131t/oa hr452a55>523ULLpagzer"_idx8 classng map n64iNlass4t_sglrt_pfn8 cline_pfn-""41" cla"srhigh8 cpc.f ma_5232ass="kmem>/* r_41epa>415 cerred5233= ass="52ted_efdroreturnlass="sr 52ted>5233t;Initifpisi" cla"srhigh8 cfor_each_zass4t_sglrt_pfn8 cfor_each_zass"sref24128>TIF_M52a4= ass="52om ki1comment">/* This i52om >5234longrass="srline" pg2 * @pfn8 cu64longr" cla"srhigh8 ctmp_pfn8 class=5litmp="km3spa23984129OC_N &52a5= ass="52-1>ordero/a>2532>523st PFspa23984129OC_N &52a6= ass="52523cod," cla"srmemmap_ceeiNULLpagzer"8 spin_9OCk_irqsave4t/oa hr41e" cl"pin_9OCk_irqsave"srefa>)53644129OC_N &52a7= ass="52m ki1comment">/* CONFIG_52m k>523" zer"ne" ->sk+cod" cla"srhigh8 ctmp_pfn8 class=5litmp="km d,f2 * @pfn8 cu64long)2iNlass4t_sglrt_pfn8 cline_pfn-""41" cla"srhigh8 cpc.f ma_523ot;Initifpising map n64523ass=5line" pgdatne" -s" e>iNULLpagzer"8 is_highmla class=5line" eis_highmla"sref24128>TIF_M524r= ass="52">52MEMAo/a>/4141t/oa hr52">5>524ULLpagzer"_idx8 classng map n6 that ap_ ranges regi/*fnopBud+codrder" c41fff>41eo/a>2395241= ass="52.c#L256" i23nid8 class=552.c#>524t_pfns that ap_ ranges regi=========================* __GFP_HIGH a40 PF_MEMALLOC 1eo/a>TIons usuaeoysdon'tfnopBud+codrder" c41fff>41eo/a>2395242= ass="52a55ef23"mm/p4143t/oa hr452a55>524ment their own versne" but i                        * nepfnhighmla 41eo/a>2395243= ass="52 s="srefnid8 class=5line52 s=>524e_regions - Cfp_ free_bootme                        * valub 5ere.fnopBud+codrder" c41fff>41eo/a>23952"4= ass="52="sr s="srefnid8 class=552="s>524memory on. If MAX_NUMNODES,                         *fnopBud+codrder" c41fff>41eo/a>23952"5= ass="52treturnlass="sr s="srefn52tre>524st PFN that wip_ b" pm kad t                        * Tta WMARK_HIGH-WMARK_LOW a40 (WMARK_LOW-WMARK_MIN)fnopBud+codrder" c41fff>41eo/a>23952"6= ass="52om ki1comment">/* just r52om >5240fp_maskpa4167t/oa hr41x+cod                        * deltas controls asynch 41eo/a>23952"7= ass="520;ordero/a>2532524antees that ap_ ranges regi=                        * notsbemcapppfnpa41highmla.fnopBud+codrder" c41fff>41eo/a>23952"8= ass="52524se means that a zer" whose =                        *ffnopBud+codrder" c41fff>41eo/a>2395249= ass="52 53"""""""""415nt/oa hr452 53>524ass=5line" pgdatne" ---------s25324129OC_N &525r= ass="52 cla"srCONFIG_NODES_SPAN52 cl>525mss=5spa23984129OC_N &5251= ass="52bool8 class=5line" bool>52boo>525t_pfn8 class=5line" zdddddddd2iNlass4t_sglrt_pfn8 cline_pfn-""41" cla"srhigh8 cpc.f ma_52MEMAo/a>/4153t/oa hr52">5>525ass=5line" sglrt_pfnnnnnnnnnns" e<=mss="f">iNmin_iNULLpagzer"8 SWAP_CLUSTER_MAX4t/oa hr41e" clSWAP_CLUSTER_MAX_pfn/spa23984129OC_N &5253= ass="52.c#L256" i23nid8 class=552.c#>525d8 class=5lin"ne" ->sk+coddddddddd2iNSWAP_CLUSTER_MAX4t/oa hr41e" clSWAP_CLUSTER_MAX_pfn3spa23984129OC_N &5254= ass="52a55ef23"mm/p4155t/oa hr452a55>52 4longrass="srline" pgdatne" -s" e<=mss="f">iNmin_4129OC_N &5255= ass="52a__1">/2nid8 class=5line52a__>525 longrass="sr s="srefffffffffffffffff24129OC_N &5256= ass="52="sr s="srefnid8 class=552="s>525cod," cla"srmemmap_ce"ne" -&g<=mss="f">iNlass4t_sglrt_pfn8 cline_pfn-""41" cla"srhigh8 cwaIormark4t_sglrt_pfn8 cwaIormark_pfn[53644129OC_N &5257= ass="52/returnlass="sr s="sreff52/re>525" zer"ne" ->sk+cod} else            "41   >4128>TIF_M52 8= ass="52ass="sr s="sreftrue8 cla52ass>525ot;Initifpising map nng map n6 that ap_ ranges regi/*fnopBud+codrder" c41fff>41eo/a>2395259= ass="52525() setk the high water mark                         * If it's a low ,e line, c.f rve a number of 41eo/a>239526r= ass="52)5364526r_pfns that ap_ ranges regi=                        * proporTIon1Io ton/oa zass's "ize.fnopBud+codrder" c41fff>41eo/a>2395261= ass="52a55ef23"mm/p4162t/oa hr452a55>526t_pfns that ap_ ranges regi=========================*ffnopBud+codrder" c41fff>41eo/a>2395262= ass="52mment">/**6">/28lass="sr52mme>526ass=5line" sglrt_pfnnnnnnnnnn<=mss="f">iNlass4t_sglrt_pfn8 cline_pfn-""41" cla"srhigh8 cwaIormark4t_sglrt_pfn8 cwaIormark_pfn[53644129OC_N &5263= ass="52mment"> * free_bootmem_w52mme>526d8 class=5lin"ne" -&g}spa23984129OC_N &5264= ass="52mment"> * @nid: The na"s52mme>526lass="kmem>/* r_41epa>415 cerred5265= ass="52mment"> * @max_low_pfn: 52mme>526 longrass="sr s="sref<=mss="f">iNlass4t_sglrt_pfn8 cline_pfn-""41" cla"srhigh8 cwaIormark4t_sglrt_pfn8 cwaIormark_pfn[5364iNtmp_pfn8 class=5litmp="km ""41""41n2/3spa23984129OC_N &5266= ass="52mment"> *6">/28lass="sre52mme>526cod," cla"srmemmap_ceeiNULLpagzer"8 lass4t_sglrt_pfn8 cline_pfn-""41" cla"srhigh8 cwaIormark4t_sglrt_pfn8 cwaIormark_pfn[5364iNtmp_pfn8 class=5litmp="km ""41""41n1/3spa23984129OC_N &5267= ass="52mment"> * If t marchitec52mme>5267e mespa23984129OC_N &5268= ass="522ordero/a>5DESmm52ordero522or>526ot;Initifpising map n644129OC_N &5269= ass="52+cod," cla"srzer"8 class52+co>526ass=5line" pgdatne" -2)53644129OC_N &527r= ass="52/returnl-sk+cod," cla"sr52/re>527ULLpagzer"_id}spa23984129OC_N &5271= ass="52a55ef23"mm/p4072t/oa hr452a55>5271it haoooooooooo40es >40e4cerred5272= ass="52"sref">orderiss="srsgpag52"sr>527ass=5line" sg2k the high w hr41x+coa4 upd>Ta totalc.f rve_41eo/a>2395273= ass="52tsk+cod," cla"srinit_wai52tsk>5273t;Initifpisi" cla"srhigh8 cfalculaIo_totalc.f rve_4129OC_N &52/4= ass="52a55ef23"mm/p4075t/oa hr452a55>5274long}spa23984129OC_N &5275= ass="520;ordero/a>2532527st PFspa23984129OC_N &5276= ass="525270fp_maskpa4167t/oa hr41x+co/**fnopBud+codrder" c41fff>41eo/a>2395277= ass="52n575342527antees that ap_ ranges regi=* "etup_per_lass=wmark3 - c1eoednw5en min_fre>4kbyto31chan>osfnopBud+codrder" c41fff>41eo/a>2395278= ass="52">order__meminit8 class=52">o>527se means that a zer" whose s* ornw5en mlass=sis hot-{added|rlasved}fnopBud+codrder" c41fff>41eo/a>2395279= ass="52">52MEMAo/a>/408nt/oa hr52">5>527() setk the high water mark *fnopBud+codrder" c41fff>41eo/a>239528r= ass="52om ki1comment">/*6">/28l52om >528f) setk the high water mark * Ensures ttata/oa waIormark[min,low,high] valubsnpa41each1zass are "etfnopBud+codrder" c41fff>41eo/a>2395281= ass="52mment">         * per cp52mme>528t_pfns that ap_ ranges regi * forrectly with respectstonmin_fre>4kbyto3.fnopBud+codrder" c41fff>41eo/a>2395282= ass="52mment">         * relies52mme>52oment their own versne" but e*ffnopBud+codrder" c41fff>41eo/a>2395283= ass="52mment">         * offset52mme>528e_regss="sr s="srefsetup_"etup_per_lass=wmark34t/oa hr41e" cl"etup_per_lass=wmark3"srefss="/aoooooooooo40es >40e4cerred52o4= ass="52mment">         */6">/2852mme>5284long           "41   >4128>TIF_M52o5= ass="52a__1">/2zer"8 class=5lin52a__>528 longrass="sr" cla"srhigh8 cmutex_loek4t/oa hr41e" clmutex_loek"srefa>)53644129OC_N &52o6= ass="52n5753425286longrass="sr" cla"srhigh8 c__"etup_per_lass=wmark34t/oa hr41e" cl__"etup_per_lass=wmark3"sref/3spa23984129OC_N &52o7= ass="52s/spa__1">/2zer"8 class=52s/s>5287longrass="sr" cla"srhigh8 cmutex_un9OCk4t/oa hr41e" clmutex_un9OCk"srefa>)53644129OC_N &52o8= ass="52ask+cod," cla"srprintk8 52ask>528se me}spa23984129OC_N &52o9= ass="52 ef23"mm/mmes/spa__1">/252 ef>5289it haoooooooooo40es >40e4cerred529r= ass="52ffffffffffffffffffffffff52fff>529f) setk the high water mark/*fnopBud+codrder" c41fff>41eo/a>2395291= ass="52529t_pfns that ap_ ranges regi * Tta inacTIve anon lIsT should ba sm1eo enough ttata/oa VM neves has 5ofnopBud+codrder" c41fff>41eo/a>2395292= ass="52a55ef23"mm/p4093t/oa hr452a55>529ment their own versne" but e* do 5oonmuch1work, but large enough ttataeach1inacTIve 41eo/a>2395293= ass="52 i23__meminit8 class=5li52 i2>529e_regions - Cfp_ free_bootme* to b5 c.fer1xced again b5pa4a itsis swapppfnouo.fnopBud+codrder" c41fff>41eo/a>2395294= ass="52tttttttttttttttttttttttt52ttt>529memory on. If MAX_NUMNODES, *fnopBud+codrder" c41fff>41eo/a>2395295= ass="52t_Mnop_pattttttttttttttt52t_M>529st PFN that wip_ b" pm kad t* Tta inacTIve_anon r>TIo1i31/oa target r>TIo1of ACTIVE_ANON 5ofnopBud+codrder" c41fff>41eo/a>2395296= ass="52rrrrrrrrrrrrrrrrrrrrrrrr52rrr>5290fp_maskpa4167t/oa hr41x+cod4 INACTIVE_ANON 41eo/a>2395297= ass="52">52MEMAo/a>/4098t/oa hr52">5>529antees that ap_ ranges regi=* fff>ouo "mm/. A1zass-""41inacTIve_r>TIo1of 3 mlans 3:1 orn25% ofLLopBud+codrder" c41fff>41eo/a>2395298= ass="52ss="f">iNULLpagpglist_da52ss=>529se means that a zer" whose s* /oa anonymous 41eo/a>2395299= ass="52.c#L256" i23ret8 class=552.c#>529() setk the high water mark *fnopBud+codrder" c41fff>41eo/a>23953pr= ass="53pr= 256" i23ret8 class=553pr=>530f) setk the high water mark * total     target     ax"sopBud+codrder" c41fff>41eo/a>23953p1= ass="53pa55ef23"mm/p4092t/oa hr53pa5>530t_pfns that ap_ ranges regi * mlass=ssssr>TIo11111inacTIve anon"sopBud+codrder" c41fff>41eo/a>23953p2= ass="53p55ef23"mm/p4093t/oa hr453p55>530ment their own versne" but e* -------------------------------------"sopBud+codrder" c41fff>41eo/a>23953p3= ass="53pi23__meminit8 class=5li53pi2>530e_regions - Cfp_ free_bootme*   10MBass="sr1gdatne" -5MB"sopBud+codrder" c41fff>41eo/a>23953p4= ass="53pttttttttttttttttttttttt53ptt>530memory on. If MAX_NUMNODES, *  100MBass="sr1gdatne" 50MB"sopBud+codrder" c41fff>41eo/a>23953p5= ass="53p_Mnop_pattttttttttttttt53p_M>530st PFN that wip_ b" pm kad t*    1GBass="sr3ass="sr250MB"sopBud+codrder" c41fff>41eo/a>23953p6= ass="53prrrrrrrrrrrrrrrrrrrrrrr53prr>5300fp_maskpa4167t/oa hr41x+cod4   10GBass="s10ass="sr0.9GB"sopBud+codrder" c41fff>41eo/a>23953p7= ass="53p>52MEMAo/a>/4098t/oa hr53p>5>530antees that ap_ ranges regi=*  100GBass="s31gdatne" -3GB"sopBud+codrder" c41fff>41eo/a>23953p8= ass="53ps="f">iNULLpagpglist_da53ps=>530se means that a zer" whose s* ="s1TBss="s101gdatne" 10GB"sopBud+codrder" c41fff>41eo/a>23953p9= ass="53pc#L256" i23ret8 class=553pc#>530() setk the high water mark * " 10TBss="s320datne" -32GB"sopBud+codrder" c41fff>41eo/a>239531r= ass="53fffffffff(unsignad long)53fff>531f) setk the high water mark *ffnopBud+codrder" c41fff>41eo/a>2395311= ass="53fffffffffass="sr s="sref53fff>53ft_pfnit>TIF_ss="sr s="srefsetup___mlar_cpu_pa 5set8 class=mlar_cplongr" cla"srhigh8 cfalculaIo_lass=inacTIve_r>TIo4t/oa hr41e" clcalculaIo_lass=inacTIve_r>TIo"srefstruc53240e4cerred5312= ass="53a55ef23"mm/p4113t/oa hr453a55>531ass=5           "41   >4128>TIF_M5313= ass="53 s="srefzer"_init_free_l53 s=>5313ss=5line" sgsglrt_pfns2532TIo4t/oa hr41e" clr>TIo"sre3spa23984129OC_N &5314= ass="53a55ef23"mm/p4115t/oa hr453a55>531lass="kmem>/* r_41epa>415 cerred5315= ass="530;ordero/a>2532531 longrass="sr"k the high w hr41x+coa4 Zass "ize inngigabyto31*ffnopBud+codrder" c41fff>41eo/a>2395316= ass="535316longrass="sr" cla"srhigh8 cgb4t_sglrt_pfn8 cgb_pfnld,<=mss="f">iNlass4t_sglrt_pfn8 cline_pfn-""41" cla"srhigh8 cpc.f ma_iNPAGE_SHIFT4t/oa hr41e" clPAGE_SHIFT"sre/3spa23984129OC_N &53f7= ass="53n5753425317longrass="srs" e<=mss="f">iNgb4t_sglrt_pfn8 cgb_pfn/aoooooooooo40es >40e4cerred5318= ass="53 cla"srCONFIG_HAVE_MEMBL53 cl>531ot;Initifpising map n64TIo4t/oa hr41e" clr>TIo"sre8= >iNULLpagzer"8 ima_sqrpu_pa 5set8 clasima_sqrp"sref10a*,<=mss="f">iNgb4t_sglrt_pfn8 cgb_pfn/3spa23984129OC_N &53f9= ass="53" cla"srCONFIG_HAVE_ARCH53" c>531ass=5line" pgelsespa23984129OC_N &532r= ass="53mment">/*6">/28lass="sre53mme>532ULLpagzer"_idx8 class64TIo4t/oa hr41e" clr>TIo"sre8= 13spa23984129OC_N &5321= ass="53mment"> * Requirad by SP53mme>5321it haoooooooooo40es >40e4cerred53m2= ass="53mment"> * Architectures 53mme>532ass=5line" sg2TIo4t/oa hr41e" clinacTIve_r>TIo"sreld,<=mss="f">iNc>TIo4t/oa hr41e" clr>TIo"sre3spa23984129OC_N &5323= ass="53mment"> * was used and t53mme>5323ss=5}spa23984129OC_N &5324= ass="53mment"> * alternativane>53mme>532lass="kmem>/* r_41epa>415 cerred5325= ass="53mment"> */6">/28lass="sr53mme>532 longit>TIF_ss="sr s="srefsetup___mlar_cpu_pa 5set8 class=mlar_cplongr" cla"srhigh8 c"etup_per_lass=inacTIve_r>TIo4t/oa hr41e" cl"etup_per_lass=inacTIve_r>TIo"srefss="/aoooooooooo40es >40e4cerred5326= ass="53 i23__meminit8 class=5li53 i2>532a23"8           "41   >4128>TIF_M5327= ass="53">52MEMAo/a>/4128t/oa hr53">5>5327od," cla"srmstruc5324129OC_N &5328= ass="53d longrass="sr s="srefsg53d l>532se mespa23984129OC_N &5329= ass="53.c#L256" i23iss="srsgpag53.c#>532ass=5line" pg24129OC_N &533r= ass="53a55ef23"mm/p4131t/oa hr453a55>533ULLpagzer"_idx8 class" cla"srhigh8 cfalculaIo_lass=inacTIve_r>TIo4t/oa hr41e" clcalculaIo_lass=inacTIve_r>TIo"sref24129OC_N &53a1= ass="53 s="sreffor_each_mem_pfn53 s=>533t_pfn}spa23984129OC_N &5332= ass="53/.cemass="sr s="srefsglr53/.c>5332ass="kmem>/* r_41epa>415 cerred5333= ass="53ted_efdroreturnlass="sr 53ted>533e_regions - Cfp_ free_bootm/*fnopBud+codrder" c41fff>41eo/a>23953a4= ass="53om ki1comment">/* This i53om >533memory on. If MAX_NUMNODES, * I_cpialisenmin_fre>4kbyto3.fnopBud+codrder" c41fff>41eo/a>23953a5= ass="53-1>ordero/a>2532>533st PFN that wip_ b" pm kad t*fnopBud+codrder" c41fff>41eo/a>23953a6= ass="535330fp_maskpa4167t/oa hr41x+cod4 For sm1eo machines wa wa253it sm1eo (128knmin).  For large machinesfnopBud+codrder" c41fff>41eo/a>23953a7= ass="53m ki1comment">/* CONFIG_53m k>533antees that ap_ ranges regi=* wa wa253it large (64MB  ax).  But itsis notst">/ar, becausennetworkfnopBud+codrder" c41fff>41eo/a>23953a8= ass="53a55ef23"mm/p4139t/oa hr453a55>533se means that a zer" whose s* bandwidth does notsincreasest">/arly with machine "ize.  We usefnopBud+codrder" c41fff>41eo/a>23953a9= ass="53 i23__meminit8 class=5li53 i2>533() setk the high water mark *fnopBud+codrder" c41fff>41eo/a>239534r= ass="53">52MEMAo/a>/4141t/oa hr53">5>534f) setk the high water mark *      min_fre>4kbyto31= 4=* "qrp(low ,eakbyto3),npa41betIor accuracy:fnopBud+codrder" c41fff>41eo/a>2395341= ass="53.c#L256" i23nid8 class=553.c#>534t_pfns that ap_ ranges regi=*      min_fre>4kbyto31= "qrp(low ,eakbyto3=* 16)fnopBud+codrder" c41fff>41eo/a>2395342= ass="53a55ef23"mm/p4143t/oa hr453a55>534ment their own versne" but i*fnopBud+codrder" c41fff>41eo/a>2395343= ass="53 s="srefnid8 class=5line53 s=>534e_regions - Cfp_ free_bootme*nwhich yieldsfnopBud+codrder" c41fff>41eo/a>23953"4= ass="53="sr s="srefnid8 class=553="s>534memory on. If MAX_NUMNODES, *fnopBud+codrder" c41fff>41eo/a>2395345= ass="53treturnlass="sr s="srefn53tre>534st PFN that wip_ b" pm kad t* 16MB:x8 class512kfnopBud+codrder" c41fff>41eo/a>23953"6= ass="53om ki1comment">/* just r53om >5340fp_maskpa4167t/oa hr41x+cod* 32MB:x8 class724kfnopBud+codrder" c41fff>41eo/a>23953"7= ass="530;ordero/a>2532534antees that ap_ ranges regi=* 64MB:x8 class1024kfnopBud+codrder" c41fff>41eo/a>23953"8= ass="53534se means that a zer" whose =*,128MB:x8 clas1448kfnopBud+codrder" c41fff>41eo/a>23953"9= ass="53 53"""""""""415nt/oa hr453 53>534() setk the high water mark * 256MB:x8 clas2048kfnopBud+codrder" c41fff>41eo/a>239535r= ass="53 cla"srCONFIG_NODES_SPAN53 cl>535f) setk the high water mark * 512MB:x8 clas2896kfnopBud+codrder" c41fff>41eo/a>2395351= ass="53bool8 class=5line" bool>53boo>535t_pfns that ap_ ranges regi=* 1024MB:x8 cla4096kfnopBud+codrder" c41fff>41eo/a>2395352= ass="53">52MEMAo/a>/4153t/oa hr53">5>535ment their own versne" but e* 2048MB:x8 cla5792kfnopBud+codrder" c41fff>41eo/a>2395353= ass="53.c#L256" i23nid8 class=553.c#>535e_regions - Cfp_ free_bootme*n4096MB:x8 cla8192kfnopBud+codrder" c41fff>41eo/a>2395354= ass="53a55ef23"mm/p4155t/oa hr453a55>535memory on. If MAX_NUMNODES, * 8192MB:x8 cla11584kfnopBud+codrder" c41fff>41eo/a>2395355= ass="53a__1">/2nid8 class=5line53a__>535st PFN that wip_ b" pm kad t* 16384MB:x8 cl16384kfnopBud+codrder" c41fff>41eo/a>2395356= ass="53="sr s="srefnid8 class=553="s>5350fp_maskpa4167t/oa hr41x+cod4ffnopBud+codrder" c41fff>41eo/a>2395357= ass="53/returnlass="sr s="sreff53/re>535" zers253240e4cerred53 8= ass="53ass="sr s="sreftrue8 cla53ass>535se me           "41   >4128>TIF_M5359= ass="53535ass=5line" pgsglrt_pfno/a>)>iNULLpagzer"8 low ,eakbyto3_pfn8 class=5lilow ,eakbyto3_pfn"spa23984129OC_N &536r= ass="53)5364536mss=5spa23984129OC_N &5361= ass="53a55ef23"mm/p4162t/oa hr453a55>536t_pfn8 class=>iNULLpagzer"8 low ,eakbyto3_pfn8 class=5lilow ,eakbyto3_pfnld,<=mss="f">iNnr_fre>4buffer_4buffer_4129OC_N &5362= ass="53mment">/**6">/28lass="sr53mme>5362ass="kmem>/* r_41epa>415 cerred5363= ass="53mment"> * free_bootmem_w53mme>5363t;Initifpisi" cla"srhigh8 cmin_fre>4kbyto3_pfn8 class=5li in_fre>4kbyto3"sre = >iNULLpagzer"8 ima_sqrpu_pa 5set8 clasima_sqrp"sref>iNULLpagzer"8 low ,eakbyto3_pfn8 class=5lilow ,eakbyto3_pfnl* 16)3spa23984129OC_N &5364= ass="53mment"> * @nid: The na"s53mme>5364longrass="srs" e<=mss="f">iNmin_fre>4kbyto3_pfn8 class=5li in_fre>4kbyto3"sre "l41n128/spa23984129OC_N &5365= ass="53mment"> * @max_low_pfn: 53mme>536 longrass="sr s="sref<=mss="f">iNmin_fre>4kbyto3_pfn8 class=5li in_fre>4kbyto3"sre = 1283spa23984129OC_N &5366= ass="53mment"> *6">/28lass="sre53mme>536cod," cla"srms" e<=mss="f">iNmin_fre>4kbyto3_pfn8 class=5li in_fre>4kbyto3"sre ""41n65536/spa23984129OC_N &5367= ass="53mment"> * If t marchitec53mme>536" zer"ne" ->sk+cod" cla"srhigh8 cmin_fre>4kbyto3_pfn8 class=5li in_fre>4kbyto3"sre = 655363spa23984129OC_N &5368= ass="532ordero/a>5DESmm52ordero532or>536ot;Initifpisi" cla"srhigh8 c"etup_per_lass=wmark34t/oa hr41e" cl"etup_per_lass=wmark3"sref)3spa23984129OC_N &5369= ass="53+cod," cla"srzer"8 class53+co>536ass=5line" pg2T_thresholds4t/oa hr41e" clr3"resh_zass_it>T_thresholds"sref)3spa23984129OC_N &537r= ass="53/returnl-sk+cod," cla"sr53/re>537ULLpagzer"_id" cla"srhigh8 c"etup_per_lass=low ,eac.f rve4t/oa hr41e" cl"etup_per_lass=low ,eac.f rve"sref)3spa23984129OC_N &5371= ass="53a55ef23"mm/p4072t/oa hr453a55>537t_pfn8 class=>iNULLpagzer"8 "etup_per_lass=inacTIve_r>TIo4t/oa hr41e" cl"etup_per_lass=inacTIve_r>TIo"sref)3spa23984129OC_N &5372= ass="53"sref">orderiss="srsgpag53"sr>537ass=5line" sgrsref)3spa23984129OC_N &n//            "41   >4128>TIF_M524r= ass=etk the high water mark * " 1b3"sreet_pfn8 cline_pfn-""41" cla"srhignf)3spe>53mme>532lass="kmem>/* r_41epa>41129OC_N &5375= ass="520;ordero/a>2533orn4t/oa hr41e" clr odul">orn416)3spa2398536" zer"ne" ->sk+cod" c29OC_N &5236= ass="525270fp_maskpa4167t/oa hr413+co/**fnop3ud+codrder" c41fff>41eo/a32395237= ass="52n575342535" zers25324kbyto31chan>osfnopBud+c2ordero/a>5DESm_="km]3shandler - just a wrttttr around>239c_do3_pvec10/so eff53/re>535" zers253241eo/a>>>>>>39529w5DESmeff53/re>535" zers253241eo/a>3395283= ass="52om ki1comment">/*6">/>>>>>>o4= ass=eff53/re>535" zers2532535" zers25324k3yto3.f41age>4129OC_N &525r= aero/a>5DESm_="km]3shandler &5368= ass="532ordero/a>5DESm_="km]3shandler16)3spa23984129OC_N &5371=m]3stabl>29OC_N &5328= ass="53tabl>4129OC_N &5371=tabl>29OC,oa hr41e" clr>TIo"srwrit>4129OC_N &5371=writ>29OC,oe>535" zers253241eo/a32395238>4128>TIF_M52gh8 c"etup_per_lass=inuser &5368= ass="53inuser29OC_N &5328= ass="53ZE="km &5368= ass="53ZE="km4129OC_N &5314= ass="mini_4t/oa hr41e" clrmini_429OC_N &5328= ass="53length64= ass="53mmentength4129OC_N &5314= ass="loff_4t/oa hr41e" clrloff_429OC_N &5328= ass="53ppo_SHIFT4t/oa hr41epo_e8 cme>536" zer"ne" ->sk+cod" c_"etup_per3lass=wmark34t/oa hr41e" c3"etup3per_laa5>535ass=5line" pgsglrt_pfno/128>TIF_M53o5= ass="52a__1">/2zer"8 3lass=384 cl"etup_per_lass=inacTIve_239c_do3_pvecSHIFT4t/oa hr41e"9c_do3_pvec16)3spa23984129OC_N &5371=tabl>29OC,o41e" clr>TIo"srwrit>4129OC_N &5371=writ>29OC,o &5328= ass="53ZE="km &5368= ass="53ZE="km4129OC_N &5314= ass="length64= ass="53mmentength4129OC_N &5314= ass="ppo_SHIFT4t/oa hr41epo_e8 cmetk the high water mark * " 1bh8 cmutex_3oek4t/oa hr41e" clmutex_l3ek"sr3fa>)53644129OC_N &5371=writ>29OCme>536" zer"ne" ->sk+cod" c_co/**fnop3_per_lass=wmark34t/oa hr43e" cl38"pin_9OCk_irqsave"srefa>)53644129OC_N &5369= ass="53+cod," cla"srzer"8 class53+co>536ass=5line" pg2)5364/252 ef>5289it haoooooooooo40es >43e4cerred523r= ass="52fffffffffffffff3fffff3ff52fff>529f) setk the high water 3ark/*fnopB3d+codrder" c41fff>41eo/a>3395293= ass=#ifdefefa>)5364529f) setk the high water 3agi * forr3nacTIve anon lIsT should 3a sm139to3.f41age>4129OC_N &525="km]3sm_pfn-mttttt="srsg_="km]3shandler &5368= ass="53="km]3sm_pfn-mttttt="srsg_="km]3shandler16)3spa23984129OC_N &5371=m]3stabl>29OC_N &5328= ass="53tabl>4129OC_N &5371=tabl>29OC,oa hr41e" clr>TIo"srwrit>4129OC_N &5371=writ>29OC,f>529f) setk the high water 3a984128>TIF_M52gh8 c"etup_per_lass=inuser &5368= ass="53inuser29OC_N &5328= ass="53ZE="km &5368= ass="53ZE="km4129OC_N &5314= ass="mini_4t/oa hr41e" clrmini_429OC_N &5328= ass="53length64= ass="53mmentength4129OC_N &5314= ass="loff_4t/oa hr41e" clrloff_429OC_N &5328= ass="53ppo_SHIFT4t/oa hr41epo_e8 cme>536" zer"ne" ->sk+cod" cotme* to b3 c.fer1xced again b5pa4a 3tsis 39er_laa5>535ass=5line" pgsglrt_pfno/ES, *fnopB3d+codrder" c41fff>41eo/a>33952938 cline_pfn8*2ss4t_sglrt_pfn8 cline_pfn"spa23984129OC_N &5328= ass="53d longrass="sr s="srefsg53d l>532se mespa239841ad t* Tta 3nacTIve_anon r>TIo1i31/oa3targe3a 534t/oa hr41a hr41e" clr>TIo"srrcSHIFT4t/oa hr41rcg53d l>532se mespa239841aco/**fnop3IVE_ANON 5>519" zer"ne" ->sk+coddd3egi=* fff>3uo "mm/. A1zass-""41inacT3ve_r>39srefa>)53644129OC9c_do3_pvecsm_pma= ass="52ask+codOC9c_do3_pvecsm_pma=16)3spa23984129OC_N &5371=tabl>29OC,o41e" clr>TIo"srwrit>4129OC_N &5371=writ>29OC,o &5328= ass="53ZE="km &5368= ass="53ZE="km4129OC_N &5314= ass="length64= ass="53mmentength4129OC_N &5314= ass="ppo_SHIFT4t/oa hr41epo_e8 cmetk the high water mark+coddd3e29OC_N &53nonymous 536" zer"ne" ->sk+cod" co4cerred523d+codrder" c41fff>41eo/a>33953p3kmld,<=mss="f">iNjp4r= ass41e" clr>TIo"srrcSHIFT4t/oa hr41rcg53d l>532se mespa239844ark * tota4     target     ax"sopBud4codrd40453a55>536t_pfn8 class=>iNULLpagz4egi * mlas4=ssssr>TIo11111inacTIve a4on"so40" cl"etup_per_lass=inacTIve_sglrt_pfn8 cline_pfn/spa23984129OC_N &533r= ass="53a55ef23"mm/p4131t/oa hr453a55>533ULLpagzer"_idx8 class" 4ut e* ----4-------------------------4-----40pfn-""41" cla"srhigh8 &533r= ass="53a55ef23"mm/p4131t/oa hr453ad,<=mss="f">iNc>Tm_pfn-mttttt=E_SIZE4t/oa hr41e" cm_pfn-mttttt=E_SIZg53d239N &533r= ass="53a55ef23"mm/p4131t/oa hr453a41""41nf30 -,<=mss="f">iNPAGE_SHIFT4t/oa hr41e" clPAGE_SHIFT"sr*5>533ULLpagzer"_idx8 class" 4u3 e* ----4-c.fer1xced again b5pa4a 4ud+co45liidx="km--3spa23984129OC_N &52p4= ass="52="km]3sm_pfn-mttttt="srsg &5368= ass="53="km]3sm_pfn-mttttt="srsg453a5a hr5=etk the high water mark * " 14ES, *  1004Bass="sr1gdatne" 50MB"sop4ud+co40 cline_pfn8*24r= ass=etk the high water mark * " 14ad t*    14Bass="sr3ass="sr250MB"sop4ud+co4rder" ef>5289it haoooooooooo40es >44+cod4   104Bass="s10ass="sr0.9GB"sop4ud+co40r51">5>519" zer"ne" ->sk+coddd4egi=*  1004Bass="s31gdatne" -3GB"sop4ud+co40srhigh8 cr_cp_per_lass=w="km]3sm_pfslab="srsg_="km]3shandler &5368= ass="53="km]3sm_pfslab="srsg_="km]3shandler16)3spa23984129OC_N &5371=m]3stabl>29OC_N &5328= ass="53tabl>4129OC_N &5371=tabl>29OC,oa hr41e" clr>TIo"srwrit>4129OC_N &5371=writ>29OC,f>529f) setk the high water 4se s* ="s14Bss="s101gdatne" 10GB"sop4ud+co4 hr41e" cllowegh8 c"etup_per_lass=inuser &5368= ass="53inuser29OC_N &5328= ass="53ZE="km &5368= ass="53ZE="km4129OC_N &5314= ass="mini_4t/oa hr41e" clrmini_429OC_N &5328= ass="53length64= ass="53mmentength4129OC_N &5314= ass="loff_4t/oa hr41e" clrloff_429OC_N &5328= ass="53ppo_SHIFT4t/oa hr41epo_e8 cme>536" zer"ne" ->sk+cod" 4ark * " 104Bss="s320datne" -32GB"sop4ud+co4rder" a5>535ass=5line" pgsglrt_pfno4ark *ffnop4ud+codrder" c41fff>41eo/a4239534low ,eac.f rvess4t_sglrt_pfn8 cline_pfn"spa23984129OC_N &5328= ass="53d longrass="sr s="srefsg53d l>532se mespa239844efsetup___4lar_cpu_pa 5set8 class=ml4r_cpl4/oa hr41e" clpa hr41e" clr>TIo"srrcSHIFT4t/oa hr41rcg53d l>532se mespa239844128>TIF_M5413= ass="53 s="srefzer"_i4it_fr41w53mme>5363t;Initifpisi" cla"srhi4532iNULLpagzer"8 ircSHIFT4t/oa hr41rcg53d23984129OC9c_do3_pvecsm_pma= ass="52ask+codOC9c_do3_pvecsm_pma=16)3spa23984129OC_N &5371=tabl>29OC,o41e" clr>TIo"srwrit>4129OC_N &5371=writ>29OC,o &5328= ass="53ZE="km &5368= ass="53ZE="km4129OC_N &5314= ass="length64= ass="53mmentength4129OC_N &5314= ass="ppo_SHIFT4t/oa hr41epo_e8 cmetk the high water mark+coddd45 cerred5345= ass="530;ordero/a>25324a 53"41e>4kbyto3"sre "l41n128/spa2398536" zer"ne" ->sk+cod" 4 w hr41x+c4a4 Zass "ize inngigabyto34*ffno41n_fre>4kbyto3"sre = 14r= ass41e" clr>TIo"srrcSHIFT4t/oa hr41rcg53d l>532se mespa239844h8 cgb4t_s4lrt_pfn8 cgb_pfnld,<=m4s="f"41r51">5>519" zer"ne" ->sk+coddd4s="f">iNgb4t_sglrt_pfn8 cgb_pfn/aooo4ooooo4" clcalculaIo_totalc.f rve_4129OC_N &533r= ass="53a55ef23"mm/p4131t/oa hr453a55>533ULLpagzer"_idx8 class" 4a55ef23"mm4pc>TIo4t/oa hr41e" clr>TI4"sre84 >iNULLpagzer"8 ima_sqrpu_pa 5set8 cla55ef23"mm/p4131t/oa hr453ad,<=mss="f">iNc>Tm_pfslab=E_SIZE4t/oa hr41e" cm_pfslab=E_SIZg53d239N &533r= ass="53a55ef23"mm/p4131t/oa hr453a41""41nf30 -,<=mss="f">iNPAGE_SHIFT4t/oa hr41e" clPAGE_SHIFT"sr*5>533ULLpagzer"_idx8 class" 44129OC_N &532r= ass="53mme4t">/*41" clmin_TIo4t/oa hr41e" clr>TI4"sre84 13spa2398 * Archi4ectur42lr53/.c>5332ass="kmem>/* r_41epa>44""""lass4t4sglrt_pfn8 cline_pfn-""414 cla"4rhigh8#endifc>5332ass="kmem>/* r_41epa>44"32 * alte4nativ4ne>53mc>5332ass="kmem>/* r_41epa>44" cerred5345= ass="53mment"> */6">/24lass=421fff>41eo/a>2395355= ass="5oaeff53/re>535" zers253241eo/a>2395356= ass="53=""mm/p4072t/oa ="srsg_="km]3shandler - just a wrttttr aroundeff53/re>535" zers253252MEMAo/a>/4428t/o42der" c41fff>41eo/a>23953p7= ass====239c_do3_pvec10/so 39529w534ment their own versne" 453""""""""4zass4t_sglrt_pfn8 cline_p4n8*2<42der" c41fff>41eo/a>23953p8= assssss   * offc="km]3s"mm/p4072t/oa ="srsg>o4= ass=eff53/re>535" zers253241eo/aeff53/re>535" zers25324h_zass4t_sglrt_pfn8 cfor_4ach_z42 ass="52om ki1comment">/*6">/>+cod="52)5365298= abviouslyminit8bsolutelymnod="l"52a5ss="53/oa hr52">5>529antees that ap_ ranges 4la"srhigh84cfalculaIo_lass=inacTIve_4>TIo443fff>41eo/a>2395351= ass="53booper_mum" c41fff>4s.>+cod>239526="52)5365298= 55n3onlymmak* pens=5li53 i2>533() setk the high water 4129OC_N &5432= ass="53/.cemass="sr s4"sref43fff>41eo/a>2395352= ass="53">5 "lin func52a5 assL256boot timef23"meminis=eff53/re>535" zers2532         * offset52mme>528e_regss="sr s="srefsetu4otm/*fnopB4d+codrder" c41fff>41eo/a>43953a4= ass=a hr41e" clr>TIo"sr"mm/p4072t/oa ="srsg_="km]3shandlert/oa hr41e" clrlom/p4072t/oa ="srsg_="km]3shandler16)3spa23984129OC_N &5371=m]3stabl>29OC_N &5328= ass="53tabl>4129OC_N &5371=tabl>29OC,oa hr41e" clr>TIo"srwrit>4129OC_N &5371=writ>29OC,f>529f) setk the high water 4ES, * I_cp4alisenmin_fre>4kbyto3.fno4Bud+c4"srhigh8 ctmp_gh8 c"etup_per_lass=inuser &5368= ass="53inuser29OC_N &5328= ass="53ZE="km &5368= ass="53ZE="km4129OC_N &5314= ass="mini_4t/oa hr41e" clrmini_429OC_N &5328= ass="53length64= ass="53mmentength4129OC_N &5314= ass="loff_4t/oa hr41e" clrloff_429OC_N &5328= ass="53ppo_SHIFT4t/oa hr41epo_e8 cme>536" zer"ne" ->sk+cod" 4ad t*fnopB4d+codrder" c41fff>41eo/a>43953a4= ass=a5>535ass=5line" pgsglrt_pfno4+cod4 For 4m1eo machines wa wa253it 4m1eo 43Nlass4t_sglrt_pfn8 cline_pfnOC9c_do3_pvecsm_pma= ass="52ask+codOC9c_do3_pvecsm_pma=16)3spa23984129OC_N &5371=tabl>29OC,o41e" clr>TIo"srwrit>4129OC_N &5371=writ>29OC,o &5328= ass="53ZE="km &5368= ass="53ZE="km4129OC_N &5314= ass="length64= ass="53mmentength4129OC_N &5314= ass="ppo_SHIFT4t/oa hr41epo_e8 cmetk the high water mark+coddd4egi=* wa w4253it large (64MB  ax).  4ut it43 clcalculaIo_totalc.f rve_4129OC_N &5371= ass="53a55ef23"mm/p4072t/oa hr453a55>537t_pfn8 class=>iNULLpagz4se s* band4idth does notsincreasest"4/arly43>iNULLpagzer"4r= ass=etk the high water mark * " 14ark *fnopB4d+codrder" c41fff>41eo/a>4395344= ass=.c>5332ass="kmem>/* r_41epa>44ark *     4min_fre>4kbyto31= 4=* "qr4(low 44453a55>536t_pfn8 class=>iNULLpagz4egi=*     4min_fre>4kbyto31= "qrp(lo4 ,eak4yto3=* 16)fnopBud+codrder" coaeff53/re>535" zers253241eo/a>4395344= ass="53 s="srefnid8 class=5l 53acpuGE_SH cla_frac52a5 ->o4= asssL256pcp41""452812mment">       a5 t"> eff53/re>535" zers253241eo/a>23953"4= ass="53="sr s="scpu.  It>2395296frac52a5 assL3pa55E_SHIlin t">       39529a>52M 53ascpu E_SH claeff53/re>535" zers253241eo/a>4395344= ass="53treturnlass="sr s="sr 55n3ha536b"52ttttttgets flush/409ack1fff>uddy 53"""ator=eff53/re>535" zers253241eo/a>23953"6= ass="53om fset52mme>528e_regss="sr s="srefsetu4+cod* 32MB4x8 class724kfnopBud+codrd4r" c444r51">5>519" zer"ne" ->sk+coddd4egi=* 64MB4x8 class1024kfnopBud+codr4er" c44srhigh8 cr_cp_per_lass=w53acpuGE_SH cla_frac52a5_="km]3shandlert/oa hr41e" clr53acpuGE_SH cla_frac52a5_="km]3shandler16)3spa23984129OC_N &5371=m]3stabl>29OC_N &5328= ass="53tabl>4129OC_N &5371=tabl>29OC,oa hr41e" clr>TIo"srwrit>4129OC_N &5371=writ>29OC,f>529f) setk the high water 4se =*,128M4:x8 clas1448kfnopBud+codr4er" c44hr41e" cllowegh8 c"etup_per_lass=inuser &5368= ass="53inuser29OC_N &5328= ass="53ZE="km &5368= ass="53ZE="km4129OC_N &5314= ass="mini_4t/oa hr41e" clrmini_429OC_N &5328= ass="53length64= ass="53mmentength4129OC_N &5314= ass="loff_4t/oa hr41e" clrloff_429OC_N &5328= ass="53ppo_SHIFT4t/oa hr41epo_e8 cme>536" zer"ne" ->sk+cod" 4ark * 256M4:x8 clas2048kfnopBud+codr4er" c44der" a5>535ass=5line" pgsglrt_pfno4ark * 512M4:x8 clas2896kfnopBud+codr4er" c45ow ,eac.f rvess4t_sglrt_pfn8 cline_pfn"spa23984129OC_N &5328= ass="53d longrass="sr s="srefsg53d l>532se mespa239844egi=* 10244B:x8 cla4096kfnopBud+codr4er" c4lmin_TIo4t/oa hr41e" clr>TIo"srcpu4129OC_N &5371=mpug53d l>532se mespa239844et i*fnopB4B:x8 cla5792kfnopBud+codr4er" c4e" clmin_TIo"srre4t/oa hr41e" clrretg53d l>532se mespa239844etm/*fnopB4B:x8 cla8192kfnopBud+codr4er" c45e>53mc>5332ass="kmem>/* r_41epa>44ES, * 81924B:x8 cla11584kfnopBud+cod4der" 454 cl"etup_per_lass=inacTIve_re4t/oa hr41e" clrretg53d23984129OC9c_do3_pvecsm_pma= ass="52ask+codOC9c_do3_pvecsm_pma=16)3spa23984129OC_N &5371=tabl>29OC,o41e" clr>TIo"srwrit>4129OC_N &5371=writ>29OC,o &5328= ass="53ZE="km &5368= ass="53ZE="km4129OC_N &5314= ass="length64= ass="53mmentength4129OC_N &5314= ass="ppo_SHIFT4t/oa hr41epo_e8 cmetk the high water mark+coddd4ad t* 16384MB:x8 cl16384kfnopBud+cod4der" 4hr41e" clmin_< "l4!41e" clr>TIo"srwrit>4129OC_N &5371=writ>29OC ||l41n128/spa2398536" zer"ne" ->sk+cod" 4+cod4ffnop4ud+codrder" c41fff>41eo/a4239534_pfn-""41" cla"srhigh84r= ass41e" clr>TIo"srre4t/oa hr41e" clrretg53d l>532se mespa239844egi=* 64MB4pa 5set8 class=mlar_cplon4r" cl45 clcalculaIo_totalc.f rve_525ot;Initifpising map nng4128>TIF_M5459= ass="5341eo/a>23952totalc.f rve__cpu4129OC_N &5371=sglrt_pfnpossibl>_cpu16)3spa2398525ot;Initifpising map nng41rk * 256M4gzer"8 low ,eakbyto3_pfn84class45" clmin_532se mespa23984429OC_N &5341= ass="53a55ef23"mm/p4164t/oa 46oa hr41e" clcalculaIo/a>23952totalc.f rve_iNPAGE_SHIFT4t/oa hr41e" clPAGE_SHIFT"sr/cr_cp_per_lass=w53acpuGE_SH cla_frac52a5t/oa hr41e" clr53acpuGE_SH cla_frac52a5g53d l>532se mespa2398442gi=* 10244kbyto3_pfn8 class=5lilow 4eakby4o3_pfnld,<=alculaIo/a>23952totalc.f rve_ * free_4ootme46pfn-""41" cla"srhigh8alculaIo/a>23952totalc.f rve_4kbyto3_pfn8 class=5li i4_fre>46liidx="km--3spa23985332ass="kmem>/* r_41epa>44s="f">iNmi4_fre>4kbyto3_pfn8 class=54i in_4re>4kbyto3"sre.c>5332ass="kmem>/* r_41epa>44sd t* 16384Nmin_fre>4kbyto3_pfn8 cla4s=5li4in_fre>4kbyto34r= ass=etk the high water mark * " 14s="f">iNmi4_fre>4kbyto3_pfn8 class=54i in_4re>4kb.c>5332ass="kmem>/* r_41epa>44sgi=* 64MB4cmin_fre>4kbyto3_pfn8 cla4s=5li4ro522or>526ot;Initifpising map n644h8 c"etup_4er_lass=wmark34t/oa hr41e4 cl"e4up_pera hr41e" clr>TIo"srhashdcla4129OC_N &5371=5ashdclag53df ma_)5364529f) setk the high water 4r"8 "etup_4er_lass=inacTIve_r>TIo4t/4a hr447gr" cla"srhih8 cr_cp_per_lass=wmamin4t/oa hr41e" clr_c"etup_per_lass=inacTIve_r>T_hashdcla4129OC_N &5371=r>T_hashdcla9OC_Nchar_N &5328= ass="53strt/oa hr41e" clrstr9OC_me>536" zer"ne" ->sk+cod" 43984129OC_N &n//          4 "41 47_l53 s=>5313ss=5line" sgsglrt_pfns43"sreet_pf48 cline_pfn-""41" cla"srh4gnf)34" clcalculaIo_ "l4!41e" clr>TIo"srstrt/oa hr41e" clrstr9OC_me>536" zer"ne" ->sk+cod" 43="f">iNmi475= ass="520;ordero/a>2534)5364strt/oa hr41e" clrstr9OC_, 3mme>5362ass="kmem>/* r_41epa>44+co/**fnop4ud+codrder" c41fff>41eo/a423952476_fre>4kbyto34r= assmme>5321it haoooooooooo40es >44egi=* "etu4_per_lass=wmark3 - c1eoed4w5en 4in_fre.c>5332ass="kmem>/* r_41epa>44e8 c"etup_4en mlass=sis hot-{added|r4asved4fnopBud_cp_per_lass=wma ass=t/oa hr41e" clr_c ass=9OC_N o/a>23953"6=string">"5ashdcla="set52mmOC_N &5314= ass="m>T_hashdcla4129OC_N &5371=r>T_hashdcla9OC_mme>5362ass="kmem>/* r_41epa>44+rk * 256M4d+codrder" c41fff>41eo/a>4395284= ass=#endifc>5332ass="kmem>/* r_41epa>44ark * Ensu4es ttata/oa waIormark[min4low,h48453a55>536t_pfn8 class=>iNULLpagz4egi * forr4ctly with respectstonmin_4re>4k4yto3.fnopBud+codrder" c41fffoaeff53/re>535" zers253241eo/a42395243= ass="52mment">         * of 53"""ate arder" csystemminih tabl> from6bootmemeff53/re>535" zers253223953"4= ass="53="sr s="s-53a8= a asum"sp"52a55ef2inih tabl> must coAo/a> 53"exac5 power-of-2eff53/re>535" zers2532iNmi4o5= ass="52a__1">/2zer"8 4lass=48der" c41fff>41eo/a>23953p5= ass quantity ass53priSmeff53/re>535" zers253241eo/a>2395356= ass="53="- limit>2395296number assinih buckets,1fff>5296=3pa5553"""at2a5 minieff53/re>535" zers2532 clm4129OC_N &5371=tabl> clm29OC,f>529f) setk the high water 4129OC_N &54o9= ass="52 ef23"mm/mmes/4pa__148" c41fff>41eo/a>23952222222222222222222222o3_pfn"spa23984129Obucketsini &5368= ass="53ZEcketsini29OC,f>529f) setk the high water 41rk * 256M4r= ass="52fffffffffffffff4fffff48" clmin_4129Onum53priSm &5368= ass="53num53priSm29OC,f>529f) setk the high water 4ark/*fnopB4d+codrder" c41fff>41eo/a>43952949oa hr41e" clcalculaIo/a>239522222222222222h8 cr_cp_per_lass=w=cal>4129OC_N &5371==cal>29OC,f>529f) setk the high water 4agi * forr4nacTIve anon lIsT should 4a sm1493_pfnld,<=alculaIo/a>239522222222222222h8 cr_cp_per_lass=wflagm &5368= ass="53flagm29OC,f>529f) setk the high water 4a982395222222o3_pfn"sph8 cN &5328= ass="53mhash_shif4t/oa hr41e" clr_hash_shif429OC,f>529f) setk the high water 4a"sreet_pf4 c.fer1xced again b5pa4a 4tsis 49liidx="km--3spa23984129OC_N22222o3_pfn"sph8 cN &5328= ass="53mhash_mas cWMARK_HIGH="kmmhash_mas 29OC,f>529f) setk the high water 4a="f">iNmi4d+codrder" c41fff>41eo/a>439529494iidx="km--3spa23984129OC_N22222o3_pfn"spa23984129OC_N_limitt/oa hr41e" clrloN_limit29OC,f>529f) setk the high water 4a8 cmutex_4nacTIve_anon r>TIo1i31/oa4targe4a 534t/oa hr41pa23984129OC_N22222o3_pfn"spa23984129O5281_limitt/oa hr41e" clr5281_limit9OC_me>536" zer"ne" ->sk+cod" 4aco/**fnop4IVE_ANON 5>5327od," cla"srmstruc5324uo "mm/. A1zass-""41inacT4ve_r>49srefa>)53644129Oma= ass="52ask+codma=16)3f ma_5362ass="kmem>/* r_41epa>44e29OC_N &54nonymous 4129OC_g2qtyt/oa hr41e" clrlog2qty4129OC_N &5314= ass="minit/oa hr41e" clrmini9OC_me>5362ass="kmem>/* r_41epa>44erk * 256M4d+codrder" c41fff>41eo/a>43953p4kmld,<=mss=gh8 cN &5328= ass="53tabl>4129OC_N &5371=tabl>29OCf ma_5362ass="kmem>/* r_41epa>45ark * tota5     target     ax"sopBud5codrd50453a55>536t_pfn8 class=>iNULLpagz5egi * mlas5=ssssr>TIo11111inacTIve a5on"so50" cl"etup_per_1fff>41eo/a>2395316= ass>iNUw>5296kernel cmd11111fffha536a say"sreff53/re>535" zers2532TIo"srnum53priSm &5368= ass="53num53priSm29OC5ass>525ot;Initifpising map nng5u3 e* ----5-c.fer1xced again b5pa4a 5ud+co55liidx="km--3spa239841eo/a>2395316= assround>applicabl> memory535" zers253241eo/a>5ud+co504iidx="km--3spa2398TIo"srnum53priSm &5368= ass="53num53priSm29OC5362ass="kmem>/* r_41epa>45a5 e* ----5-acTIve_anon r>TIo1i31/oa5ud+co50n_fre>4kbyto3"sre = 1283spa23984129OC_N &53f7= ass="53n5753425321it haoooooooooo40es >45+cod4   105Bass="s10ass="sr0.9GB"sop5ud+co50"pin_9OCk_irqsave"srefa>)53644129OC_N &53f7= ass="53n5753425321it haoooooooooo40es >45+7od4   105Bo "mm/. A1zass-""41inacT5ud+co50n_fre>4kbyto3"sre = 655363spa23984129OC_N &53f7= ass="53n5753425321it haoooooooooo40es >45+8od4   105Bonymous 532ass=5line" pg241eo/a>2395316= asslimit>fff1 bucket 53as2^=cal> /p4143ofd>23 memory535" zers253241eo/a52395351oa hr41e" clcalculaIo "l41n128/spa23984129OC_N &5371==cal>29OCarchit1age>4129OC_N &53f7= ass="53n575342535" zers253223952totalc.f rve_4129OC_N &5371==cal>29OCa 41age>4129OC_N &53f7= ass="53n5753425317longrass="srs" e<=m5128>TIF_M5513= ass="53 s="srefzer"_i5it_fr51pfn-""41" cla"srhigh853mme>532ULLpagzer"_idx8 class6455324129OCass="53n5753424129OC_N &=cal>4129OC_N &5371==cal>29OCn57>5317longrass="srs" e<=m514 e* ----55= ass="530;ordero/a>25325a 53"51r53mme>532 longit>TIF_ss="sr s="s5 w hr41x+c5a4 Zass "ize inngigabyto35*ffno51n_fre>4kbyto3"sre = 1_1fff>41eo/a>2395316= assMak* pure we'536got at least a 0-ordtr a3"""at2a5..535" zers2532525ot;Initifpising map nng5s="f">iNgb5t_sglrt_pfn8 cgb_pfn/aooo5ooooo51n_fre>4kbyto3"sre = 6"sre = 1_1fff>41eo/a>2395316= assMak*41ff pens=ss="5out HASH_EARLY535" zers2532TIo4t/oa hr41e" clr>TI5"sre85 >iNULLpagzer"8 ima_sq  41age>55363spa23985317longrass="srs" e<=m51rk * " 105129OC_N &532r= ass="53mme5t">/*51" clmin_525ot;Initifpising map nng5a55ef23"mm5pc>TIo4t/oa hr41e" clr>TI5"sre852oa hr41e" clcalculaIo/a>239522222222241e" clr>TIo"srnum53priSm &5368= ass="53num53priSm29OC5317longrass="srs" e<=m5e4cerred5352= ass="53mment"> * Archi5ectur523_pfnld,<=alculaIo/a>2395222222222 &5328= ass="53BUG_ON4129OC_N &5371=BUG_ON9OC_N!41e" clr>TIo"srnum53priSm &5368= ass="53num53priSm29OC557>5317longrass="srs" e<=m5e28>TIF_M55sglrt_pfn8 cline_pfn-""415 cla"52pfn-""41" cla"srhigh8alculaIo.c>5332ass="kmem>/* r_41epa>45"32 * alte5nativ52liidx="km--3spa23984129Obucketsini &5368= ass="53ZEcketsini29OC)2pfn: a23984129OC_N &5362= ass="53mment">/**6">/)me>536" zer"ne" ->sk+cod" 5" cerred5355= ass="53mment"> */6">/25lass=524iidx="km--3spa239841e" clr>TIo"srnum53priSm &5368= ass="53num53priSm29OC/**6">/2/cr_cp_per_lass=wbucketsini &5368= ass="53ZEcketsini29OC57>5317longrass="srs" e<=m5ew hr41x+c5lar_cpu_pa 5set8 class=ml5r_cpl52n_fre>4kbyto3.c>5332ass="kmem>/* r_41epa>45"cod4   10527= ass="53">52MEMAo/a>/4528t/o52Nlass4t_sglrt_pfn8 cline_pfnnum53priSm &5368= ass="53num53priSm29OC5317longrass="srs" e<=m5e="f">iNgb5zass4t_sglrt_pfn8 cline_p5n8*2<52o522or>526ot;Initifpising map n64529OC_N &5359= ass="53.c#L256" i23iss5"srsg52p_per_lass=wma1fff>41eo/a>2395316= asslimit>53"""at2a5 mini>fff1/166=3pa55memory535" zers25325h_zass4t_sglrt_pfn8 cfor_5ach_z52" clmin_525ot;Initifpising map nng5la"srhigh85cfalculaIo_lass=inacTIve_5>TIo453oa hr41e" clcalculaIo4129Oma= ass="52ask+codma=16)3f m((o3_pfn"spa2398a239)53"sref/t* f24129OC_N &53f7= ass="53n5753424129OC_N &do_div"53n5753425317longrass="srs" e<=m5128>TIF_M553= ass="53ted_efdroreturn5ass="532_fre>4kbyto3.c>5332ass="kmem>/* r_41epa>45otm/*fnopB5d+codrder" c41fff>41eo/a>53953a53byto3"sre = >iNULLpagzer"8 ima= ass="52ask+codma=16)3f ma_4kbyto3.fno5Bud+c53r53mme>532 longit>TIF_ss="sr s="s5ad t*fnopB5d+codrder" c41fff>41eo/a>53953a53a>)53644129OC_N_limitt/oa hr41e" clrloN_limit29OCme>536" zer"ne" ->sk+cod" 5+cod4 For 5m1eo machines wa wa253it 5m1eo 53"pin_9OCk_irqsave"srefa>)53645317longrass="srs" e<=m51="f">iNgb5253it large (64MB  ax).  5ut it53 clcalculaIo_ ""41n65536/spa2398num53priSm &5368= ass="53num53priSm29OC<8chit1age>4129OC_N &ma= ass="52ask+codma=16)3me>536" zer"ne" ->sk+cod" 5+9OC_N &535idth does notsincreasest"5/arly53" c41fff>41eo/a>23952totalc.f rve_5317longrass="srs" e<=m51a  41age>5d+codrder" c41fff>41eo/a>53953453f52fff>529f) setk the high water 5ark *     5min_fre>4kbyto31= 4=* "qr5(low 54" cl"etup_per_lass=low ,eac.C_g2qtyt/oa hr41e" clrlog2qty4129 low ,eakbyto3_pfn8log2t/oa hr41e" clr8log29OC_N &533r= ass="53num53priSm &5368= ass="53num53priSm29OC557>5317longrass="srs" e<=m5egi=*     5min_fre>4kbyto31= "qrp(lo5 ,eak5yto3=*7>5317longrass="srs" e<=m5e28>TIF_M55d+codrder" c41fff>41eo/a>539534542_fre>4kbyto3do ss>525ot;Initifpising map nng5utm/*fnopB5 yieldsfnopBud+codrder" c51fff>54liidx="km--3spa23984129OC_N &C_g2qtyt/oa hr41e" clrlog2qty412957>5317longrass="srs" e<=m5e cerred535d+codrder" c41fff>41eo/a>539534544iidx="km--3spa23985317longrass="srs" e<=m5ed t*fnopB5x8 class512kfnopBud+codrd5r" c454 534t/oa hr41pa2398 &5328= ass="53tabl>4129OC_N &5371=tabl>29OCf ma_5317longrass="srs" e<=m5ecod4 For 5x8 class724kfnopBud+codrd5r" c454"pin_9OCk_irqsave"sre53mme "l41n128/spa23985317longrass="srs" e<=m5e="f">iNgb5x8 class1024kfnopBud+codr5er" c54n_fre>4kbyto3"sre = 6"sre = 1_&5328= ass="53tabl>4129OC_N &5371=tabl>29OCf ma_5317longrass="srs" e<=m5e9OC_N &535:x8 clas1448kfnopBud+codr5er" c54" c41fff>41eo/a>2395253mmess>525ot;Initifpising map nng5ua  41age>5:x8 clas2048kfnopBud+codr5er" c54" clmin_535" zers253241eo/a>2395351= ass="53bbbbbbbbbbbbbbbbbbbbbbbbb* If ZEcketsini>239fff>a power-of-two,9w535" zers253241eo/a>2395352= ass="53"bbbbbbbbbbbbbbbbbbbbbbbb* some5E_SHIl2a55ef2end assinih tabl> whi> eff53/re>535" zers2532         * obbbbbbbbbbbbbbbbbbbbbbbb* 53"""_E_SHI_exac5() autom"srh53"y3doSmeff53/re>535" zers253223953"4= ass="53="sr s=bbbbbbbbbbbbbbbbbbbbbbbb*reff53/re>535" zers25324129OMAX_ORDERt/oa hr41e" clrMAX_ORDER29OC5ass>525ot;Initifpising map nng5ad t* 16385MB:x8 cl16384kfnopBud+cod5der" 55 534t/oa hr41pa23984129OC_N &5328= ass="53tabl>4129OC_N &5371=tabl>29OCf ma_5317longrass="srs" e<=m5+cod4ffnop5ud+codrder" c41fff>41eo/a5239535_pfn-""41" cla"srhigh8  41age>4129OC_N &5328= ass="53kmemleak_s" e&t/oa hr41e" clrkmemleak_s" e&9OC_N &533r= ass="53tabl>4129OC_N &5371=tabl>29OC,o41e" clr>TIo"srminit/oa hr41e" clrmini9OC_,o1,o &5328= ass="53GFP_ATOMICt/oa hr41e" clrGFP_ATOMIC9OC_557>5317longrass="srs" e<=m5+="f">iNgb5pa 5set8 class=mlar_cplon5r" cl55n_fre>4kbyto3"sre = 6"sre = 1.c>5332ass="kmem>/* r_41epa>45128>TIF_M5559= ass="5341eo/a>23952.c>5332ass="kmem>/* r_41epa>451a  41age>5gzer"8 low ,eakbyto3_pfn85class55" clmin_ N!41e" clr>TIo"srtabl>4129OC_N &5371=tabl>29OCfn/3spn/3spma_4129OC_N &53f7= _N &5362= ass="53mment">/**6">/2n/3spn/3spm--1age>4129OC_N &C_g2qtyt/oa hr41e" clrlog2qty4129557>5317longrass="srs" e<=m529OC_N &5351= ass="53a55ef23"mm/p4165t/oa 56453a55>536t_pfn8 class=>iNULLpagz52gi=* 10245kbyto3_pfn8 class=5lilow 5eakby5o3_pfnld,<= "l4!41e" clr>TIo"srtabl>4129OC_N &5371=tabl>29OCn7>5317longrass="srs" e<=m52t i*fnopB53= ass="53mment"> * free_5ootme56pfn-""41" cla"srhigh841e" clr>TIo"sr53/icSHIFT4t/oa hr4153/ic9OC_N o/a>23953"6=string">"Fail>d>fff53"""ate %ssinih tabl>\n"set52mmOC_N &5314= ass="tabl> clm4129OC_N &5371=tabl> clm29OC557>5317longrass="srs" e<=m52tm/*fnopB5>4kbyto3_pfn8 class=5li i5_fre>56e>53mc>5332ass="kmem>/* r_41epa>45s="f">iNmi5_fre>4kbyto3_pfn8 class=55i in_5re>4kbyto3"sre41e" clr>TIo"sr5rint cWMARK_HIGH="km5rint 9OC_N &533r= ass="53KERN_INFOcWMARK_HIGH="kmKERN_INFO>4kby o/a>23953"6=string">"%ssinih tabl>s53priSm: %ld (ordtr: %d, %lu /p414)\n"set52mmOc>5332ass="kmem>/* r_41epa>45sd t* 16385Nmin_fre>4kbyto3_pfn8 cla5s=5li56 534t/oa hr41pa2398<_N &5314= ass="tabl> clm4129OC_N &5371=tabl> clm29OCOc>5332ass="kmem>/* r_41epa>45scod4ffnop5_fre>4kbyto3_pfn8 class=55i in_56pfn-""41" cla"srhigh(1UL2pfn:pfn: 1age>4129OC_N &C_g2qtyt/oa hr41e" clrlog2qty41295Oc>5332ass="kmem>/* r_41epa>45s="f">iNgb5cmin_fre>4kbyto3_pfn8 cla5s=5li56n_fre>4kbyto3"sre = w ,eakbyto3_pfn8log2t/oa hr41e" clr8log29OC_N &533r= ass="53minit/oa hr41e" clrmini9OC_5< 41age>4129OC_N &53f7= ass="53n5753425332ass="kmem>/* r_41epa>45s28>TIF_M55er_lass=wmark34t/oa hr41e5 cl"e56" c41fff>41eo/a>2395 &533r= ass="53minit/oa hr41e" clrmini9OC_557>5317longrass="srs" e<=m52rk * 256M5_zass_it>T_thresholds4t/o5 hr4156f52fff>529f) setk the high water 5h8 c"etup_5er_lass=low ,eac.f rve4t/5a hr4570_pfnld,<= "l4 &5328= ass="53mhash_shif4t/oa hr41e" clr_hash_shif429OCnf>529f) setk the high water 5hgi=* 10245er_lass=inacTIve_r>TIo4t/5a hr4573_pfnld,<=alculaIoN &5328= ass="53mhash_shif4t/oa hr41e" clr_hash_shif429OC< ma_5317longrass="srs" e<=m53984129OC_N &n//          5 "41 57pfn-""41" cla "l4 &5328= ass="53mhash_mas cWMARK_HIGH="kmmhash_mas 29OCnf>529f) setk the high water 5htm/*fnopB58 cline_pfn-""41" cla"srh5gnf)357liidx="km--3spa23985321it haoooooooooo40es >453="f">iNmi575= ass="520;ordero/a>2535532 longit>TIF_ss="sr s="s529OC_N &5256= ass="52)5364TIo"srtabl>4129OC_N &5371=tabl>29OCme>5321it haoooooooooo40es >453cod4ffnop5ud+codrder