memory tier: use helper macro __ATTR_RW()
authorMiaohe Lin <linmiaohe@huawei.com>
Sat, 15 Jul 2023 03:51:11 +0000 (11:51 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Aug 2023 17:12:38 +0000 (10:12 -0700)
commit8d3a7d797c1a18a24f602a7398103ee894c5bc3b
tree53cb0d0c8dccd40a76bd48ceb01868bb586a95f4
parent4ae6944d15727c50ff1c0bb3fe38b9b412520d85
memory tier: use helper macro __ATTR_RW()

Use helper macro __ATTR_RW to define numa demotion attributes.  Minor
readability improvement.

Link: https://lkml.kernel.org/r/20230715035111.2656784-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory-tiers.c