]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/swap: comment all the ifdef in swapops.h
authorPeter Xu <peterx@redhat.com>
Thu, 11 Aug 2022 16:13:26 +0000 (12:13 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Aug 2022 05:02:47 +0000 (22:02 -0700)
commit58bf08c9830d7808d231d3c5d5b96e651f869438
tree7d4e055681a99f502f7b4eb14eaf8d1f67111324
parent649e85ff7a37c547ebfc41d7ae5212ea97e2a6f9
mm/swap: comment all the ifdef in swapops.h

swapops.h contains quite a few layers of ifdef, some of the "else" and
"endif" doesn't get proper comment on the macro so it's hard to follow on
what are they referring to.  Add the comments.

Link: https://lkml.kernel.org/r/20220811161331.37055-3-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Suggested-by: Nadav Amit <nadav.amit@gmail.com>
Reviewed-by: Huang Ying <ying.huang@intel.com>
Reviewed-by: Alistair Popple <apopple@nvidia.com>
Cc: Andi Kleen <andi.kleen@intel.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/swapops.h