Re: [PATCH v2 2/3] mm: drop pte_clear_not_present_full()
Lance Yang <[email protected]> Tue, 30 Jun 2026 20:38:04 +0800
| Newsgroups | org.kernel.vger.sparclinux,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jun 29, 2026 at 03:49: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 >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. To avoid the compiler >complaining on some configs about unused "addr" parameter, silence that >here. > >Reviewed-by: Oscar Salvador (SUSE) <[email protected]> >Signed-off-by: David Hildenbrand (Arm) <[email protected]> >--- With the sparc64 override gone, pte_clear_not_present_full() is just pte_clear() :) LGTM. Feel free to add: Reviewed-by: Lance Yang <[email protected]>