[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8ff181dc-b9c3-4416-88c3-58cc26b174b1@redhat.com>
Date: Tue, 2 Sep 2025 15:18:31 +0200
From: David Hildenbrand <david@...hat.com>
To: Chris Li <chrisl@...nel.org>
Cc: Kairui Song <kasong@...cent.com>, linux-mm@...ck.org,
Andrew Morton <akpm@...ux-foundation.org>,
Matthew Wilcox <willy@...radead.org>, Hugh Dickins <hughd@...gle.com>,
Barry Song <baohua@...nel.org>, Baoquan He <bhe@...hat.com>,
Nhat Pham <nphamcs@...il.com>, Kemeng Shi <shikemeng@...weicloud.com>,
Baolin Wang <baolin.wang@...ux.alibaba.com>,
Ying Huang <ying.huang@...ux.alibaba.com>,
Johannes Weiner <hannes@...xchg.org>, Yosry Ahmed <yosryahmed@...gle.com>,
Lorenzo Stoakes <lorenzo.stoakes@...cle.com>, Zi Yan <ziy@...dia.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/9] mm, swap: use unified helper for swap cache look up
On 02.09.25 14:32, Chris Li wrote:
> On Tue, Sep 2, 2025 at 3:07 AM David Hildenbrand <david@...hat.com> wrote:
>>> diff --git a/mm/swap_state.c b/mm/swap_state.c
>>> index 99513b74b5d8..ff9eb761a103 100644
>>> --- a/mm/swap_state.c
>>> +++ b/mm/swap_state.c
>>> @@ -69,6 +69,21 @@ void show_swap_cache_info(void)
>>> printk("Total swap = %lukB\n", K(total_swap_pages));
>>> }
>>>
>>> +/*
>>
>> While at it, proper kerneldoc?
>
> Agree, add the kerneldoc while we are at it. Those are important API
> to interact with the swap table.
>
> BTW, I already submitted a design doc for swap table to Kairui, which
> will show up as the first patch in the V2 series
Nice!
--
Cheers
David / dhildenb
Powered by blists - more mailing lists