diff options
author | Steve Capper <steve.capper@arm.com> | 2018-09-21 16:34:04 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-09-24 17:51:50 +0100 |
commit | 469ed9d823b7d240d6b9574f061ded7c3834c167 (patch) | |
tree | 0573b30be415e0fab582eacac0e86b46acb92150 /kernel/sys_ni.c | |
parent | 6bf4ca7fbc85d80446ac01c0d1d77db4d91a6d84 (diff) | |
download | talos-obmc-linux-469ed9d823b7d240d6b9574f061ded7c3834c167.tar.gz talos-obmc-linux-469ed9d823b7d240d6b9574f061ded7c3834c167.zip |
arm64: hugetlb: Fix handling of young ptes
In the contiguous bit hugetlb break-before-make code we assume that all
hugetlb pages are young.
In fact, remove_migration_pte is able to place an old hugetlb pte so
this assumption is not valid.
This patch fixes the contiguous hugetlb scanning code to preserve young
ptes.
Fixes: d8bdcff28764 ("arm64: hugetlb: Add break-before-make logic for contiguous entries")
Signed-off-by: Steve Capper <steve.capper@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'kernel/sys_ni.c')
0 files changed, 0 insertions, 0 deletions