Re: [PATCH 2/3] mm: drop pte_clear_not_present_full()
"Oscar Salvador (SUSE)" <[email protected]> Thu, 11 Jun 2026 15:49:31 +0200
| Newsgroups | org.kernel.vger.sparclinux,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jun 11, 2026 at 01:50:48PM +0200, David Hildenbrand (Arm) wrote: > In general, there is no good reason to do anything special when clearing > non-present PTEs. > > In theory, HW that does have to invalidate TLBs for non-present PTEs could > benefit from a "full" parameter, but fortunately That would be on arches like arm64 where it can cache non-present entries, right? Then, we could signal a global invalidation instead of doing per page. > pte_clear_not_present_full() is not wired up anymore ... and there would > have to be something very convincing for us to care about that to re-add > it. > > So, let's just use pte_clear() directly now. > > Signed-off-by: David Hildenbrand (Arm) <[email protected]> Reviewed-by: Oscar Salvador (SUSE) <[email protected]> -- Oscar Salvador SUSE Labs