Re: [PATCH v4 07/36] arc: Implement the new page table range API

2023-03-15 Thread Mike Rapoport
On Wed, Mar 15, 2023 at 05:14:15AM +, Matthew Wilcox (Oracle) wrote: > Add PFN_PTE_SHIFT, update_mmu_cache_range(), flush_dcache_folio() > and flush_icache_pages(). > > Change the PG_dc_clean flag from being per-page to per-folio (which > means it cannot always be set as we don't know that all

[PATCH v4 07/36] arc: Implement the new page table range API

2023-03-14 Thread Matthew Wilcox (Oracle)
Add PFN_PTE_SHIFT, update_mmu_cache_range(), flush_dcache_folio() and flush_icache_pages(). Change the PG_dc_clean flag from being per-page to per-folio (which means it cannot always be set as we don't know that all pages in this folio were cleaned). Enhance the internal flush routines to take th