lkml.org 
[lkml]   [2022]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] mm/slub: helper macro __ATTR_XX to make code more clear
From
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.

\
 
 \ /
  Last update: 2022-03-07 18:11    [W:0.059 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site