Subject: Re: [PATCH 03/17] prmem: vmalloc support for dynamic allocation References: <20181023213504.28905-1-igor.stoppa@huawei.com> <20181023213504.28905-4-igor.stoppa@huawei.com> From: Dave Hansen Message-ID: <489bf780-7dd2-2feb-8456-25ad5beeb3e4@intel.com> Date: Wed, 24 Oct 2018 17:26:00 -0700 MIME-Version: 1.0 In-Reply-To: <20181023213504.28905-4-igor.stoppa@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Igor Stoppa , Mimi Zohar , Kees Cook , Matthew Wilcox , Dave Chinner , James Morris , Michal Hocko , kernel-hardening@lists.openwall.com, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org Cc: igor.stoppa@huawei.com, Dave Hansen , Jonathan Corbet , Laura Abbott , Andrew Morton , Chintan Pandya , Joe Perches , "Luis R. Rodriguez" , Thomas Gleixner , Kate Stewart , Greg Kroah-Hartman , Philippe Ombredanne , linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On 10/23/18 2:34 PM, Igor Stoppa wrote: > +#define VM_PMALLOC 0x00000100 /* pmalloc area - see docs */ > +#define VM_PMALLOC_WR 0x00000200 /* pmalloc write rare area */ > +#define VM_PMALLOC_PROTECTED 0x00000400 /* pmalloc protected area */ Please introduce things as you use them. It's impossible to review a patch that just says "see docs" that doesn't contain any docs. :)