diff options
author | Lianjie Zhang <zhanglianjie@uniontech.com> | 2022-03-06 08:38:18 +0100 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2022-03-07 18:08:35 +0100 |
commit | d1d28bd9a0f896c7d2f7147ca631f86c49b16d7f (patch) | |
tree | afeb4745e8f949cb13400331e796b27108e984fd /Documentation | |
parent | mm/slab_common: use helper function is_power_of_2() (diff) | |
download | linux-d1d28bd9a0f896c7d2f7147ca631f86c49b16d7f.tar.xz linux-d1d28bd9a0f896c7d2f7147ca631f86c49b16d7f.zip |
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.
Signed-off-by: Lianjie Zhang <zhanglianjie@uniontech.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Link: https://lore.kernel.org/r/20220306073818.15089-1-zhanglianjie@uniontech.com
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions