On 4/21/22 15:28, Matthew Wilcox wrote: > On Thu, Apr 21, 2022 at 03:05:31PM -0400, Nico Pache wrote: >> The vma_is_anonymous function isn't fully indicative of what it checks. >> >> Without having full knowledge of the mmap process, one may incorrectly >> assume this covers all types of anonymous memory; which is not the case. > > Is your complaint that anonymous memory can also be found in file VMAs > that were mapped with MAP_PRIVATE? ie COWed pages? I should have been more descriptive in my commit msg about how I came to this conclusion.