Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp60739imm; Thu, 13 Sep 2018 15:42:07 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYF6nyNMc6alqEj0IlZxq9oypbWU0AZrxtWNSNGpcMJkZlB9fMnNzy34si4NlLhQPKavOu7 X-Received: by 2002:a17:902:e190:: with SMTP id cd16-v6mr9117097plb.305.1536878527366; Thu, 13 Sep 2018 15:42:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536878527; cv=none; d=google.com; s=arc-20160816; b=0wP63YoJC6rmkLujtP4yfA/mQPUiVIoI85jT4yq9R3ggdGKsLlMBfHmQS6RDy+Pgdn bEY+Am2hlnKOvXHebcppc5jtgWNPU4NHqWvrOzJFykPfznBqOo0m1h5oEZ4eZjE6Q/7h 5fOUDQrIXNsq7cQud9c7zQ2scaKutXxnLaieX8vYzJjlma4geVyv+Yc/4bawbrhlyyvP nSaNGZ4U0HTIUukReuWqorJi4us37ZsUTdWk57qJUjwbgUfD7QX00Ojd41Zeo4CHLi/f a+h7PhsEU7l4F4PUpBAcDsFM6EaRt2na3wXxbWQTEwbONk/g2cSXvT9CM0wBBg4wNBuL THTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=C5zx8YhCmF/5KfAV7sjnw+xXMyep05xLMoGvRHmjdsU=; b=ylyJacg1qUJY6zv1/WY3hDIhe6xL/cz7gn2Jm/K/LX3jG3/+SOQOFuRT8V6C6TQL6b DBoGjakj+0L5QP7mO2dRkRsTrfQ7fC4TRAebEtT3eWNBOowHalZSRpJJJysYz0iGCJfs cFzKKk5ys24fqnUtNTfH7YkrQFiLlbKU3lcpmivLEGcTLLLK8NXJgcN5f/xiiyqcovTy hF6vJK27AV1VKUpdUJerFiwOukH6wvR3CXDsNzVRKBIKLTTehfIcmYo5/wuWkbWZaium GuB2Tm4uP7wIt7pP3y3zMhVVfXifHxj3AfZqmUdm093WLWXfd7JSW+5VCdtDJpl1Pxdz HgwA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10-v6si5170574pla.436.2018.09.13.15.41.51; Thu, 13 Sep 2018 15:42:07 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727995AbeINDxA (ORCPT + 99 others); Thu, 13 Sep 2018 23:53:00 -0400 Received: from ms.lwn.net ([45.79.88.28]:48224 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727383AbeINDxA (ORCPT ); Thu, 13 Sep 2018 23:53:00 -0400 Received: from localhost.localdomain (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id BC72E2D8; Thu, 13 Sep 2018 22:41:28 +0000 (UTC) Date: Thu, 13 Sep 2018 16:41:27 -0600 From: Jonathan Corbet To: Mike Rapoport Cc: Michal Hocko , Randy Dunlap , Matthew Wilcox , Vlastimil Babka , linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/3] docs: core-api: add memory allocation guide Message-ID: <20180913164127.4e44045f@lwn.net> In-Reply-To: <20180912103305.GC6719@rapoport-lnx> References: <1534517236-16762-1-git-send-email-rppt@linux.vnet.ibm.com> <1534517236-16762-4-git-send-email-rppt@linux.vnet.ibm.com> <20180911115555.5fce5631@lwn.net> <20180912103305.GC6719@rapoport-lnx> Organization: LWN.net X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 12 Sep 2018 13:33:06 +0300 Mike Rapoport 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