aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gfp.h
AgeCommit message (Expand)AuthorFilesLines
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2024-03-12Merge tag 'net-next-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-4/+12
2024-03-05net: introduce page_frag_cache_drain()Yunsheng Lin1-0/+1
2024-03-05mm/page_alloc: modify page_frag_alloc_align() to accept align as an argumentYunsheng Lin1-4/+11
2024-03-04mm, vmscan: prevent infinite loop for costly GFP_NOIO | __GFP_RETRY_MAYFAIL a...Vlastimil Babka1-0/+9
2024-02-22mm and cache_info: remove unnecessary CPU cache info updateHuang Ying1-1/+1
2023-10-25mempolicy: alloc_pages_mpol() for NUMA policy without vmaHugh Dickins1-1/+9
2023-10-25mm: tune PCP high automaticallyHuang Ying1-0/+1
2023-10-25mm, pcp: reduce lock contention for draining high-order pagesHuang Ying1-0/+1
2023-06-09mm: page_alloc: move pm_* function into powerKefeng Wang1-11/+4
2023-04-05mm/page_alloc: rename page_alloc_init() to page_alloc_init_cpuhp()Mike Rapoport (IBM)1-1/+1
2023-04-05mm: move most of core MM initialization to mm/mm_init.cMike Rapoport (IBM)1-5/+0
2022-11-30mm: replace VM_WARN_ON to pr_warn if the node is offline with __GFP_THISNODEYang Shi1-2/+16
2022-10-03mm/page_alloc: remove obsolete gfpflags_normal_context()Miaohe Lin1-23/+0
2022-09-11mm: add more BUILD_BUG_ONs to gfp_migratetype()Peter Collingbourne1-0/+3
2022-07-15headers/deps: mm: Split <linux/gfp_types.h> out of <linux/gfp.h>Ingo Molnar1-343/+2
2022-07-15headers/deps: mm: Optimize <linux/gfp.h> header dependenciesIngo Molnar1-3/+0
2022-05-13tracing: incorrect gfp_t conversionVasily Averin1-1/+1
2022-05-13mm: remove alloc_pages_vma()Matthew Wilcox (Oracle)1-11/+7
2022-04-07mm: Add vma_alloc_folio()Matthew Wilcox (Oracle)1-2/+6
2022-04-01mm, kasan: fix __GFP_BITS_SHIFT definition breaking LOCKDEPAndrey Konovalov1-3/+1
2022-03-24kasan, page_alloc: allow skipping memory init for HW_TAGSAndrey Konovalov1-7/+11
2022-03-24kasan, page_alloc: allow skipping unpoisoning for HW_TAGSAndrey Konovalov1-8/+13
2022-03-24kasan, mm: only define ___GFP_SKIP_KASAN_POISON with HW_TAGSAndrey Konovalov1-1/+7
2022-03-24mm: clarify __GFP_ZEROTAGS commentAndrey Konovalov1-2/+4
2022-03-22doc: convert 'subsection' to 'section' in gfp.hNeilBrown1-5/+5
2022-01-15include/linux/gfp.h: further document GFP_DMA32Miles Chen1-1/+3
2022-01-15mm: drop node from alloc_pages_vmaMichal Hocko1-4/+4
2021-12-25mm/page_alloc: fix __alloc_size attribute for alloc_pages_exact_nidThibaut Sautereau1-1/+1
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+6
2021-11-06mm/vmalloc: introduce alloc_pages_bulk_array_mempolicy to accelerate memory a...Chen Wandun1-0/+4
2021-11-06mm/page_alloc: add __alloc_size attributes for better bounds checkingKees Cook1-2/+2
2021-10-18mm/page_alloc: Add folio allocation functionsMatthew Wilcox (Oracle)1-0/+16
2021-10-18mm: Add arch_make_folio_accessible()Matthew Wilcox (Oracle)1-6/+0
2021-06-29Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+11
2021-06-29arch, mm: remove stale mentions of DISCONIGMEMMike Rapoport1-2/+2
2021-06-29mm/page_alloc: add an alloc_pages_bulk_array_node() helperUladzislau Rezki (Sony)1-0/+9
2021-06-04kasan: disable freed user page poisoning with HW tagsPeter Collingbourne1-3/+10
2021-06-04arm64: mte: handle tags zeroing at page allocation timePeter Collingbourne1-2/+7
2021-05-07mm: fix some typos and code style problemsShijie Luo1-1/+1
2021-05-05mm: use proper type for cma_[alloc|release]Minchan Kim1-1/+1
2021-04-30mm/page_alloc: add an array-based interface to the bulk page allocatorMel Gorman1-3/+10
2021-04-30mm/page_alloc: add a bulk page allocatorMel Gorman1-0/+11
2021-04-30mm/mempolicy: rename alloc_pages_current to alloc_pagesMatthew Wilcox (Oracle)1-7/+1
2021-04-30mm/page_alloc: combine __alloc_pages and __alloc_pages_nodemaskMatthew Wilcox (Oracle)1-10/+3
2021-02-26mm,thp,shmem: limit shmem THP alloc gfp_maskRik van Riel1-0/+2
2021-02-24mm/gfp: add kernel-doc for gfp_tMatthew Wilcox (Oracle)1-0/+14
2021-02-06mm: page_frag: Introduce page_frag_alloc_align()Kevin Hao1-2/+10
2020-12-15mm: move free_unref_page to mm/internal.hMatthew Wilcox (Oracle)1-2/+0
2020-10-15Merge tag 'dma-mapping-5.10' of git://git.infradead.org/users/hch/dma-mappingLinus Torvalds1-2/+4
2020-10-13mm: remove unused alloc_page_vma_node()Wei Yang1-2/+0
2020-10-13include/linux/gfp.h: clarify usage of GFP_ATOMIC in !preemptible contextsMichal Hocko1-1/+3
2020-09-25mm: turn alloc_pages into an inline functionChristoph Hellwig1-2/+4
2020-06-03mm: rename gfpflags_to_migratetype to gfp_migratetype for same conventionWei Yang1-1/+1
2020-06-03mm: clarify __GFP_MEMALLOC usageMichal Hocko1-0/+5
2020-04-07mm: make it clear that gfp reclaim modifiers are valid only for sleepable all...Michal Hocko1-0/+2
2020-04-02mm/gup/writeback: add callbacks for inaccessible pagesClaudio Imbrenda1-0/+6
2019-12-01mm/page_alloc: add alloc_contig_pages()Anshuman Khandual1-0/+2
2019-10-28net: fix sk_page_frag() recursion from memory reclaimTejun Heo1-0/+23
2019-09-28Revert "Revert "Revert "mm, thp: consolidate THP gfp handling into alloc_huge...David Rientjes1-4/+8
2019-08-13Revert "Revert "mm, thp: consolidate THP gfp handling into alloc_hugepage_dir...Andrea Arcangeli1-8/+4
2019-05-14hugetlb: allow to free gigantic pages regardless of the configurationAlexandre Ghiti1-1/+1
2019-05-14mm: simplify MEMORY_ISOLATION && COMPACTION || CMA into CONTIG_ALLOCAlexandre Ghiti1-1/+1
2019-03-05mm: shuffle GFP_* flagsAlexey Dobriyan1-15/+15
2018-12-28include/linux/gfp.h: fix typoKyle Spiers1-1/+1
2018-12-08Revert "mm, thp: consolidate THP gfp handling into alloc_hugepage_direct_gfpm...David Rientjes1-4/+8
2018-11-03mm, thp: consolidate THP gfp handling into alloc_hugepage_direct_gfpmaskMichal Hocko1-8/+4
2018-08-23docs/mm: make GFP flags descriptions usable as kernel-docMike Rapoport1-137/+154
2018-06-07include/linux/gfp.h: fix the annotation of GFP_ZONE_TABLEHuaisheng Ye1-2/+2
2018-06-07mm: save two stranded bits in gfp_maskShakeel Butt1-5/+5
2018-05-25mm: do not warn on offline nodes unless the specific node is explicitly reque...Michal Hocko1-1/+1
2017-11-15mm: remove __GFP_COLDMel Gorman1-5/+0
2017-11-15mm: remove cold parameter from free_hot_cold_page*Mel Gorman1-2/+2
2017-11-15kmemcheck: remove whats left of NOTRACK flagsLevin, Alexander (Sasha Levin)1-9/+0
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-13mm: treewide: remove GFP_TEMPORARY allocation flagMichal Hocko1-2/+0
2017-07-12mm, tree wide: replace __GFP_REPEAT by __GFP_RETRY_MAYFAIL with more useful s...Michal Hocko1-13/+43
2017-07-06mm, page_alloc: pass preferred nid instead of zonelist to allocatorVlastimil Babka1-6/+5
2017-06-02include/linux/gfp.h: fix ___GFP_NOLOCKDEP valueMichal Hocko1-1/+1
2017-05-03mm: fix spelling errorHao Lee1-2/+2
2017-05-03mm: introduce memalloc_nofs_{save,restore} APIMichal Hocko1-0/+8
2017-05-03lockdep: allow to disable reclaim lockup detectionMichal Hocko1-1/+9
2017-02-24mm: alloc_contig_range: allow to specify GFP maskLucas Stach1-1/+1
2017-01-10mm: rename __page_frag functions to __page_frag_cache, drop order from drainAlexander Duyck1-2/+1
2017-01-10mm: rename __alloc_page_frag to page_frag_alloc and __free_page_frag to page_...Alexander Duyck1-3/+3
2017-01-10mm: get rid of __GFP_OTHER_NODEMichal Hocko1-10/+3
2016-12-14mm: add support for releasing multiple instances of a pageAlexander Duyck1-0/+2
2016-07-28mm, thp: remove __GFP_NORETRY from khugepaged and madvised allocationsVlastimil Babka1-6/+8
2016-07-26mm: charge/uncharge kmemcg from generic page allocator pathsVladimir Davydov1-9/+1
2016-03-17mm: exclude ZONE_DEVICE from GFP_ZONE_TABLEDan Williams1-13/+20
2016-03-17mm: thp: set THP defrag by default to madvise and add a stall-free defrag optionMel Gorman1-1/+1
2016-03-17mm: remove unnecessary description about a non-exist gfp flagSatoru Takeuchi1-2/+0
2016-03-15mm/compaction: speed up pageblock_pfn_to_page() when zone is contiguousJoonsoo Kim1-6/+0
2016-03-15mm, tracing: unify mm flags handling in tracepoints and printkVlastimil Babka1-1/+1
2016-03-15tools, perf: make gfp_compact_table up to dateVlastimil Babka1-1/+1
2016-03-15mm, tracing: make show_gfp_flags() up to dateVlastimil Babka1-1/+5
2016-02-05mm, hugetlb: don't require CMA for runtime gigantic pagesVlastimil Babka1-3/+3
2016-01-14mm: fix noisy sparse warning in LIBCFS_ALLOC_PRE()Joshua Clayton1-1/+1
2016-01-14mm/zonelist: enumerate zonelists array indexYaowei Bai1-4/+5
2016-01-14memcg: only account kmem allocations marked as __GFP_ACCOUNTVladimir Davydov1-0/+9
2016-01-14Revert "gfp: add __GFP_NOACCOUNT"Vladimir Davydov1-2/+0
2015-11-20mm: fix up sparse warning in gfpflags_allow_blockingJeff Layton1-1/+1
2015-11-06mm: page_alloc: hide some GFP internals and document the bits and flag combin...Mel Gorman1-80/+171
2015-11-06mm, page_alloc: rename __GFP_WAIT to __GFP_RECLAIMMel Gorman1-8/+8
2015-11-06mm: page_alloc: remove GFP_IOFSMel Gorman1-1/+0
2015-11-06mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep...Mel Gorman1-13/+33
2015-11-06mm, page_alloc: use masks and shifts when converting GFP flags to migrate typesMel Gorman1-5/+7
2015-09-08mm: use numa_mem_id() in alloc_pages_node()Vlastimil Babka1-2/+3
2015-09-08mm: unify checks in alloc_pages_node() and __alloc_pages_node()Vlastimil Babka1-5/+5
2015-09-08mm: rename alloc_pages_exact_node() to __alloc_pages_node()Vlastimil Babka1-8/+15
2015-09-08mm: improve __GFP_NORETRY comment based on implementationDavid Rientjes1-1/+4
2015-06-30mm: meminit: finish initialisation of struct pages before basic setupMel Gorman1-0/+8
2015-05-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2015-05-14gfp: add __GFP_NOACCOUNTVladimir Davydov1-0/+2
2015-05-12mm/net: Rename and move page fragment handling from net/ to mm/Alexander Duyck1-0/+5
2015-04-14mm: clarify __GFP_NOFAIL deprecation statusMichal Hocko1-2/+4
2015-04-14mm: remove GFP_THISNODEDavid Rientjes1-10/+0
2015-02-11mm/mempolicy.c: merge alloc_hugepage_vma to alloc_pages_vmaVlastimil Babka1-6/+6
2015-02-11mm/thp: allocate transparent hugepages on local nodeAneesh Kumar K.V1-0/+4
2014-12-13mm, gfp: escalatedly define GFP_HIGHUSER and GFP_HIGHUSER_MOVABLEJianyu Zhan1-5/+2
2014-12-10mm: introduce single zone pcplists drainVlastimil Babka1-2/+2
2014-10-09mm: rename allocflags_to_migratetype for clarityDavid Rientjes1-1/+1
2014-08-06mm/page_alloc.c: add __meminit to alloc_pages_exact_nid()Fabian Frederick1-1/+1
2014-06-04include/linux/gfp.h: exclude duplicate headerAndy Shevchenko1-1/+0
2014-06-04mm: page_alloc: convert hot/cold parameter and immediate callers to boolMel Gorman1-2/+2
2014-06-04mm: get rid of __GFP_KMEMCGVladimir Davydov1-4/+6
2014-03-10mm: fix GFP_THISNODE callers and clarifyJohannes Weiner1-0/+4
2014-01-23mm: dump page when hitting a VM_BUG_ON using VM_BUG_ON_PAGESasha Levin1-0/+1
2013-07-09include/linux/gfp.h: fix the comment for GFP_ZONE_TABLEZhang Yanfei1-1/+1
2012-12-18mm: allocate kernel pages to the right memcgGlauber Costa1-0/+3
2012-12-18mm: add a __GFP_KMEMCG flagGlauber Costa1-0/+2
2012-12-12mm: add a reminder comment for __GFP_BITS_SHIFTAndrew Morton1-0/+1
2012-12-11mm: use IS_ENABLED(CONFIG_NUMA) instead of NUMA_BUILDKirill A. Shutemov1-1/+1
2012-12-10Revert "revert "Revert "mm: remove __GFP_NO_KSWAPD""" and associated damageLinus Torvalds1-5/+8
2012-11-30revert "Revert "mm: remove __GFP_NO_KSWAPD""Andrew Morton1-8/+5
2012-11-26Revert "mm: remove __GFP_NO_KSWAPD"Mel Gorman1-1/+4
2012-10-09make GFP_NOTRACK definition unconditionalGlauber Costa1-4/+0
2012-10-09mm: remove __GFP_NO_KSWAPDRik van Riel1-4/+1
2012-07-31netvm: allow skb allocation to use PFMEMALLOC reservesMel Gorman1-0/+3
2012-07-31mm: introduce __GFP_MEMALLOC to allow access to emergency reservesMel Gorman1-2/+8
2012-05-21mm: page_isolation: MIGRATE_CMA isolation functions addedMichal Nazarewicz1-1/+2
2012-05-21mm: mmzone: MIGRATE_CMA migration type addedMichal Nazarewicz1-0/+3
2012-05-21mm: page_alloc: introduce alloc_contig_range()Michal Nazarewicz1-0/+8
2012-01-10mm: try to distribute dirty pages fairly across zonesJohannes Weiner1-1/+3
2012-01-10mm, debug: test for online nid when allocating on single nodeDavid Rientjes1-1/+1
2012-01-10mm: avoid livelock on !__GFP_FS allocationsMel Gorman1-0/+16
2012-01-10mm: add free_hot_cold_page_list() helperKonstantin Khlebnikov1-0/+1
2011-08-03mm: page_alloc: increase __GFP_BITS_SHIFT to include __GFP_OTHER_NODEJohannes Weiner1-1/+1
2011-05-25include/linux/gfp.h: convert BUG_ON() into VM_BUG_ON()Dave Hansen1-3/+1
2011-05-25include/linux/gfp.h: work around apparent sparse confusionDave Hansen1-6/+1
2011-05-11mm: add alloc_pages_exact_nid()Andi Kleen1-0/+2
2011-03-22mm: add __GFP_OTHER_NODE flagAndi Kleen1-0/+2
2011-03-04mm: add alloc_page_vma_node()Andi Kleen1-0/+2
2011-03-04mm: change alloc_pages_vma to pass down the policy node for local policyAndi Kleen1-4/+5
2011-01-24Remove MAYBE_BUILD_BUG_ONRusty Russell1-1/+1
2011-01-13thp: add numa awareness to hugepage allocationsAndrea Arcangeli1-2/+5
2011-01-13thp: transparent hugepage coreAndrea Arcangeli1-0/+3
2011-01-13thp: _GFP_NO_KSWAPDAndrea Arcangeli1-1/+4
2010-12-06PM / Hibernate: Fix memory corruption related to swapRafael J. Wysocki1-2/+2
2010-10-26mm: fix sparse warnings on GFP_ZONE_TABLE/BADNamhyung Kim1-42/+63
2010-05-25include/linux/gfp.h: fix coding stylematt mooney1-5/+5
2010-05-25include/linux/gfp.h: spelling fixesmatt mooney1-4/+4
2010-03-06mm: add comment about deprecation of __GFP_NOFAILDavid Rientjes1-1/+2
2010-03-06mm/pm: force GFP_NOIO during suspend/hibernation and resumeRafael J. Wysocki1-4/+3
2010-03-06mm: remove free_hot_page()Li Hong1-1/+1
2009-09-23BUILD_BUG_ON(): fix it and a couple of bogus uses of itJan Beulich1-1/+1
2009-09-22oom: move oom_killer_enable()/oom_killer_disable to where they belongAlexey Dobriyan1-12/+0
2009-09-22page-allocator: remove dead function free_cold_page()Mel Gorman1-1/+0
2009-06-18mm: Extend gfp masking to the page allocatorBenjamin Herrenschmidt1-1/+8
2009-06-16Merge branch 'akpm'Linus Torvalds1-31/+119
2009-06-16page-allocator: use integer fields lookup for gfp_zone and check for errors i...Christoph Lameter1-15/+96
2009-06-16mm, PM/Freezer: Disable OOM killer when tasks are frozenRafael J. Wysocki1-0/+12
2009-06-16page allocator: do not check NUMA node ID when the caller knows the node is v...Mel Gorman1-0/+9
2009-06-16page allocator: do not sanity check order in the fast pathMel Gorman1-6/+0
2009-06-16page allocator: replace __alloc_pages_internal() with __alloc_pages_nodemask()Mel Gorman1-10/+2
2009-06-15Merge commit 'linus/master' into HEADVegard Nossum1-0/+3
2009-06-15kmemcheck: add hooks for the page allocatorVegard Nossum1-0/+5
2009-06-15kmemcheck: add mm functionsVegard Nossum1-1/+8
2009-06-12slab,slub: don't enable interrupts during early bootPekka Enberg1-0/+3
2009-03-13numa, cpumask: move numa_node_id default implementation to topology.hRusty Russell1-0/+1
2009-01-06mm: remove GFP_HIGHUSER_PAGECACHEHugh Dickins1-6/+0
2008-07-24mm: add alloc_pages_exact() and free_pages_exact()Timur Tabi1-0/+3
2008-07-24page allocator: inline some __alloc_pages() wrappersKOSAKI Motohiro1-4/+17
2008-04-29mm: fix misleading __GFP_REPEAT related commentsNishanth Aravamudan1-3/+3
2008-04-28mm: fix broken gfp_zone with __GFP_THISNODEKAMEZAWA Hiroyuki1-12/+5
2008-04-28mm: filter based on a nodemask as well as a gfp_maskMel Gorman1-0/+4
2008-04-28mm: use two zonelist that are filtered by GFP maskMel Gorman1-2/+11
2008-04-28mm: introduce node_zonelist() for accessing the zonelist for a GFP maskMel Gorman1-2/+6
2008-04-28Remove set_migrateflags()Christoph Lameter1-6/+0
2008-02-13include/linux: Remove all users of FASTCALL() macroHarvey Harrison1-8/+7
2008-02-05Page allocator: clean up pcp draining functionsChristoph Lameter1-0/+2
2007-10-16Print out statistics in relation to fragmentation avoidance to /proc/pagetype...Mel Gorman1-0/+12
2007-10-16Group short-lived and reclaimable kernel allocationsMel Gorman1-3/+12
2007-10-16Categorize GFP flagsChristoph Lameter1-7/+13
2007-10-16Memoryless nodes: Fix GFP_THISNODE behaviorChristoph Lameter1-5/+12
2007-07-17Create the ZONE_MOVABLE zoneMel Gorman1-0/+3
2007-07-17Add __GFP_MOVABLE for callers to flag allocations from high memory that may b...Mel Gorman1-1/+15
2007-05-09Move remote node draining out of slab allocatorsChristoph Lameter1-5/+1
2007-05-07Slab allocators: remove useless __GFP_NO_GROW flagChristoph Lameter1-2/+1
2007-02-11[PATCH] optional ZONE_DMA: optional ZONE_DMA in the VMChristoph Lameter1-0/+2