]> git.baikalelectronics.ru Git - kernel.git/commit
mm/ksm: use helper macro __ATTR_RW
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 22 Mar 2022 21:46:35 +0000 (14:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2022 22:57:09 +0000 (15:57 -0700)
commitf0629f2a64c35117af6fdabe7eced974d6df4556
tree05d0bf48eb7a4df55043bad8d95e96b0916b7b2e
parent97906f0d5b910d12bcae59b3c3c91b681dd2d330
mm/ksm: use helper macro __ATTR_RW

Use helper macro __ATTR_RW to define KSM_ATTR to make code more clear.
Minor readability improvement.

Link: https://lkml.kernel.org/r/20220221115809.26381-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/ksm.c