From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f71.google.com (mail-wm0-f71.google.com [74.125.82.71]) by kanga.kvack.org (Postfix) with ESMTP id 8B34E6B0003 for ; Mon, 18 Jun 2018 04:02:22 -0400 (EDT) Received: by mail-wm0-f71.google.com with SMTP id v13-v6so4691116wmc.1 for ; Mon, 18 Jun 2018 01:02:22 -0700 (PDT) Received: from newverein.lst.de (verein.lst.de. [213.95.11.211]) by mx.google.com with ESMTPS id w109-v6si2036160wrc.304.2018.06.18.01.02.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jun 2018 01:02:21 -0700 (PDT) Date: Mon, 18 Jun 2018 10:11:13 +0200 From: Christoph Hellwig Subject: Re: [PATCH 2/2] mm: set PG_dma_pinned on get_user_pages*() Message-ID: <20180618081113.GA16991@lst.de> References: <20180617012510.20139-1-jhubbard@nvidia.com> <20180617012510.20139-3-jhubbard@nvidia.com> <20180617200432.krw36wrcwidb25cj@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Dan Williams Cc: Jason Gunthorpe , john.hubbard@gmail.com, Matthew Wilcox , Michal Hocko , Christopher Lameter , Jan Kara , Linux MM , LKML , linux-rdma , John Hubbard , Christoph Hellwig On Sun, Jun 17, 2018 at 01:10:04PM -0700, Dan Williams wrote: > I believe kernel behavior regression is a primary concern as now > fallocate() and truncate() can randomly fail where they didn't before. Fail or block forever due to actions of other unprivileged users. That is a complete no-go.