On Fri, Aug 09, 2019 at 06:01:18PM +0000, Song Liu wrote:> + if (pte_none(*pte) || !pte_present(*pte))> + continue;You don't need to check both. Present is never none.-- Kirill A. Shutemov