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 53CD0C7EE21 for ; Tue, 2 May 2023 13:29:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234237AbjEBN3g (ORCPT ); Tue, 2 May 2023 09:29:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233793AbjEBN3d (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 915215B8E 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-306-Qs_tP9dmNoystyplRNMcGw-1; Tue, 02 May 2023 09:28:44 -0400 X-MC-Unique: Qs_tP9dmNoystyplRNMcGw-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-3f3157128b4so105404055e9.0 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=C2wtOx2BIa4myw/AAV+z6urV+JZU4coPE/QZoASDYidPmXByw3WfvPAR7YFzg0SUjq HtaHunkx7cDBqaRNQo2i9YjugmxVWOdwFsH14OBIUFaewhHYqFl/xNfZkR6LFlaacATU NoXqa/j3RP1ip4xxituXM9F7+5kPHxJMjqW6aIWSGNm50wgcy7fHtIgRUu424qyFD3jy YSrfP/FmEufs7TZjMFlKtbdrkmbrn3UJah17l9yCX5ksyab/xRFN4syivxoqmHZlZJVH ZSbzKZsPkNHvbw6h332yaCyZB3YXsajs+og+VTiy3nrZAfhBG2/8AOhrrekYksTcmoz3 UEZQ== X-Gm-Message-State: AC+VfDxpGK7P7dj+GW+n18vAHZIqlFqzJvqdHPWa1qZesfR5jN6/3S4u EPaWegjOrWwLRblz3skJmHMMkRJfRfwtitJx6+7smOEKiqJDEJZNE43Jbj2jGxkUMqABFYwEQXq Nxyh52lLACWD4KhUvcXqIIp0H X-Received: by 2002:a7b:c7c4:0:b0:3f1:6f57:6fd1 with SMTP id z4-20020a7bc7c4000000b003f16f576fd1mr12572122wmk.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-kernel@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