From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934130AbcIOI12 (ORCPT ); Thu, 15 Sep 2016 04:27:28 -0400 Received: from verein.lst.de ([213.95.11.211]:54014 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933552AbcIOI0S (ORCPT ); Thu, 15 Sep 2016 04:26:18 -0400 Date: Thu, 15 Sep 2016 10:26:15 +0200 From: Christoph Hellwig To: Dan Williams Cc: linux-mm@kvack.org, linux-nvdimm@ml01.01.org, david@fromorbit.com, linux-kernel@vger.kernel.org, npiggin@gmail.com, xfs@oss.sgi.com, linux-fsdevel@vger.kernel.org, hch@lst.de Subject: Re: [PATCH v2 2/3] mm, dax: add VM_DAX flag for DAX VMAs Message-ID: <20160915082615.GA9772@lst.de> References: <147392246509.9873.17750323049785100997.stgit@dwillia2-desk3.amr.corp.intel.com> <147392247875.9873.4205533916442000884.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <147392247875.9873.4205533916442000884.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 14, 2016 at 11:54:38PM -0700, Dan Williams wrote: > The DAX property, page cache bypass, of a VMA is only detectable via the > vma_is_dax() helper to check the S_DAX inode flag. However, this is > only available internal to the kernel and is a property that userspace > applications would like to interrogate. They have absolutely no business knowing such an implementation detail.