On Thu, Mar 02, 2023 at 03:23:46PM +0100, David Hildenbrand wrote: > If no workload/benchmark is affected (or simply corner cases where nobody > cares about performance), I hope you understand that it's hard to argue why > we should care about such an optimization then. In order to solve the mapcount problem, we're going to want to unmap the entire folio in one call, instead of unmapping each page in it individually and checking each time whether there are any remaining pages from this folio still mapped.