Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3711999imd; Mon, 29 Oct 2018 11:08:11 -0700 (PDT) X-Google-Smtp-Source: AJdET5eC2Mw9pOfKBL3ggBFpOmICzq+Np6w9JwEoVvO7Ujdfm6x/1JryM4gnwhAoHlmxKyaOeCJ3 X-Received: by 2002:a62:4151:: with SMTP id o78-v6mr16302132pfa.66.1540836491891; Mon, 29 Oct 2018 11:08:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540836491; cv=none; d=google.com; s=arc-20160816; b=vWKlwwxVf+iNBy/zFD6EDBnp69gARajgzYcHbGpsMkuMqh+OpdquZO3VmtxSZkyBPm jX0Ff2whU2RcP2PbL53JGaP1NWzq/Za3ilmNNMN5BCOlfIPWNdCBpi7g/M/Jl95yJ+gu yBBtO6TnyI8UKxh5nwW+3gq+J4zb57I69o07HGqUyY5hdLlqVTWTud0Zw+hxa4LstB6A lCVjs04mGF3UyWGV/lD1pD1VH33IIZ1BxS90ph9rEYXDHDv0NWXiX37HrpLu4b97fCRR m0zRyB52WzAk86uZlqZrU7lgJtQAIwWE+rntvK4YAc67O1UOan65AxUr6hJumBNMMAbT 4OHA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=pR8/LuDExk9lZ2Q4gxSaTG3u4O1iTDqahE/PFUWPLp4=; b=GxvWZliUrZMzbo4oemEPIFoqYmrQNdq5lxqdcQ2yO92A5TFVf/9Etk1fHIiWVVaSqE PJAm2WsY+NwiFF68e1Rynk0LU9d4qZyW8QI6NmtZwFwsKT0lnaieqE5E4G8iTZH7K6qJ iqYXPbQEQ0lpfdHMdTN3Q1Kq/UBLLFsi74fGCo9obVOmvV/kFBO+7aLTRxolqLa706IL kuyWf4SGA8RPJyxt6M1uaGKmYbAc9Yn36jkBH1N7FWoYQj717bHFJTcDYedr9id7fkT6 n2avyc06mPngrnncjaq+QEjK51jfRf1IKjTr11RJcbZc5Gs9QD4MuMEyElW9gqIUQEiF u0kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HU+ne1BX; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s10-v6si16919036pgd.43.2018.10.29.11.07.56; Mon, 29 Oct 2018 11:08:11 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HU+ne1BX; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728279AbeJ3C5Q (ORCPT + 99 others); Mon, 29 Oct 2018 22:57:16 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:33094 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726532AbeJ3C5Q (ORCPT ); Mon, 29 Oct 2018 22:57:16 -0400 Received: by mail-lj1-f194.google.com with SMTP id z21-v6so8762020ljz.0; Mon, 29 Oct 2018 11:07:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=pR8/LuDExk9lZ2Q4gxSaTG3u4O1iTDqahE/PFUWPLp4=; b=HU+ne1BXKQKDeJ7KlXZjyjFG5HSyJYT3LMPsGopzs7wmO+5HWkI2BeJFJM1mepCFkq 0bl6Z1hCPV5kixtK1DSpysHT9QEiUPzSFs52M/Nm0m9TqMSv9SnmZLRr5cvRwahtAEXE UMkWySvQ0t4WrKwHEeNTTF2FB5s6Wj7KyuzC8MB4axxpat18d3plGuROqqjsPHI6MrEm ZYop28DmO75qWecyql80IJDSuCAusWEJ0JQWYWs95t6QnviCKvdM1TuPqH4q+uvckRbq xYkAHE3hBvseGjV10lA2tj56Iir1QxiySL5jnZuNi3JYwDmfUfOliJQTlc7GXTzRKLDz R7Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=pR8/LuDExk9lZ2Q4gxSaTG3u4O1iTDqahE/PFUWPLp4=; b=VwtAwkWmBlevGE96AMY/5CHqs5tI8MtI6Yps59AXYgcUAWXw38WPO0uDo960Fwrcf4 B0ZY8FjgcYCBMx6dXzXDfBhGFzvGTSiJOHOmwaMy58NxCSiQCCtvjKzyMZLk9e2HoImU sRRWmh+p51jDbDoNPA03vo37l3GQGJ0Amu7fU57ThvCg4owBbWzU4FrE9bMF79FMZSvt bOtMurbrv1s8jpK1ef6mSJ2nlB3m/wiCT6LBMvqn1IRWReeUniM3svhFwalruY0dv0Gv AZwztztVfGRH73gXeCN0qs4YC44BS1RzunW4WYBidWeb+sZPIR/2tIZ7sAj//rTvBtHx 8qFw== X-Gm-Message-State: AGRZ1gJ3fgPVHPAJ0dkZIljXat+PAeE8CyHCQxz3VgCX+q1Qqu3q10kt 6CAulNZCYh+In1+ID/37XqsXdFD0irj/Yw== X-Received: by 2002:a2e:9e10:: with SMTP id e16-v6mr10080880ljk.169.1540836450960; Mon, 29 Oct 2018 11:07:30 -0700 (PDT) Received: from ?IPv6:2001:14bb:52:7be:f0bf:dd2d:f008:5213? (dmkd798g-7z2-yccwcp-4.rev.dnainternet.fi. [2001:14bb:52:7be:f0bf:dd2d:f008:5213]) by smtp.gmail.com with ESMTPSA id y127-v6sm3221546lfc.13.2018.10.29.11.07.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 11:07:30 -0700 (PDT) Subject: Re: [PATCH 03/17] prmem: vmalloc support for dynamic allocation To: Dave Hansen , 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 References: <20181023213504.28905-1-igor.stoppa@huawei.com> <20181023213504.28905-4-igor.stoppa@huawei.com> <489bf780-7dd2-2feb-8456-25ad5beeb3e4@intel.com> From: Igor Stoppa Message-ID: <624caa9a-e591-a1f4-40d1-49db10a91f03@gmail.com> Date: Mon, 29 Oct 2018 20:07:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <489bf780-7dd2-2feb-8456-25ad5beeb3e4@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/10/2018 01:26, Dave Hansen wrote: > 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. :) Yes, otoh it's a big pain in the neck to keep the docs split into smaller patches interleaved with the code, at least while the code is still in a flux. And since the docs refer to the sources, for the automated documentation of the API, I cannot just put the documentation at the beginning of the patchset. Can I keep the docs as they are, for now, till the code is more stable? -- igor