diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-03-22 22:46:35 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-03-22 23:57:09 +0100 |
commit | 1bad2e5ca00b4c35cd2d62e380ba3aa7ec05b778 (patch) | |
tree | 05d0bf48eb7a4df55043bad8d95e96b0916b7b2e /mm/rmap.c | |
parent | mm/vmstat: add event for ksm swapping in copy (diff) | |
download | linux-1bad2e5ca00b4c35cd2d62e380ba3aa7ec05b778.tar.xz linux-1bad2e5ca00b4c35cd2d62e380ba3aa7ec05b778.zip |
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>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions