]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mm/page_alloc: explicitly define what alloc flags deplete min reserves
authorMel Gorman <mgorman@techsingularity.net>
Fri, 13 Jan 2023 11:12:15 +0000 (11:12 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Nov 2024 15:25:55 +0000 (16:25 +0100)
commitc1b8856c5a7dc7e1cbce0a1242c5f07fdb34d281
tree17ae006eba5a42b25358a5034834065debb9a761
parent17dedfd6de69a2263a2a5b414ad57eaf5176e060
mm/page_alloc: explicitly define what alloc flags deplete min reserves

[ Upstream commit ab3508854353793cd35e348fde89a5c09b2fd8b5 ]

As there are more ALLOC_ flags that affect reserves, define what flags
affect reserves and clarify the effect of each flag.

Link: https://lkml.kernel.org/r/20230113111217.14134-5-mgorman@techsingularity.net
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: NeilBrown <neilb@suse.de>
Cc: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stable-dep-of: 281dd25c1a01 ("mm/page_alloc: let GFP_ATOMIC order-0 allocs access highatomic reserves")
Signed-off-by: Sasha Levin <sashal@kernel.org>
mm/internal.h
mm/page_alloc.c