summaryrefslogtreecommitdiff
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2023-04-17 07:59:29 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-04-21 14:52:02 -0700
commit851ae6424697d1c4f085cb878c88168923ebcad1 (patch)
tree7301954bb19740773ca5fa4079cf7688a1c2e6e0 /.get_maintainer.ignore
parent686ea6e61da61e46ae7068f73167ca26e0c67efb (diff)
downloadlwn-851ae6424697d1c4f085cb878c88168923ebcad1.tar.gz
lwn-851ae6424697d1c4f085cb878c88168923ebcad1.zip
migrate_pages_batch: fix statistics for longterm pin retry
In commit fd4a7ac32918 ("mm: migrate: try again if THP split is failed due to page refcnt"), if the THP splitting fails due to page reference count, we will retry to improve migration successful rate. But the failed splitting is counted as migration failure and migration retry, which will cause duplicated failure counting. So, in this patch, this is fixed via undoing the failure counting if we decide to retry. The patch is tested via failure injection. Link: https://lkml.kernel.org/r/20230416235929.1040194-1-ying.huang@intel.com Fixes: fd4a7ac32918 ("mm: migrate: try again if THP split is failed due to page refcnt") Signed-off-by: "Huang, Ying" <ying.huang@intel.com> Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: Alistair Popple <apopple@nvidia.com> Cc: David Hildenbrand <david@redhat.com> Cc: Yang Shi <shy828301@gmail.com> Cc: Zi Yan <ziy@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions