Messages in this thread | | | Subject | Re: [PATCH v2] mm: shmem: implement POSIX_FADV_[WILL|DONT]NEED for shmem | From | Charan Teja Kalla <> | Date | Fri, 3 Dec 2021 18:32:25 +0530 |
| |
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
| |