diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-05-19 23:08:50 +0200 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-05-19 23:08:50 +0200 |
commit | 6106b93efad1ea14d428558c2e4efc5f76874c23 (patch) | |
tree | bd9d3df34e32b5ccfc61b597e64247bcfb932fe4 /mm/swapfile.c | |
parent | mm/swap: use helper is_swap_pte() in swap_vma_readahead (diff) | |
download | linux-6106b93efad1ea14d428558c2e4efc5f76874c23.tar.xz linux-6106b93efad1ea14d428558c2e4efc5f76874c23.zip |
mm/swap: use helper macro __ATTR_RW
Use helper macro __ATTR_RW to define vma_ra_enabled_attr to make code more
clear. Minor readability improvement.
Link: https://lkml.kernel.org/r/20220509131416.17553-3-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: NeilBrown <neilb@suse.de>
Cc: Peter Xu <peterx@redhat.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions