• Mel Gorman's avatar
    x86: mm: restore original pte_special check · c819f37e
    Mel Gorman authored
    Commit b38af472 ("x86,mm: fix pte_special versus pte_numa") adjusted
    the pte_special check to take into account that a special pte had
    SPECIAL and neither PRESENT nor PROTNONE.  Now that NUMA hinting PTEs
    are no longer modifying _PAGE_PRESENT it should be safe to restore the
    original pte_special behaviour.
    Signed-off-by: default avatarMel Gorman <mgorman@suse.de>
    Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Dave Jones <davej@redhat.com>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Kirill Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Rik van Riel <riel@redhat.com>
    Cc: Sasha Levin <sasha.levin@oracle.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    c819f37e
pgtable.h 21 KB