Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2427210rda; Wed, 25 Oct 2023 02:20:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG5IuELWvOiJbtpli8IoGS/NI/aBWgVaFTEF1NRDCjJTrczM7EDDisiYSPvtC0AH/u9D/xN X-Received: by 2002:a25:cf16:0:b0:da0:69e4:29d5 with SMTP id f22-20020a25cf16000000b00da069e429d5mr1786399ybg.43.1698225610482; Wed, 25 Oct 2023 02:20:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698225610; cv=none; d=google.com; s=arc-20160816; b=Ls405swqbFrE0Lrrl4gqcVpW7EFePkJQUCgDXyJClfyNbv5iM7m2y5Xl7xqccBosgv swJcc4qyZASm5mTN7b14o/sx/AKHTlzKQ4XvG595SmLp5zLSuQD6qEL4cKqARx8Fr475 WC+5MUSTijqv8TPiGCswS84AcmkSnxDSG8xjUHaquCgFRKE22FOpjz24vAjclgqbRkfU CAdLOCn1vdst4O+SRPoVOYF9eW3tulS8pBF3khos3eTH1yaC0ok4QxhGYRF7ULqVdh+b 9vURnPXst0iq6ytOCfd58HPpYI+1QOGOLj7ZShx6S3Owqedq1LxwtUXXl6GsofR7blV9 tGlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=k9LKvzwQ+kJJuy6F8sbzPBJK3ry5j/OSwVPg23+fo4o=; fh=pmgvzdpsBAQJ1TfrAy+uUexDne7OpIPHnqTwXgXYd2I=; b=axrHqjU+uAbIx5jleB0KaoUFyqccSiBLDxdAuRzUu+SDAphK9TLd0gmRc7BwK1fhY8 q6xSTQcl+HtXOJEpfZRUqtIv7VzB7P8XfusGQwTkD7ctqjtlIKT7CKo24ScSUbpV65je w1CsDn8c8hY9ysLim++jYy87qwVxmTl365A4muzErf+UOwXT6nbxq1Eb30LYlWHqtFlG O5PAnosZ7itD3M2do+YSfGqqCl6LmLTnPQAMoz9SuM/jMJmRRCnsklN5/h+xmNI+CZJo cPxuZt3vQT0BopD2z69P2gA3TgcX2QE+MYBX2UogtpPzfZsV0LtjuMIRfz04l/K7GeaU Kc0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=IcaldLvk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id 2-20020a250102000000b00da05c2e1753si2442611ybb.548.2023.10.25.02.20.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 02:20:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=IcaldLvk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 1D9D7801B650; Wed, 25 Oct 2023 02:20:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234034AbjJYJUI (ORCPT + 99 others); Wed, 25 Oct 2023 05:20:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232665AbjJYJUG (ORCPT ); Wed, 25 Oct 2023 05:20:06 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D654132 for ; Wed, 25 Oct 2023 02:20:03 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-27d3ede72f6so4777729a91.1 for ; Wed, 25 Oct 2023 02:20:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1698225603; x=1698830403; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=k9LKvzwQ+kJJuy6F8sbzPBJK3ry5j/OSwVPg23+fo4o=; b=IcaldLvkVDGaOtNo/OYfg/78rpVL13J0ZcBeqYR3u1G79aRK+Uz5lmZnkHlh8HTu5F VYHVsdfFgBgz4hId659tyYcoH3O+OcFY/ED3l6DVWi1WcrabgUeHxD5Az8CfPpTtL+zG ZM3DoH5Rqq5ZteqVIXDav6hKsXmukSywzs08TRulWaTbHcR2ooLewjkzU6lb3qUrTw7R 7m9WfdvYZjuzSUBez4oSk1t9wnTKwp90SehOccwcYdI/Vjy9S23CJH7QXIT9JPz9Ccni hOOmjfna4RJjHZSKkYYCHwrHGm8kBzYeHpHJD+rJyDJsOOw5aFS7sdipn7Mde9ptP6UV d1gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698225603; x=1698830403; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=k9LKvzwQ+kJJuy6F8sbzPBJK3ry5j/OSwVPg23+fo4o=; b=Z3imtsrMYPmEFNafEVScmgzJXkSrrLZPeQ1mSFqh9xHVpa3KbnICQIGIM8hYssqQvJ WAAIBpUCBkrT1xGRxgu9HL6QJ3YPox6N/yjw363kwEAA1YrRKXRd+Ojo9tfbTBA7wSkl tqyR6KDmBYyrD/V03FmJofNzna9xxOVNbSxP0BTn7pnHNa41tNTU+QbHBSO9Xy2I1W05 hug6j4b8iii/N7FfvUCuibSPqUnVlIm28IO1K/4OMuJyGySCiBDP9FrfHK75X6aLV10D dwRIDOqDczMJYn8woFH8JxwaPqz28tJjliB6nflDAx+r0GLGbzGnd56Y+fB6nQYpDIpe p6og== X-Gm-Message-State: AOJu0YzUyUJDcrD1xZJYgC07BSGTDE2mJOFEzWi4BXstPpiW1aGWNaUv UdV1zxGZw1pOEBU/MKW46cNWoQ== X-Received: by 2002:a17:90a:d24d:b0:274:c284:c83c with SMTP id o13-20020a17090ad24d00b00274c284c83cmr13222743pjw.48.1698225603087; Wed, 25 Oct 2023 02:20:03 -0700 (PDT) Received: from [10.71.178.184] ([203.208.189.7]) by smtp.gmail.com with ESMTPSA id d12-20020a17090a498c00b00278ff752eacsm8133414pjh.50.2023.10.25.02.19.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Oct 2023 02:20:02 -0700 (PDT) Message-ID: Date: Wed, 25 Oct 2023 17:19:54 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 03/10] maple_tree: Introduce interfaces __mt_dup() and mtree_dup() To: Matthew Wilcox Cc: Liam.Howlett@oracle.com, corbet@lwn.net, akpm@linux-foundation.org, brauner@kernel.org, surenb@google.com, michael.christie@oracle.com, mjguzik@gmail.com, mathieu.desnoyers@efficios.com, npiggin@gmail.com, peterz@infradead.org, oliver.sang@intel.com, mst@redhat.com, maple-tree@lists.infradead.org, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Peng Zhang References: <20231024083258.65750-1-zhangpeng.00@bytedance.com> <20231024083258.65750-4-zhangpeng.00@bytedance.com> From: Peng Zhang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Wed, 25 Oct 2023 02:20:09 -0700 (PDT) 在 2023/10/25 00:29, Matthew Wilcox 写道: > On Tue, Oct 24, 2023 at 04:32:51PM +0800, Peng Zhang wrote: >> +++ b/lib/maple_tree.c >> @@ -4,6 +4,10 @@ >> * Copyright (c) 2018-2022 Oracle Corporation >> * Authors: Liam R. Howlett >> * Matthew Wilcox >> + * >> + * Implementation of algorithm for duplicating Maple Tree > > I thought you agreed that line made no sense, and you were just going to > drop it? just add your copyright, right under ours. I'm sorry, I misunderstood your meaning last time. I will make corrections in the next version. Are you saying that only the following two lines are needed? This still needs to be confirmed with Liam. > >> + * Copyright (c) 2023 ByteDance >> + * Author: Peng Zhang >