Commit 5b15f3f
slub: Set __GFP_COMP in kmem_cache by default
Now the __GFP_COMP is set only if the higher-order is not 0. However,
__GFP_COMP flag can be set unconditionally because compound page can
not be created in the order-0 case. And this can also simplify the code
a bit (no need to check the order is 0 or not).
Signed-off-by: Haifeng Xu <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>1 parent 5aa5c7b commit 5b15f3f
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5089 | 5089 | | |
5090 | 5090 | | |
5091 | 5091 | | |
5092 | | - | |
5093 | | - | |
5094 | | - | |
| 5092 | + | |
5095 | 5093 | | |
5096 | 5094 | | |
5097 | 5095 | | |
| |||
0 commit comments