Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754684AbbDNTo1 (ORCPT ); Tue, 14 Apr 2015 15:44:27 -0400 Received: from mga14.intel.com ([192.55.52.115]:36056 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752817AbbDNToS (ORCPT ); Tue, 14 Apr 2015 15:44:18 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,577,1422950400"; d="scan'208";a="695235048" Date: Tue, 14 Apr 2015 15:44:16 -0400 From: Matthew Wilcox To: "Kirill A. Shutemov" Cc: Yigal Korman , Andrew Morton , linux-fsdevel@vger.kernel.org, "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" 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> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 422 Lines: 9 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/