Messages in this thread | | | Date | Mon, 7 Mar 2022 18:11:00 +0100 | Subject | Re: [PATCH] mm/slub: helper macro __ATTR_XX to make code more clear | From | Vlastimil Babka <> |
| |
On 3/6/22 23:11, David Rientjes wrote: > On Sun, 6 Mar 2022, Lianjie Zhang wrote: > >> Signed-off-by: Lianjie Zhang <zhanglianjie@uniontech.com> > > And VERIFY_OCTAL_PERMISSIONS() can help validate any future change. > > Acked-by: David Rientjes <rientjes@google.com>
Ok, adding with adjusted subject and non-empty message:
mm/slub: use helper macro __ATTR_XX_MODE for SLAB_ATTR(_RO)
This allows more concise code, and VERIFY_OCTAL_PERMISSIONS() can help validate any future change.
| |