lkml.org 
[lkml]   [2021]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] mm: shmem: implement POSIX_FADV_[WILL|DONT]NEED for shmem
From
Date


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

\
 
 \ /
  Last update: 2021-12-03 14:02    [W:0.071 / U:3.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site