[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1a88ed3f-ad7d-9d06-108e-e00f06b0ed19@codeaurora.org>
Date: Fri, 3 Dec 2021 18:32:25 +0530
From: Charan Teja Kalla <charante@...eaurora.org>
To: Matthew Wilcox <willy@...radead.org>,
Charan Teja Reddy <quic_charante@...cinc.com>
Cc: hughd@...gle.com, akpm@...ux-foundation.org, vbabka@...e.cz,
rientjes@...gle.com, david@...hat.com, mhocko@...e.com,
surenb@...gle.com, linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] mm: shmem: implement POSIX_FADV_[WILL|DONT]NEED for
shmem
On 12/2/2021 8:29 PM, Matthew Wilcox wrote:
>> + list_add(&page->lru, list);
>> + inc_node_page_state(page, NR_ISOLATED_ANON +
>> + page_is_file_lru(page));
> ... what if the page is a THP?
Will take care of THP pages in the next spin. Thanks for pointing it out.
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora
Forum, a Linux Foundation Collaborative Project
Powered by blists - more mailing lists