From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f182.google.com (mail-pd0-f182.google.com [209.85.192.182]) by kanga.kvack.org (Postfix) with ESMTP id 0097B6B006E for ; Tue, 14 Apr 2015 15:44:19 -0400 (EDT) Received: by pdbnk13 with SMTP id nk13so23461038pdb.0 for ; Tue, 14 Apr 2015 12:44:18 -0700 (PDT) Received: from mga03.intel.com (mga03.intel.com. [134.134.136.65]) by mx.google.com with ESMTP id oe2si3199520pdb.149.2015.04.14.12.44.17 for ; Tue, 14 Apr 2015 12:44:18 -0700 (PDT) Date: Tue, 14 Apr 2015 15:44:16 -0400 From: Matthew Wilcox Subject: Re: mlock() on DAX returns -ENOMEM Message-ID: <20150414194416.GW4003@linux.intel.com> References: <20150413125654.GB12354@node.dhcp.inet.fi> <20150414114212.GA20651@node.dhcp.inet.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150414114212.GA20651@node.dhcp.inet.fi> Sender: owner-linux-mm@kvack.org List-ID: To: "Kirill A. Shutemov" Cc: Yigal Korman , Andrew Morton , linux-fsdevel@vger.kernel.org, "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" On Tue, Apr 14, 2015 at 02:42:12PM +0300, Kirill A. Shutemov wrote: > Or we can identify DAX mapping some other way. Or introduce VM_DAX. IS_DAX(vma->vm_file->f_mapping->host) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org