Re: [PATCH v6 18/18] arm64/mm: Automatically fold contpte mappings
From: Ryan Roberts <ryan.roberts@arm.com>
Date: 2024-06-25 12:41:09
Also in:
linux-arm-kernel, linux-mm, lkml
From: Ryan Roberts <ryan.roberts@arm.com>
Date: 2024-06-25 12:41:09
Also in:
linux-arm-kernel, linux-mm, lkml
On 25/06/2024 13:37, Baolin Wang wrote: [...]
quoted
quoted
For other filesystems, like ext4, I did not found the logic to determin what size of folio to allocate in writable mmap() pathYes I'd be keen to understand this to. When I was doing contpte, page cache would only allocate large folios for readahead. So that's why I wouldn't haveYou mean non-large folios, right?
No I mean that at the time I wrote contpte, the policy was to allocate an order-0 folio for any writes that missed in the page cache, and allocate large folios only when doing readahead from storage into page cache. The test that is regressing is doing writes.