[PATCH v3] mm: move mm flags to mm_types.h

2024-09-26 Thread Nanyong Sun
, the inclusion of sched/coredump.h now can be deleted from the C files that irrelevant to core dump. Signed-off-by: Nanyong Sun --- v3: Use more reasonable comment for bit0 & bit1 of mm flag. v2: fix comment for bit0 & bit1 of mm flag after move them to mm_types.h include/linux/h

[PATCH v2] mm: move mm flags to mm_types.h

2024-09-11 Thread Nanyong Sun
, the inclusion of sched/coredump.h now can be deleted from the C files that irrelevant to core dump. Signed-off-by: Nanyong Sun --- v2: fix comment for bit0 & bit1 of mm flag after move them to mm_types.h include/linux/huge_mm.h| 1 - include/linux/khugepaged.h | 2 - include/l

Re: [PATCH] mm: move mm flags to mm_types.h

2024-09-05 Thread Nanyong Sun
On 2024/9/6 3:18, Matthew Wilcox wrote: On Thu, Sep 05, 2024 at 11:26:22PM +0800, Nanyong Sun wrote: +++ b/include/linux/mm_types.h @@ -1485,4 +1485,85 @@ enum { /* See also internal only FOLL flags in mm/internal.h */ }; +/* mm flags */ + +/* for SUID_DUMP_* above */ But

[PATCH] mm: move mm flags to mm_types.h

2024-09-05 Thread Nanyong Sun
, the inclusion of sched/coredump.h now can be deleted from the C files that irrelevant to core dump. Signed-off-by: Nanyong Sun --- include/linux/huge_mm.h| 1 - include/linux/khugepaged.h | 2 - include/linux/ksm.h| 1 - include/linux/mm_types.h | 81