Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp764829rda; Sun, 22 Oct 2023 08:48:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFVMQOvrp12r5XpiGvR+w8t+9oOSL/aforqHXA4keFHg5N+DjdP2O1GyvPgfr5J16SDVW6g X-Received: by 2002:a05:6a21:7746:b0:15d:42d5:6cb5 with SMTP id bc6-20020a056a21774600b0015d42d56cb5mr5044557pzc.28.1697989692590; Sun, 22 Oct 2023 08:48:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697989692; cv=none; d=google.com; s=arc-20160816; b=S1NBUKVhELqK1FN51H5CN1CHlmuXgY3Zn3Te9ocoioQUpQ6CgAQYvWNhzkhXqwLn17 XWl7sD0gNpD2CfP18zkJVb64Wa1buYPyOqRqAz0RFKZ2BFBcYGOBMp63hq3AOcIDmIRn sZo0QMZenY1NcikQv+mBX2N3oFJD6+6b13FywHtN4/sqd2JPKvaRl46boWvcvejMM7P8 yXXy0bMi48YbvoCVuuK1fk5im67tt8ZQN+BdJhnR7WYOvT5ivuqQKufx9HtwWVj37BoK BsxMuvAaMDv1HVU62wZsefrqpN9vCPgsqpro5x8EccXbYqLOv0KjkY4Y5HWfMRKcPB0R AHBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UGgrk7U7ziyea5cunTO+IloGn3qNk/rZsIkV0TfaQNg=; fh=TlpxucJYgrCtLBnpO/P3Cn/KlceaxPzvmgwSNWaDvXA=; b=EQ2GjdLqBmjbiVBTs3G4iWyD35+OszmSGZLEru0P4Nlg8lENMuFMqFzNg/xMSHmkL1 6p9vhWoFAeRVHwsioA3d8aUdLjR1rBSCTLLZxrldJg5VFFDTEbDaNBEWdYek7EXVAIEH /+AS2RJBgHbDevLNwrAuO/ZoaWYu4Asz40a+yOzfYL6B3Q865AVKYzyHOM4I5mg7ft/Q 20yQmEbULdh/rDYXv99VlB54trg4R13homT4SSwx8Iu3j7GAK1Lk9/1hq8+LvHqfU4S8 bgKfedY7mwt6aUF7gPI3jxMPJnCK37DpGy8lkij6JRr1pcfM6LV4+5FgxQAsw6SMB86f YHoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FrAUZpfx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id e8-20020a17090301c800b001bb6d711625si5143849plh.279.2023.10.22.08.48.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 08:48:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FrAUZpfx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 6A94E8057E5B; Sun, 22 Oct 2023 08:48:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232295AbjJVPsA (ORCPT + 99 others); Sun, 22 Oct 2023 11:48:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231955AbjJVPr7 (ORCPT ); Sun, 22 Oct 2023 11:47:59 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E2F0D75 for ; Sun, 22 Oct 2023 08:46:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697989607; 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: in-reply-to:in-reply-to:references:references; bh=UGgrk7U7ziyea5cunTO+IloGn3qNk/rZsIkV0TfaQNg=; b=FrAUZpfxnnPVlUGgCHHDC+EUUqI7NNQ1Lun6unnb4LTnGVnMg4A0FxV8HZbj41ZMoSya/k XzLjEGVhuTrjGx9EHQCrJSfLHf+weL5vrkOBYOhgw/5sew4t9ZMdD3CbO1F+BLSbVyxRCl mEC/UJBnq8/3MbjsML/PO8Gk3iMOax0= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-513-lqTUou76OTKjvFILcLW_8Q-1; Sun, 22 Oct 2023 11:46:35 -0400 X-MC-Unique: lqTUou76OTKjvFILcLW_8Q-1 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-66d3f71f49cso8867146d6.1 for ; Sun, 22 Oct 2023 08:46:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697989595; x=1698594395; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=UGgrk7U7ziyea5cunTO+IloGn3qNk/rZsIkV0TfaQNg=; b=k5BIAgzmj+K3NcwaptmEWUMBjQ9lB2EkdXOcvONA5fTL0oeB1v62a0VSMTYbkg+uaj rmgsB1nUZXpd8bNFqqZ5j9ERPdvh9hRA4MG30w3kt4RtpG8C0p7kOZGVid0Rr42qYY1O i1SqatDWkmOSDnztrznO2FVB8VOqOlBF0FQlKLNPpbwlk0JTZx94L1O4b7eh4l3YFb9w IzAWlQC1cUXNCoRJj3aDGxoSnUi0PFQQfZaIQzonxEji3Q/rvsWCtSjZEEwiUbI36YMd qUHs7j1uLjVFeSR0Ng+nhsP1xqcd7GUocTSpDCU52WFzhm7GNvZmtMR78zKbrjzah4Aw LQHA== X-Gm-Message-State: AOJu0YwGD10QuJTPZ3isUJ7ZRQFrnmVi3sIUDgg94Ovqm5buaOjQ6xJ1 kk+50fIJgS/jgEpLlpkIN+F1QtjKco2ee8eGzeCvEkeXY9KTukDvy8tzsyxS4MF3N6KRVD87rl9 7p2K9CT5iaZ5ulB8RWx9qOjgf X-Received: by 2002:a05:620a:2b4d:b0:773:b634:b05a with SMTP id dp13-20020a05620a2b4d00b00773b634b05amr6696805qkb.2.1697989595289; Sun, 22 Oct 2023 08:46:35 -0700 (PDT) X-Received: by 2002:a05:620a:2b4d:b0:773:b634:b05a with SMTP id dp13-20020a05620a2b4d00b00773b634b05amr6696793qkb.2.1697989594852; Sun, 22 Oct 2023 08:46:34 -0700 (PDT) Received: from x1n (cpe5c7695f3aee0-cm5c7695f3aede.cpe.net.cable.rogers.com. [99.254.144.39]) by smtp.gmail.com with ESMTPSA id o8-20020a05620a228800b0076cdc3b5beasm2100836qkh.86.2023.10.22.08.46.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 08:46:33 -0700 (PDT) Date: Sun, 22 Oct 2023 11:46:31 -0400 From: Peter Xu To: David Hildenbrand Cc: Suren Baghdasaryan , Lokesh Gidra , akpm@linux-foundation.org, viro@zeniv.linux.org.uk, brauner@kernel.org, shuah@kernel.org, aarcange@redhat.com, hughd@google.com, mhocko@suse.com, axelrasmussen@google.com, rppt@kernel.org, willy@infradead.org, Liam.Howlett@oracle.com, jannh@google.com, zhangpeng362@huawei.com, bgeffon@google.com, kaleshsingh@google.com, ngeoffray@google.com, jdduke@google.com, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH v3 2/3] userfaultfd: UFFDIO_MOVE uABI Message-ID: References: <12588295-2616-eb11-43d2-96a3c62bd181@redhat.com> <8d187891-f131-4912-82d8-13112125b210@redhat.com> <81cf0943-e258-494c-812a-0c00b11cf807@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 22 Oct 2023 08:48:10 -0700 (PDT) On Fri, Oct 20, 2023 at 07:16:19PM +0200, David Hildenbrand wrote: > These are rather the vibes I'm getting from Peter. "Why rename it, could > confuse people because the original patches are old", "Why exclude it if it > has been included in the original patches". Not the kind of reasoning I can > relate to when it comes to upstreaming some patches. You can't blame anyone if you misunderstood and biased the question. The first question is definitely valid, even until now. You guys still prefer to rename it, which I'm totally fine with. The 2nd question is wrong from your interpretation. That's not my point, at least not starting from a few replies already. What I was asking for is why such page movement between mm is dangerous. I don't think I get solid answers even until now. Noticing "memcg is missing" is not an argument for "cross-mm is dangerous", it's a review comment. Suren can address that. You'll propose a new feature that may tag an mm is not an argument either, if it's not merged yet. We can also address that depending on what it is, also on which lands earlier. It'll be good to discuss these details even in a single-mm support. Anyone would like to add that can already refer to discussion in this thread. I hope I'm clear. -- Peter Xu