Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1522401ybl; Wed, 18 Dec 2019 21:14:52 -0800 (PST) X-Google-Smtp-Source: APXvYqyympjsLJvxtG7F2+iHaAIzuQWCk+heKJ9756Xb/f3o8V68NMMykmI+NGLSMsnyzsGh9QEx X-Received: by 2002:a05:6830:1442:: with SMTP id w2mr7066427otp.143.1576732492680; Wed, 18 Dec 2019 21:14:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576732492; cv=none; d=google.com; s=arc-20160816; b=MkBv78DzP5dY8Ri/MBNPgwGdntAYbxTHEl65YJWfuzQCnTbYR1CL8mtUXDw60h5i1A /5TJchp3qfAldVE+XXZHkB0RWgSOBsmdsCFpvIjRazSKwPq/1LtyFrbONr3tEbzsCnFs oswK4Q7cYqjJRLRUKk4TTjInzLGbx/TyIAR28PuwidqQufgb75ywPbGPbIrxuyYOioWW oRGG7VA3FJQMiQoOLkyxJQz1rwji9xC4HoE3QQLlKriiEEFJFsK9NwPJ1A89rfbOGdOy KyIVO+WGRlptqAwpusV9kml/p2mHDDAQTbqGZ81emJzQkpDQBIyURpTGLwS0yQ4EWnra q6ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=9R3otvYjxL+EhzYozx6MHy5SVGQPaMnj791NKARfzDo=; b=d0b5CSyCtY86Q6EEClTUxyn3E6rzTheXpWk77Gc8oOSHKheXYdxGFh/GwkFpFfnD0Q Li2fR4Cislm+jghsz/nURYw0hoS+/9x8uJfU72t8xUl2WKb0w8/Pe01cfowFq/K2m+M2 Kduw6miozJXThDKq6H2jplzzNlbmxaiaNk2FV/Tg1AoyOIu/glO9Mw8M5EUczgu0QlYw 0/bjQbqiEjui3SUM7qi54Was2mDs18YalA1nfFSWXCuXojMtWKK47K5W/XlUcPImVRU4 OAKUJAZJuJ4cppm3xj03aT/AHK5r5mtMgGbM9DdzL+tX36Tb+GvmJW3dFjKDALq/1vny zVdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=pBgP9BeT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g62si2629355oia.57.2019.12.18.21.14.41; Wed, 18 Dec 2019 21:14:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=pBgP9BeT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726463AbfLSFNw (ORCPT + 99 others); Thu, 19 Dec 2019 00:13:52 -0500 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:6125 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725446AbfLSFNw (ORCPT ); Thu, 19 Dec 2019 00:13:52 -0500 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 18 Dec 2019 21:13:22 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Wed, 18 Dec 2019 21:13:51 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Wed, 18 Dec 2019 21:13:51 -0800 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 19 Dec 2019 05:13:51 +0000 Received: from rnnvemgw01.nvidia.com (10.128.109.123) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 19 Dec 2019 05:13:50 +0000 Received: from blueforge.nvidia.com (Not Verified[10.110.48.28]) by rnnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Wed, 18 Dec 2019 21:13:50 -0800 From: John Hubbard To: Michael Kerrisk CC: , Andrew Morton , Christopher Lameter , , LKML , , John Hubbard , Michal Hocko , Brice Goglin , Yang Shi Subject: [PATCH] move_pages.2: remove ENOENT from the list of possible return values Date: Wed, 18 Dec 2019 21:13:47 -0800 Message-ID: <20191219051347.1278026-1-jhubbard@nvidia.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 X-NVConfidentiality: public Content-Transfer-Encoding: quoted-printable Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1576732402; bh=9R3otvYjxL+EhzYozx6MHy5SVGQPaMnj791NKARfzDo=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: MIME-Version:X-NVConfidentiality:Content-Transfer-Encoding: Content-Type; b=pBgP9BeT11sBQ7OaVQILvcGGl6CzWgDqvsaSTzwyqM78gphzm/5LVdioLZNllm+4H y6wt61DriVzx0s62ZtjPFf3KC+wFnjSh3kGMguMxUL1d44VBwbHUGgeCDBiP08YtpT b9t8ZDktVlUsUpS0KJzf41g9Rhcl/MkhwPlXemDu9Tv2PGPGBRomInr51RJD8ql1MA 6gb07qWLhsSYuU88apCj3O/0T+Xk9aLsWBut91BSM5NUWvKdbrMCtGQco2elQ4RGJs ZKw+tcWS33OtldT6pfMjEhBw2L2PYBGGbGy5KD/qQL8/HGc21CNe0PcZRNvG4tpun8 3Iscb9A7XifEA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linux kernel commit e78bbfa82624 ("mm: stop returning -ENOENT from sys_move_pages() if nothing got migrated") had the effect of *never* returning -ENOENT, in any situation. So we need to update the man page to reflect that ENOENT is not a possible return value. Acked-by: Michal Hocko Cc: Brice Goglin Cc: Yang Shi Cc: Christoph Lameter Signed-off-by: John Hubbard --- Hi, This fix for the man page was ACK'd by Michal, here: https://lore.kernel.org/r/20191218101711.GB21485@dhcp22.suse.cz thanks, John Hubbard NVIDIA man2/move_pages.2 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/man2/move_pages.2 b/man2/move_pages.2 index 2d96468fa..1bf1053f2 100644 --- a/man2/move_pages.2 +++ b/man2/move_pages.2 @@ -191,12 +191,6 @@ was specified or an attempt was made to migrate pages = of a kernel thread. .B ENODEV One of the target nodes is not online. .TP -.B ENOENT -No pages were found that require moving. -All pages are either already -on the target node, not present, had an invalid address or could not be -moved because they were mapped by multiple processes. -.TP .B EPERM The caller specified .B MPOL_MF_MOVE_ALL --=20 2.24.1