Commit 7cc57ec
mm: remove references to folio in split_page_memcg()
We know that the passed in page is not part of a folio (it's a plain page
allocated with GFP_ACCOUNT), so we should get rid of the misleading
references to folios.
Introduce page_objcg() and page_set_objcg() helpers to make things more
clear.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Acked-by: Shakeel Butt <[email protected]>
Acked-by: Roman Gushchin <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Zi Yan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>1 parent 1506c25 commit 7cc57ec
1 file changed
+23
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2677 | 2677 | | |
2678 | 2678 | | |
2679 | 2679 | | |
| 2680 | + | |
| 2681 | + | |
| 2682 | + | |
| 2683 | + | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
2680 | 2697 | | |
2681 | 2698 | | |
2682 | 2699 | | |
| |||
2695 | 2712 | | |
2696 | 2713 | | |
2697 | 2714 | | |
2698 | | - | |
2699 | | - | |
| 2715 | + | |
2700 | 2716 | | |
2701 | 2717 | | |
2702 | 2718 | | |
| |||
3069 | 3085 | | |
3070 | 3086 | | |
3071 | 3087 | | |
3072 | | - | |
| 3088 | + | |
3073 | 3089 | | |
3074 | | - | |
| 3090 | + | |
3075 | 3091 | | |
3076 | 3092 | | |
3077 | | - | |
| 3093 | + | |
3078 | 3094 | | |
3079 | 3095 | | |
3080 | 3096 | | |
3081 | | - | |
| 3097 | + | |
3082 | 3098 | | |
3083 | | - | |
| 3099 | + | |
3084 | 3100 | | |
3085 | 3101 | | |
3086 | 3102 | | |
| |||
0 commit comments