From patchwork Tue May 8 07:02:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 10385447 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4D5D66037F for ; Tue, 8 May 2018 07:02:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C69028CD4 for ; Tue, 8 May 2018 07:02:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2F7D728CD3; Tue, 8 May 2018 07:02:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A103328CD3 for ; Tue, 8 May 2018 07:02:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E30E36B0266; Tue, 8 May 2018 03:02:28 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id DE48B6B026A; Tue, 8 May 2018 03:02:28 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C869A6B026B; Tue, 8 May 2018 03:02:28 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-qt0-f200.google.com (mail-qt0-f200.google.com [209.85.216.200]) by kanga.kvack.org (Postfix) with ESMTP id 9BAC66B0266 for ; Tue, 8 May 2018 03:02:28 -0400 (EDT) Received: by mail-qt0-f200.google.com with SMTP id t24-v6so23340432qtn.7 for ; Tue, 08 May 2018 00:02:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:in-reply-to:references:message-id; bh=dVvCyvcMa0EQR4dBpZkyS8MsjSix0GrAgqJYzzy3J9o=; b=NC17TlkFldm6u1TBMkE+3pgA1JRqxDSQrvJEblbyHszy8KPrNIJuUsN7sqA1Fn+ewJ zRDbPAiUVQU8Yb7nuZ2U3e0XAI0QrLn8T2E371Bh5aJ0TWbPXJqJYE+7BJZPzIOEtFrV VTh1QNjNVYNwyyhpZ6tngpr7kInmcJJ6aIGqcRN+i07b9uH33qdOzCRIRcHYQ6kyMjfD +Ayv41fPw/58zQBwj6s+9ChQMUrBgaEkABpmMXOssFNJN9c+2rH8dN78cHqWbA36jyPH 9VwAmEpibkKxeXihjBl387z2beQzFqXyuge0SUOedrhKfJ4urqZJnQxelgCoVDGmJY0o NtZg== X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of rppt@linux.vnet.ibm.com) smtp.mailfrom=rppt@linux.vnet.ibm.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com X-Gm-Message-State: ALQs6tAwcqn9d8BU22dVyddXOF0LZi+hbA9QDsY1RCnSXkCBYHPMkCtq Xg4gtV5NrGYyOGeqpR4cuyJFsI1Q+MCLJqzPvWQutRJlLPyGTkCwHCLhJc8xZFQtlmLbhI7gv/b dDPmNaIMxhegEytrpmwZaQKgNsmgWNIcCy3s7iOEUeAMAX2Iy0c7AWMaEJ0xdJ3E= X-Received: by 10.55.21.18 with SMTP id f18mr31671074qkh.280.1525762948360; Tue, 08 May 2018 00:02:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrFwg54DHPuHMWIVU4JANJ2g7th18XdwV95JR1kDuisQgC7ydrV+oHTdXG2zyqWIkJMGn5D X-Received: by 10.55.21.18 with SMTP id f18mr31671051qkh.280.1525762947560; Tue, 08 May 2018 00:02:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525762947; cv=none; d=google.com; s=arc-20160816; b=wTwA9gpEof1cCTaI3kl2wmFt1EgLhvPh6OfG2qFuyMJm9LcK+/ZWl/K5Jo/GyQhzVT fG4lPfQIiWMX3QO99Q++KHG2DT3uPpt9+V5QJ3eZx6cE9o9ijrV33s2gf9AngjiaD8/5 BU5KiLEPBhL5GQUv5wt7LNZoKcy0ueFQa6DE9pmFOlwN57duh1Y7BlnkoD4vuNKCj4dR W4nc+e+LPbPvDwSZ7g8vGjw37MrQYlCo7Eu0TIVhjbmwidfSMeLDGYHYTs8pIerZcCyA vehAhNjaDearfzFJPzoJKqp8bAVFVK6Seus2bPX445HXIsOR4lWnVSS5oP6OfhoFVNFf 25cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:references:in-reply-to:date:subject:cc:to:from :arc-authentication-results; bh=dVvCyvcMa0EQR4dBpZkyS8MsjSix0GrAgqJYzzy3J9o=; b=SRWtBcmqeaS6ZgVTyKHOh0cycNYJE1w2LBKZrIQeU3FlHw3i435fiz9XVg0VmwsTS6 y3Il/jY2l+afW4xSHnOFmpUAF3OFgCYTwUHtQklg15eoB9BBiMN22PLkeWbYNlwqAptb AU5pAvdR8GngtmcpcMPiRqM0+Yh/ddGXcH6F5rxjSkKbDAAIProKQPS6on+NirewhamM 4M16wP+wIbgqsVP21+ZAjEA5JHCmJEARIPiuwVCtGnM51G+oQpxPmz9ETpkqQ3J9b0Ni lFddT6wqXvRiJ591VGbphGFNirz3ZHp6D0F8OKS/ctVM1RCN9OZA8FEP+5thqPRHUda7 PxxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of rppt@linux.vnet.ibm.com) smtp.mailfrom=rppt@linux.vnet.ibm.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com. [148.163.156.1]) by mx.google.com with ESMTPS id u5si371474qkh.146.2018.05.08.00.02.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 May 2018 00:02:27 -0700 (PDT) Received-SPF: neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of rppt@linux.vnet.ibm.com) client-ip=148.163.156.1; Authentication-Results: mx.google.com; spf=neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of rppt@linux.vnet.ibm.com) smtp.mailfrom=rppt@linux.vnet.ibm.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w486ws5R040306 for ; Tue, 8 May 2018 03:02:26 -0400 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0a-001b2d01.pphosted.com with ESMTP id 2hu6wf8m1r-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 08 May 2018 03:02:26 -0400 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 8 May 2018 08:02:23 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 8 May 2018 08:02:20 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4872Jk966388174 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 8 May 2018 07:02:19 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4B61D4C046; Tue, 8 May 2018 07:54:21 +0100 (BST) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D3F8E4C044; Tue, 8 May 2018 07:54:19 +0100 (BST) Received: from rapoport-lnx (unknown [9.148.8.166]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Tue, 8 May 2018 07:54:19 +0100 (BST) Received: by rapoport-lnx (sSMTP sendmail emulation); Tue, 08 May 2018 10:02:17 +0300 From: Mike Rapoport To: Jonathan Corbet Cc: Andrew Morton , linux-doc , linux-mm , lkml , Mike Rapoport Subject: [PATCH 2/3] docs/vm: numa_memory_policy: s/Linux memory policy/NUMA memory policy/ Date: Tue, 8 May 2018 10:02:09 +0300 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525762930-28163-1-git-send-email-rppt@linux.vnet.ibm.com> References: <1525762930-28163-1-git-send-email-rppt@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18050807-0020-0000-0000-0000041A3C7D X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18050807-0021-0000-0000-000042AF741E Message-Id: <1525762930-28163-3-git-send-email-rppt@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-05-08_03:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1805080069 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP The document describes NUMA memory policy and as it is a part of the Linux documentation it's obvious that this is Linux memory policy. Besides, "Linux memory policy" may refer to other policies, e.g. memory hotplug policy, and using term NUMA makes the documentation less ambiguous. Signed-off-by: Mike Rapoport --- Documentation/vm/numa_memory_policy.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/vm/numa_memory_policy.rst b/Documentation/vm/numa_memory_policy.rst index ac0b396..d78c5b3 100644 --- a/Documentation/vm/numa_memory_policy.rst +++ b/Documentation/vm/numa_memory_policy.rst @@ -1,10 +1,10 @@ .. _numa_memory_policy: -=================== -Linux Memory Policy -=================== +================== +NUMA Memory Policy +================== -What is Linux Memory Policy? +What is NUMA Memory Policy? ============================ In the Linux kernel, "memory policy" determines from which node the kernel will @@ -162,7 +162,7 @@ Shared Policy Components of Memory Policies ----------------------------- -A Linux memory policy consists of a "mode", optional mode flags, and +A NUMA memory policy consists of a "mode", optional mode flags, and an optional set of nodes. The mode determines the behavior of the policy, the optional mode flags determine the behavior of the mode, and the optional set of nodes can be viewed as the arguments to the @@ -172,7 +172,7 @@ Internally, memory policies are implemented by a reference counted structure, struct mempolicy. Details of this structure will be discussed in context, below, as required to explain the behavior. -Linux memory policy supports the following 4 behavioral modes: +NUMA memory policy supports the following 4 behavioral modes: Default Mode--MPOL_DEFAULT This mode is only used in the memory policy APIs. Internally, @@ -245,7 +245,7 @@ MPOL_INTERLEAVED address range or file. During system boot up, the temporary interleaved system default policy works in this mode. -Linux memory policy supports the following optional mode flags: +NUMA memory policy supports the following optional mode flags: MPOL_F_STATIC_NODES This flag specifies that the nodemask passed by