Thread (16 messages) 16 messages, 2 authors, 2021-05-18

Re: [v2 PATCH 7/7] mm: thp: skip make PMD PROT_NONE if THP migration is not supported

From: Mel Gorman <mgorman@suse.de>
Date: 2021-05-17 15:46:49
Also in: linux-s390, lkml

On Tue, Apr 13, 2021 at 02:24:16PM -0700, Yang Shi wrote:
A quick grep shows x86_64, PowerPC (book3s), ARM64 and S390 support both
NUMA balancing and THP.  But S390 doesn't support THP migration so NUMA
balancing actually can't migrate any misplaced pages.

Skip make PMD PROT_NONE for such case otherwise CPU cycles may be wasted
by pointless NUMA hinting faults on S390.

Signed-off-by: Yang Shi <redacted>
Acked-by: Mel Gorman <mgorman@suse.de>

-- 
Mel Gorman
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help