Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1376215rda; Mon, 23 Oct 2023 10:34:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFIBU9yiCRdbt4h102BXvQjXB7dM5BALjQWw4B/bNpr2NSSn5uPWNLOQFokN7rqJY6yrLNm X-Received: by 2002:a05:6a21:78a3:b0:17a:eddb:acc2 with SMTP id bf35-20020a056a2178a300b0017aeddbacc2mr317152pzc.46.1698082470464; Mon, 23 Oct 2023 10:34:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698082470; cv=none; d=google.com; s=arc-20160816; b=McFJJj4TYC4xphEDsyxyHyHlb6q53wTxh8Ju5bApUMBjYqqnEiSqCJO5m13IQz/MtJ aAxrosYBgEJNABkaggO9vlAV7SSPPKaBT+DSH9g5/JJQi/NC/+6rA6gCFjGIq2qFhwLQ EiJ8TeaX0G4IBA+wYdXwBRj0PLUoY432bnsRb5oQhcaFGPDrCGdD7sMFeZao0DImCYrr cDqwMvCokzS5Ukbo/fp3VYrk8846rlw/sbJXk7c0tcN+ybg2jxfHrtE3hzP331jvbN60 8R8djOid463f0lbBuDROMkJKxAf2I60Eb8/fctik0r0GANV9jEaayE6oySMZwK7e1KxD ow8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Jd2yjNaoQ2yfBc07aAbwU+MnAPablZLDgfD6SYP0lAY=; fh=YYi0fzP8QWoXXZRAPwk8LRfWStHDhWTg19XMtD6YFwU=; b=oZKhcGO/Ho14jaqBLF9XevSBm8KGt1WJPGePDxZGBW70eN+BfJhMTSE8zuS6P15MB5 GTJCW0I9wxZiOZczvAdonBPhSDjv3W5SjtTOLafN+/foH0ktuxn/kqlSa0m+sg3ynu/9 qql9xkib68kCPj8JBwPp6Kz0D5oNHqOM8CXcW5pieIw2IdyDQ8XdOizqqgkvCcFIPySs zowWialFoenxEml7Fy+t5cJSHgiciOWd3dG7SM61NYZ5IDknsi1K4Q8TcggWtKwZ1V03 jb2FeiEIwN5e6kdYGBmH+Qn4cTidLvn1BvFtmjZdGap73wWOiNpIWMgUKj+fynwSMyyE Ussw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=oicsvCGm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id n124-20020a632782000000b005acc951c57esi6762653pgn.526.2023.10.23.10.34.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 10:34:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=oicsvCGm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 797A680859B8; Mon, 23 Oct 2023 10:34:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232464AbjJWReD (ORCPT + 99 others); Mon, 23 Oct 2023 13:34:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233934AbjJWRd5 (ORCPT ); Mon, 23 Oct 2023 13:33:57 -0400 Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7CCA90 for ; Mon, 23 Oct 2023 10:33:54 -0700 (PDT) Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-5a84204e7aeso35023207b3.0 for ; Mon, 23 Oct 2023 10:33:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1698082434; x=1698687234; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Jd2yjNaoQ2yfBc07aAbwU+MnAPablZLDgfD6SYP0lAY=; b=oicsvCGmIBChkMYiu1IsCgFdLy95Mw2W4nn05UtI1lPw/Jl9JjreOTKe/DixFTSqlu bJ82I0CTktajVEx9ASvwEh4kgttZ268Yq7N4XIwmTPAPl3MfAgkvXONG09XqJGr1rauy ib9BIWOGiqsNmwvz1KewESasZ5mxRECu7PyVhs8AO8Zr+sE1gqHhrdZQin3nLFUm3RV1 Is3dBY6bKwJgkA83b0fYqq9E3tQtq6q8mOnd+1WfxS5BnAEYt471atT7DCv0DtbFDDR4 XcMs8CqdNlNjsMs2z7AuMuTihS2SaOqy6BNrzCo6WYueejwuHWgZQqm8PlJEc66SXcRP kkpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698082434; x=1698687234; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Jd2yjNaoQ2yfBc07aAbwU+MnAPablZLDgfD6SYP0lAY=; b=kWG4J50SVxADOli+lVeFbSihNkeHn+CbXJvFWcPNY+2dH6magC3hi/ovqmV1fWtnD8 xxA5OUIjBkbNJQAQT102hIzlI5AWDVecZe+hnIN/WuyjF1PFmUBzvGHLpD3YE+NItGDh YB5QmiqO74e/G6qvUaOFE4z7ZjveoltgCWrkKAcFgCQxYZU8dRO5hrjr6CTzPTokQBe9 Z7OhTcikV+DEUM0ISEdsm2DVA8XRadrwnktbEoQY2MZ821Jd9Y7/b7ODZ85bZIWCpwBa sXuhdfAE8NohbK+eNRHaXCHROkZbMZbAx+4C8+qMaaTVbESAcWRWQskD8BZ9/sgb2W4P 6BHw== X-Gm-Message-State: AOJu0YxQF5XQxJDlUZvR2SxqXl4wHIhcAOTcOwdVQHcl4xQN4Zpn+Hts 8B3KWYbYTwUAgYrzzIFKMFFrf/RHNO8oeyMz7M7aaQ== X-Received: by 2002:a0d:d943:0:b0:5a7:bcbb:b948 with SMTP id b64-20020a0dd943000000b005a7bcbbb948mr11236411ywe.15.1698082433789; Mon, 23 Oct 2023 10:33:53 -0700 (PDT) MIME-Version: 1.0 References: <12588295-2616-eb11-43d2-96a3c62bd181@redhat.com> <8d187891-f131-4912-82d8-13112125b210@redhat.com> <81cf0943-e258-494c-812a-0c00b11cf807@redhat.com> <1156ad46-1952-4892-8092-bfbb8588c3f3@redhat.com> <96899aa6-700b-41b9-ab11-2cae48d75549@redhat.com> In-Reply-To: <96899aa6-700b-41b9-ab11-2cae48d75549@redhat.com> From: Suren Baghdasaryan Date: Mon, 23 Oct 2023 10:33:40 -0700 Message-ID: Subject: Re: [PATCH v3 2/3] userfaultfd: UFFDIO_MOVE uABI To: David Hildenbrand Cc: Peter Xu , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Mon, 23 Oct 2023 10:34:27 -0700 (PDT) On Mon, Oct 23, 2023 at 9:36=E2=80=AFAM David Hildenbrand wrote: > > On 23.10.23 14:03, David Hildenbrand wrote: > > On 22.10.23 17:46, Peter Xu wrote: > >> 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, co= uld > >>> 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 stil= l > >> prefer to rename it, which I'm totally fine with. > >> > >> The 2nd question is wrong from your interpretation. That's not my poi= nt, > >> at least not starting from a few replies already. What I was asking f= or is > >> why such page movement between mm is dangerous. I don't think I get s= olid > >> answers even until now. > >> > >> Noticing "memcg is missing" is not an argument for "cross-mm is danger= ous", > >> it's a review comment. Suren can address that. > >> > >> You'll propose a new feature that may tag an mm is not an argument eit= her, > >> 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. A= nyone > >> would like to add that can already refer to discussion in this thread. > >> > >> I hope I'm clear. > >> > > > > I said everything I had to say, go read what I wrote. > > Re-read your message after flying over first couple of paragraphs > previously a bit quick too quickly (can easily happen when I'm told that > I misunderstand questions and read them in a "biased" way). > > I'll happy to discuss cross-mm support once we actually need it. I just > don't see the need to spend any energy on that right now, without any > users on the horizon. > > [(a) I didn't blame anybody, I said that I don't understand the > reasoning. (b) I hope I made it clear that this is added complexity (and > not just currently dangerous) and so far I haven't heard a compelling > argument why we should do any of that or even spend our time discussing > that. (c) I never used "memcg is missing" as an argument for "cross-mm > is dangerous", all about added complexity without actual users. (d) "it > easily shows that there are cases where this will require extra work -- > without any current benefits" -- is IMHO a perfectly fine argument > against complexity that currently nobody needs] Thanks for the discussion, folks! I think posting the single-mm first and then following up with cross-mm and its test would help us move forward. That will provide functionality that is needed today quickly without unnecessary distractions and will give us more time to discuss cross-mm support. Also we will be able to test single-mm in isolation and make it more solid before moving onto cross-mm. I'll try to post the next version sometime this week. Thanks, Suren. > > -- > Cheers, > > David / dhildenb >