From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f69.google.com (mail-lf0-f69.google.com [209.85.215.69]) by kanga.kvack.org (Postfix) with ESMTP id 02E396B0069 for ; Fri, 21 Oct 2016 03:22:54 -0400 (EDT) Received: by mail-lf0-f69.google.com with SMTP id m193so21238218lfm.7 for ; Fri, 21 Oct 2016 00:22:53 -0700 (PDT) Received: from mail-lf0-x22e.google.com (mail-lf0-x22e.google.com. [2a00:1450:4010:c07::22e]) by mx.google.com with ESMTPS id y84si622864lfa.69.2016.10.21.00.22.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Oct 2016 00:22:52 -0700 (PDT) Received: by mail-lf0-x22e.google.com with SMTP id b81so124665381lfe.1 for ; Fri, 21 Oct 2016 00:22:52 -0700 (PDT) Subject: Re: Rewording language in mbind(2) to "threads" not "processes" Reply-To: mtk.manpages@gmail.com References: From: "Michael Kerrisk (man-pages)" Message-ID: <67165fae-b965-eb34-ecf5-4247acaecee1@gmail.com> Date: Fri, 21 Oct 2016 09:22:49 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Lameter Cc: Piotr Kwapulinski , mhocko@kernel.org, mgorman@techsingularity.net, Peter Zijlstra , Rik van Riel , "linux-mm@kvack.org" , lkml , linux-man , Brice Goglin Hi Christoph, Did you have any thoughts on my follow-on question below? Cheers, Michael On 10/14/2016 12:09 PM, Michael Kerrisk (man-pages) wrote: > Hi Christoph, > > On 13 October 2016 at 20:16, Christoph Lameter wrote: >> On Thu, 13 Oct 2016, Michael Kerrisk (man-pages) wrote: >> >>> @@ -100,7 +100,10 @@ If, however, the shared memory region was created with the >>> .B SHM_HUGETLB >>> flag, >>> the huge pages will be allocated according to the policy specified >>> -only if the page allocation is caused by the process that calls >>> +only if the page allocation is caused by the thread that calls >>> +.\" >>> +.\" ??? Is it correct to change "process" to "thread" in the preceding line? >> >> No leave it as process. Pages get one map refcount per page table >> that references them (meaning a process). More than one map refcount means >> that multiple processes have mapped the page. >> >>> @@ -300,7 +303,10 @@ is specified in >>> .IR flags , >>> then the kernel will attempt to move all the existing pages >>> in the memory range so that they follow the policy. >>> -Pages that are shared with other processes will not be moved. >>> +Pages that are shared with other threads will not be moved. >>> +.\" >>> +.\" ??? Is it correct to change "processes" to "threads" in the preceding line? >>> +.\" >> >> Leave it. Same as before. >> >>> If >>> then the kernel will attempt to move all existing pages in the memory range >>> -regardless of whether other processes use the pages. >>> -The calling process must be privileged >>> +regardless of whether other threads use the pages. >>> +.\" >>> +.\" ??? Is it correct to change "processes" to "threads" in the preceding line? >>> +.\" >> >> Leave as process. > > Thanks. So, are all the other cases where I changed "process" to > "thread" okay then? > > Cheers, > > Michael > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org