Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4054827ima; Mon, 4 Feb 2019 09:26:13 -0800 (PST) X-Google-Smtp-Source: AHgI3IZNvshhLiEVhzhpn3q0SOfJCjP2a9CjFFG0LBihEV/KWhUCYyo+T3xl3g2g1nVLrSKhf6qK X-Received: by 2002:a62:5910:: with SMTP id n16mr469416pfb.128.1549301172940; Mon, 04 Feb 2019 09:26:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549301172; cv=none; d=google.com; s=arc-20160816; b=HBrJ70JvgGZmvAoQ5XSG01xPuTlpJTLEn1GPy/XSrQWzueSCUScNSf5TMmNMA31MBl o/X7u/NzWYl1hrYimvmXf0AyqRgnUelI8xmxRY+VEG5mF6DOW6ACfPJsUn9PNSTeIhFs QMoZND2f5IWk6geIMRtuYrsOZhabPWM8MgwYaAOKYp7qlzfSJgtuoejb2VILtRDxVTbm Piugu2yfGCDutWvx6B8O/IjuwGlt50rEJHfJZEgrK+Rwmf1f3h2/ioGOryYt6A9j0hcT 26O/Z23PAeTNeRP9LRp6x6UeuBZTjCgsXX+gppUWIqRw1qNbKAOm+1DoAxFYvdQpVlX8 OEhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:mime-version:user-agent :references:message-id:in-reply-to:subject:cc:to:from:date :dkim-signature; bh=dFVSi6eAG6s4EOjNzfgj7jQYa7+0xeruK9bRGAAvn/0=; b=NZbaCjs5o+8r5RxT95L7O2R98M0TLLMLKZ3pVts2tY6g7Z4i5EDT/jBh4eRaiS13+X xu2b6fVcmva//nM0Uicqy3eUKlf2kIq7StOhna4yy9yApTsUJICEfEmv5BYzJxC8kLnT x/2sg5IPm8QfphxjvsrUAChTU9CO5NCF/XIF9mslNjWwUJLL9g1S1a/4eINA5ULYxM9x wo0w7o/RcC4LYC0JwLHqiZrDZBAAeKZMxzEGMBarMmp4977Ogz5qBBvbZUOrzyZeukoN GzeLuTbSPT1aXRL8nKdF+i9gKmXCKbZX7KdyD83ZIwT+mI53vX3pvTnwV6+bxXlNQZfb EhgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazonses.com header.s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug header.b=PczSozFF; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s19si495404plp.151.2019.02.04.09.25.57; Mon, 04 Feb 2019 09:26:12 -0800 (PST) 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=@amazonses.com header.s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug header.b=PczSozFF; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729807AbfBDQ7S (ORCPT + 99 others); Mon, 4 Feb 2019 11:59:18 -0500 Received: from a9-35.smtp-out.amazonses.com ([54.240.9.35]:35860 "EHLO a9-35.smtp-out.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727057AbfBDQ7S (ORCPT ); Mon, 4 Feb 2019 11:59:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1549299557; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:MIME-Version:Content-Type:Feedback-ID; bh=dFVSi6eAG6s4EOjNzfgj7jQYa7+0xeruK9bRGAAvn/0=; b=PczSozFFqeRL7X+LTVq/x4SUbvHWdcH7f444zjDojJHuUSurhYyjMpazh91nqYfc IaVvmvTRYQS6v/LqWHm6LnWzaz3MZ89JxulkbSfH0GWidNhdvPRq1ddxLuTj2iYqGSM lkgO3lvUPBKUvTT6vy7WFXpTOY6Rt2jkSXfkysN8= Date: Mon, 4 Feb 2019 16:59:17 +0000 From: Christopher Lameter X-X-Sender: cl@nuc-kabylake To: Christoph Hellwig cc: john.hubbard@gmail.com, Andrew Morton , linux-mm@kvack.org, Al Viro , Christian Benvenuti , Dan Williams , Dave Chinner , Dennis Dalessandro , Doug Ledford , Jan Kara , Jason Gunthorpe , Jerome Glisse , Matthew Wilcox , Michal Hocko , Mike Rapoport , Mike Marciniszyn , Ralph Campbell , Tom Talpey , LKML , linux-fsdevel@vger.kernel.org, John Hubbard Subject: Re: [PATCH 0/6] RFC v2: mm: gup/dma tracking In-Reply-To: <20190204161201.GA6840@infradead.org> Message-ID: <01000168b97322ff-7c681a52-566f-4de1-ba1e-0a045b7f3622-000000@email.amazonses.com> References: <20190204052135.25784-1-jhubbard@nvidia.com> <01000168b94439c0-28d5e096-718d-4e39-a7af-20d0a6d7b768-000000@email.amazonses.com> <20190204161201.GA6840@infradead.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SES-Outgoing: 2019.02.04-54.240.9.35 Feedback-ID: 1.us-east-1.fQZZZ0Xtj2+TD7V5apTT/NrT6QKuPgzCT/IC7XYgDKI=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 4 Feb 2019, Christoph Hellwig wrote: > On Mon, Feb 04, 2019 at 04:08:02PM +0000, Christopher Lameter wrote: > > It may be worth noting a couple of times in this text that this was > > designed for anonymous memory and that such use is/was ok. We are talking > > about a use case here using mmapped access with a regular filesystem that > > was not initially intended. The mmapping of from the hugepages filesystem > > is special in that it is not a device that is actually writing things > > back. > > > > Any use with a filesystem that actually writes data back to a medium > > is something that is broken. > > Saying it was not intended seems rather odd, as it was supported > since day 0 and people made use of it. Well until last year I never thought there was a problem because I considered it separate from regular filesystem I/O.