forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commitda41566
mm/page_alloc: fallbacks at most has 3 elements
MIGRAGE_TYPES is used to be the mark of end and there are at most 3elements for the one dimension array.Reduce to 3 to save little memory.Signed-off-by: Wei Yang <richard.weiyang@linux.alibaba.com>Signed-off-by: Andrew Morton <akpm@linux-foundation.org>Reviewed-by: David Hildenbrand <david@redhat.com>Link:http://lkml.kernel.org/r/20200625231022.18784-1-richard.weiyang@linux.alibaba.comSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent9e15afa commitda41566
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2268 | 2268 | | |
2269 | 2269 | | |
2270 | 2270 | | |
2271 | | - | |
| 2271 | + | |
2272 | 2272 | | |
2273 | 2273 | | |
2274 | 2274 | | |
| |||
0 commit comments
Comments
(0)