On Thu, Feb 22, 2024 at 10:01:47PM +0800, Yongqiang Liu wrote:Sorry, I will send v2.
@@ -296,6 +297,9 @@ void __sync_icache_dcache(pte_t pteval)Why are you using PG_foo directly instead of the helpers?
return;
folio = page_folio(pfn_to_page(pfn));
+ if (test_bit(PG_reserved, &folio->flags))
+ return;
if (folio_test_reserved(folio))
.