From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f198.google.com (mail-qk0-f198.google.com [209.85.220.198]) by kanga.kvack.org (Postfix) with ESMTP id 4230C6B000D for ; Mon, 26 Mar 2018 17:59:27 -0400 (EDT) Received: by mail-qk0-f198.google.com with SMTP id 19so13910592qkk.13 for ; Mon, 26 Mar 2018 14:59:27 -0700 (PDT) Received: from shelob.surriel.com (shelob.surriel.com. [96.67.55.147]) by mx.google.com with ESMTPS id c185si5984836qke.132.2018.03.26.14.59.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Mar 2018 14:59:26 -0700 (PDT) Message-ID: <1522101564.6308.61.camel@surriel.com> Subject: Re: [PATCH] sched/numa: Avoid trapping faults and attempting migration of file-backed dirty pages From: Rik van Riel Date: Mon, 26 Mar 2018 17:59:24 -0400 In-Reply-To: <20180326094334.zserdec62gwmmfqf@techsingularity.net> References: <20180326094334.zserdec62gwmmfqf@techsingularity.net> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-lkDaE80EkYbqJxgLlovg" Mime-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman , Andrew Morton Cc: Linux-MM , LKML --=-lkDaE80EkYbqJxgLlovg Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2018-03-26 at 10:43 +0100, Mel Gorman wrote: > change_pte_range is called from task work context to mark PTEs for > receiving > NUMA faulting hints. If the marked pages are dirty then migration may > fail. > Some filesystems cannot migrate dirty pages without blocking so are > skipped > in MIGRATE_ASYNC mode which just wastes CPU. Even when they can, it > can > be a waste of cycles when the pages are shared forcing higher scan > rates. > Signed-off-by: Mel Gorman Reviewed-by: Rik van Riel --=20 All Rights Reversed. --=-lkDaE80EkYbqJxgLlovg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEKR73pCCtJ5Xj3yADznnekoTE3oMFAlq5bTwACgkQznnekoTE 3oO4GQgAska7SC8vKLTmrk/8EU21o2WNzG/XPPoHUtd3VnhdpfURDAM+vfX7NTko axrtXsTPil7o8VIS1Ycu/bHASOBIQjOMpNXAOJ66AaEK68w19lgPgvpuSzwWvvqw ajJtBmIuuDJW/DftIhf2IoC52oi7iMRN0aLTmYV6JBH5PH81HpQKMTPL7VmQQ9qx EiYtlHr8r2AugK0qzH86XCGQ804TMvyof3rvNGwzxKkCta2ZYY9Q9EnkFTIFDFct dq8xjGOHwsqle60tP5dRKV9vDs42KRHwC1NsL0YFZzKMl/TS3c9Qvbq4VykZoNqe LCQlkn7MbsE/exnLrRtbHBU+izxblw== =5Feq -----END PGP SIGNATURE----- --=-lkDaE80EkYbqJxgLlovg--