Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4211517imm; Tue, 25 Sep 2018 13:19:51 -0700 (PDT) X-Google-Smtp-Source: ACcGV61mrP44EHHG9MWDGUgqLYFeKHj+4h8cW5z/7XKfeqCy9tXfZzM5pmcgq0nRSa7LR1PUYqiR X-Received: by 2002:a65:520d:: with SMTP id o13-v6mr2566791pgp.282.1537906791726; Tue, 25 Sep 2018 13:19:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537906791; cv=none; d=google.com; s=arc-20160816; b=eMvEERG3CQ2d+cOGfaiLeX7nsN/xGuFoaSPQ4OO8OJzmm2s+ljt+wPCipNbcDG/voC +TQEbTpxhWZXaJ3YTtyqh4GN1csTFbr6jVOBRndUcqMxd2Vwp+AtfVLCaI6eV2wqUOdz t5XL5n00hGcrHEgmofWNMYQ7kEbG2o7kZEdlxDdDo6dg6CvAyU9VMdcOloNRrNSAF4dK h6KqWkaxIXaFhe1J4xQEBqUnat9v+774WzRSbIqVkHffjHojNlTxupn9aepIo4ruZ3GG M0OYyflUmH5VgaSULF/UEHwHnU4z7YhA1FDhCWfAB7do+Gj+9WBm9mome82PFxB3xj70 KHeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Vz8TNOMmDYBqdlORXnz2NWjU8EzxxFAJWn9kcR4UIfc=; b=fYA0b1lDWoXzVtP8cDcnzD8m2IdhiFc8nXrmTExA8jzSnv586KH8DoiJu35nkKPjwH gEjrPzgXjIlHf/ScPkXPXghJJYudcx+0aM+RzqFqi+miATaRgzvd0UV5wnR+1QYVAMuD LZO59ZQHD+iTYMKy+gW36STbxMQJsLKrcQphtjNsCOCfUxXzYsYyOIiqbhflV04PX9wT JUHlHx8bavkJuoKlBGEVReL39jNtryYWqoE0qfT8B25yhZLCz8D7npudAeRwKuWGyDyt g7kziPo2lcD1O6hZVvxvHkyTR1po1pz7DRqjy1out2Oi0cJTyhB2hrCe+0UgVLelTfZS 2Cig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=F5FaJTNy; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k7-v6si3148396plt.327.2018.09.25.13.19.36; Tue, 25 Sep 2018 13:19:51 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=F5FaJTNy; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727010AbeIZC1V (ORCPT + 99 others); Tue, 25 Sep 2018 22:27:21 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:36880 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726385AbeIZC1V (ORCPT ); Tue, 25 Sep 2018 22:27:21 -0400 Received: by mail-ot1-f66.google.com with SMTP id o13-v6so25784927otl.4 for ; Tue, 25 Sep 2018 13:18:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Vz8TNOMmDYBqdlORXnz2NWjU8EzxxFAJWn9kcR4UIfc=; b=F5FaJTNylrYbCN9aOdejJdEtJLfh1dQW7C0V6H7ejZ1JnrA27WovrnPJwHjgTNYIAH Z/pAyTnMMj38Iu0FwAEwPJ4ykKH84VKKOsmZRhAqCRqI6WZkX+zuo7OeF+kAcJni/umQ 938EUJip0hOp88aRsgZZoGI4d2Cbu0iRE2X2Byfr72iznqaS2ggqM2OTHRJdbdeXdJaw TTaWAtxlhbcCZHK++A4WgCrTt7xmDzSB1adNsvVWt/yvRLip4zvr985OKbdpubPgQvFI i0wMdJkADFHPDlsysZYVp1V1L//jgp/XkMl1P3D8szCCrZ/HvVCU372m3tJ7Mk1B+H7B YPVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Vz8TNOMmDYBqdlORXnz2NWjU8EzxxFAJWn9kcR4UIfc=; b=Ys/yKz8NyA6EmovJNwmcEYpN62jC7wzF7ro3N1KtPQnQeK5qTXeLjhHoE9MKPYTo2M TXPUMMxuzAy6N1maCbZ5gKwo7F1rDNwIIcwxAm1adL2XG/f3PCjiBciA6md83MWjVtAq YXSfTlp5QDFtimCXofTQ5WYNd/0IXCDILYEhnnMj/Gw4Z/dQHZTjfEn9hKYbbIh+s/gS JmM3613SKSQ5Y55R4berA92kSlbn2/3QiOH3Q9Qw7FhVWmdBemTdQIwvHHaHxFLB5ZFY X7J/mZZgLwGDsQ2gC0Ae2p8YkrXWie+JbUhJ3joPD6a2fQhWf73V8qwQJxAJT3qM6YeV pu2Q== X-Gm-Message-State: ABuFfojByVZxVGmiczuR2XWQ0BfWkmLk4gAmQywPeUJi4gXwBth7LB11 Gidix5tGtVnvw7ItoiVmdUuMN9K/iVK2feGnXsmnEg== X-Received: by 2002:a9d:420c:: with SMTP id q12-v6mr1305422ote.289.1537906685879; Tue, 25 Sep 2018 13:18:05 -0700 (PDT) MIME-Version: 1.0 References: <153622549721.14298.8116794954073122489.stgit@warthog.procyon.org.uk> <153622557095.14298.10281337300003012767.stgit@warthog.procyon.org.uk> In-Reply-To: <153622557095.14298.10281337300003012767.stgit@warthog.procyon.org.uk> From: Dan Williams Date: Tue, 25 Sep 2018 13:17:54 -0700 Message-ID: Subject: Re: [PATCH 10/11] UAPI: ndctl: Remove use of PAGE_SIZE [ver #2] To: David Howells Cc: Linux API , linux-kbuild@vger.kernel.org, linux-nvdimm , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 6, 2018 at 2:19 AM David Howells wrote: > > The macro PAGE_SIZE isn't valid outside of the kernel, so it should not > appear in UAPI headers. > > Furthermore, the actual machine page size could theoretically change from > an application's point of view if it's running in a container that gets > migrated to another machine (say 4K/ppc64 to 64K/ppc64). > > Fixes: f2ba5a5baecf ("libnvdimm, namespace: make min namespace size 4K") > Signed-off-by: David Howells > cc: Dan Williams Acked-by: Dan Williams Let me know if you want me to pick this up for 4.20.