Commit 8e6a930
mm/page_alloc: rename alloc_mask to alloc_gfp
Patch series "Rationalise __alloc_pages wrappers", v3.
I was poking around the __alloc_pages variants trying to understand why
they each exist, and couldn't really find a good justification for keeping
__alloc_pages and __alloc_pages_nodemask as separate functions. That led
to getting rid of alloc_pages_current() and then I noticed the
documentation was bad, and then I noticed the mempolicy documentation
wasn't included.
Anyway, this is all cleanups & doc fixes.
This patch (of 7):
We have two masks involved -- the nodemask and the gfp mask, so alloc_mask
is an unclear name.
Link: https://lkml.kernel.org/r/20210225150642.2582252-2-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 1587db6 commit 8e6a930
1 file changed
+10
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4966 | 4966 | | |
4967 | 4967 | | |
4968 | 4968 | | |
4969 | | - | |
| 4969 | + | |
4970 | 4970 | | |
4971 | 4971 | | |
4972 | 4972 | | |
| |||
4975 | 4975 | | |
4976 | 4976 | | |
4977 | 4977 | | |
4978 | | - | |
| 4978 | + | |
4979 | 4979 | | |
4980 | 4980 | | |
4981 | 4981 | | |
| |||
5019 | 5019 | | |
5020 | 5020 | | |
5021 | 5021 | | |
5022 | | - | |
| 5022 | + | |
5023 | 5023 | | |
5024 | 5024 | | |
5025 | 5025 | | |
| |||
5032 | 5032 | | |
5033 | 5033 | | |
5034 | 5034 | | |
5035 | | - | |
5036 | | - | |
| 5035 | + | |
| 5036 | + | |
| 5037 | + | |
5037 | 5038 | | |
5038 | 5039 | | |
5039 | 5040 | | |
| |||
5043 | 5044 | | |
5044 | 5045 | | |
5045 | 5046 | | |
5046 | | - | |
| 5047 | + | |
5047 | 5048 | | |
5048 | 5049 | | |
5049 | 5050 | | |
| |||
5053 | 5054 | | |
5054 | 5055 | | |
5055 | 5056 | | |
5056 | | - | |
| 5057 | + | |
5057 | 5058 | | |
5058 | 5059 | | |
5059 | 5060 | | |
| |||
5062 | 5063 | | |
5063 | 5064 | | |
5064 | 5065 | | |
5065 | | - | |
| 5066 | + | |
5066 | 5067 | | |
5067 | 5068 | | |
5068 | 5069 | | |
| |||
5071 | 5072 | | |
5072 | 5073 | | |
5073 | 5074 | | |
5074 | | - | |
| 5075 | + | |
5075 | 5076 | | |
5076 | 5077 | | |
5077 | 5078 | | |
| |||
0 commit comments