[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180913164127.4e44045f@lwn.net>
Date: Thu, 13 Sep 2018 16:41:27 -0600
From: Jonathan Corbet <corbet@....net>
To: Mike Rapoport <rppt@...ux.vnet.ibm.com>
Cc: Michal Hocko <mhocko@...e.com>,
Randy Dunlap <rdunlap@...radead.org>,
Matthew Wilcox <willy@...radead.org>,
Vlastimil Babka <vbabka@...e.cz>, linux-mm@...ck.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 3/3] docs: core-api: add memory allocation guide
On Wed, 12 Sep 2018 13:33:06 +0300
Mike Rapoport <rppt@...ux.vnet.ibm.com> wrote:
> How about:
>
> ``GFP_HIGHUSER_MOVABLE`` does not require that allocated memory
> will be directly accessible by the kernel and implies that the
> data is movable.
>
> ``GFP_HIGHUSER`` means that the allocated memory is not movable,
> but it is not required to be directly accessible by the kernel. An
> example may be a hardware allocation that maps data directly into
> userspace but has no addressing limitations.
>
> ``GFP_USER`` means that the allocated memory is not movable and it
> must be directly accessible by the kernel
Sounds good to me.
Thanks,
jon
Powered by blists - more mailing lists