From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ADDD1C77B73 for ; Tue, 2 May 2023 13:29:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234202AbjEBN3e (ORCPT ); Tue, 2 May 2023 09:29:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233018AbjEBN3d (ORCPT ); Tue, 2 May 2023 09:29:33 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 986BD5FC2 for ; Tue, 2 May 2023 06:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683034125; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IROBYfVezUGUOMHt+Xf+RoziNZv7xK7RsTQX0q9IseM=; b=HwCmDOsxVeDP30hvheU4OJ+dXmcM7Cnj/B8kPx2//x4qVUhWecQCHF431MMymBlEIRcXlV jSsd5L2mUd0fnRuQAsLP1HHbGNLEuoD180qSXZySxoXVpxfNnX8hUWyRB/jro4Qj/HgUl7 SkiF7FBIYnreHJtAh/d1d+TqH0gTrk4= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-96-S7hp6j_7PGSJpuuPCHRmTw-1; Tue, 02 May 2023 09:28:44 -0400 X-MC-Unique: S7hp6j_7PGSJpuuPCHRmTw-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-3f315735edeso105233475e9.1 for ; Tue, 02 May 2023 06:28:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683034123; x=1685626123; h=content-transfer-encoding:in-reply-to:subject:organization:from :references:cc:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IROBYfVezUGUOMHt+Xf+RoziNZv7xK7RsTQX0q9IseM=; b=Lni+SPu93N7bg5nXqAEZ+Vrd8rzahmwgd9OrYenpj2TvI/YOWEEDNzFvGFwjYO4xKp 8eVWNG5B1pE6ANGMHawMR1LFdrKEhny+ETrqlNXjm10iNvDbpdW3FFpFknsDb4UE/JAN MDcaVi2Rp8gtIb/ZRAz5B07mBRUkXw5zIJVT/GJM58YSK+rvex/YHN3JgnGTwPVxQ1kb H6pK3C4J43Frs1q3Nm8asrMP2iKDILx4hWty0J5xICyac6XYCXLQngmsUSC/WxnoQCQq U9iwhAbgw69UzRQ5QFylRqKMS+wH0znhY39PdrESoYD5/dZP+D+MhMMN817qHM8+xGkT 0wIA== X-Gm-Message-State: AC+VfDw4+aA0ZDvSXQXdqUDj/ag0q1a5dr9jCeOYtAM2CbHar5kV8AIj kPRM0fPtjHEDUY5WfYkY+x4Angggru3deGrsHX1ZL9obkxz9LEn/Or4XMSzOFObAVVKSvtj4H0M wDWIo52CssBN0f6KvJJkXyCJc1iatlg== X-Received: by 2002:a7b:c7c4:0:b0:3f1:6f57:6fd1 with SMTP id z4-20020a7bc7c4000000b003f16f576fd1mr12572119wmk.9.1683034123615; Tue, 02 May 2023 06:28:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4zyzv2s4Kee5M/SxJ733JQIlFSdNxIYqlUKU4njxydWjKV07txCkKBkKlNa6sh0b/vYPOUXQ== X-Received: by 2002:a7b:c7c4:0:b0:3f1:6f57:6fd1 with SMTP id z4-20020a7bc7c4000000b003f16f576fd1mr12572106wmk.9.1683034123289; Tue, 02 May 2023 06:28:43 -0700 (PDT) Received: from ?IPV6:2003:cb:c700:2400:6b79:2aa:9602:7016? (p200300cbc70024006b7902aa96027016.dip0.t-ipconnect.de. [2003:cb:c700:2400:6b79:2aa:9602:7016]) by smtp.gmail.com with ESMTPSA id p5-20020a05600c468500b003f18141a016sm38716313wmo.18.2023.05.02.06.28.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 May 2023 06:28:42 -0700 (PDT) Message-ID: Date: Tue, 2 May 2023 15:28:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Content-Language: en-US To: Jason Gunthorpe , Christian Borntraeger Cc: Lorenzo Stoakes , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Jens Axboe , Matthew Wilcox , Dennis Dalessandro , Leon Romanovsky , Christian Benvenuti , Nelson Escobar , Bernard Metzler , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , Bjorn Topel , Magnus Karlsson , Maciej Fijalkowski , Jonathan Lemon , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Christian Brauner , Richard Cochran , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , linux-fsdevel@vger.kernel.org, linux-perf-users@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, Oleg Nesterov , John Hubbard , Jan Kara , "Kirill A . Shutemov" , Pavel Begunkov , Mika Penttila , Dave Chinner , Theodore Ts'o , Peter Xu , Matthew Rosato References: <7d56b424-ba79-4b21-b02c-c89705533852@lucifer.local> From: David Hildenbrand Organization: Red Hat Subject: Re: [PATCH v6 3/3] mm/gup: disallow FOLL_LONGTERM GUP-fast writing to file-backed mappings In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org On 02.05.23 15:10, Jason Gunthorpe wrote: > On Tue, May 02, 2023 at 03:04:27PM +0200, Christian Borntraeger wrote: > \> > We can reintroduce a flag to permit exceptions if this is really broken, are you >>> able to test? I don't have an s390 sat around :) >> >> Matt (Rosato on cc) probably can. In the end, it would mean having >> >> >> > > This s390 code is the least of the problems, after this series VFIO > won't startup at all with this configuration. Good question if the domain would fail to start. I recall that IOMMUs for zPCI are special on s390x. [1] Well, zPCI is special. I cannot immediately tell when we would trigger long-term pinning. [1] https://www.mail-archive.com/qemu-devel@nongnu.org/msg875728.html -- Thanks, David / dhildenb