Received: by 2002:a05:7412:85a1:b0:e2:908c:2ebd with SMTP id n33csp185280rdh; Mon, 30 Oct 2023 19:22:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGhapNO0cYP8Svt5LRaMh5FgZLIOlxZR70FS3eoVi7jXgfA9Jepme5HsvjeAIsrgc6xdJE9 X-Received: by 2002:a17:90b:3146:b0:280:4796:59b8 with SMTP id ip6-20020a17090b314600b00280479659b8mr1748195pjb.9.1698718965889; Mon, 30 Oct 2023 19:22:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698718965; cv=none; d=google.com; s=arc-20160816; b=nN3zRJyRaAyGtvl6vIbCdNuftVdztXX6pK2FvUvmR8yQ/dUVbJcS6QpIw1pRBhXpqa PENIqqu5lkrClUCCd+r7mQPczxnkKO5DF7L3hl5jgp2o6ELtJUb3RYTlQLnzC6jzbfS1 YTit1HBjiDjMnNce2wILXQKHYsNMQ4/8JL0J5SvcUctPkt4/vBKIZXXAHcaxvd5zfdV9 omBcVZd/Y2uc6Mf5R1APWS4S5DaiBePslptJPUsRPo0S/26IqhlIX9pKTVGXQUtGsTnU SRIRnjHdjaP1iVK7NsX/VTL8aTfPbetv1cHewgongZEBAR2iQSBqmnGZxBL201c79Q21 PTNw== 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:content-language:subject:mime-version:date :dkim-signature:message-id; bh=mNw8ul+I6BQ2X/oU0NkDeNQ5/l80DZzthFkS3oH+jYk=; fh=GByU5QLApU3jp7p0BuonIBRvwuX48GPFCOtpPTX5gno=; b=Z2lHksTYZUedsmNhyTF+20DIOnfT+L6xnNZmN/lo2aLRm27fYtNFpbRiiv/fjr+/Rb YkEfNS6y/tYJQflm2RTmkUtXObYjYbSVBZiY+8EdfX+dHQV5Cu7GZW/WQRLqX42YGkiJ U+f48uKXVKXJqlw+G2iqMY6NEEyJ5iyaOqk3CXbnG8FPEZFu2oi8FKvSNbcOmmmPgStn s/Xbeedd9PUIP3AIWbbZLDqW4wZNrh2F1+mVpzObk/9AOnTM1FcTjDU4mKewyURjcZX8 H5i92H9xVUeCEWmpeinhh+Z2PlUB1ePBkl/MzxGgT/aFH/GColZNh12G4YXE74JC8IWc 34jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=expCteQH; 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=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id lk7-20020a17090b33c700b0027383ac5ebcsi255962pjb.130.2023.10.30.19.22.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 19:22:45 -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=@linux.dev header.s=key1 header.b=expCteQH; 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=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D763E802A70C; Mon, 30 Oct 2023 19:22:40 -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 S231466AbjJaCWk (ORCPT + 99 others); Mon, 30 Oct 2023 22:22:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229766AbjJaCWi (ORCPT ); Mon, 30 Oct 2023 22:22:38 -0400 Received: from out-182.mta0.migadu.com (out-182.mta0.migadu.com [91.218.175.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BECFE6 for ; Mon, 30 Oct 2023 19:22:35 -0700 (PDT) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1698718953; 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=mNw8ul+I6BQ2X/oU0NkDeNQ5/l80DZzthFkS3oH+jYk=; b=expCteQHZceW/SmaSz+BmFkaJAGdNEW1wCgtbeDUk1OT5xzRccWbL5cdW1Xj3Ch8TGa6tg 3I/Fb1gXzDAWVm7+HbDI2cEtQWOojBhVZr5MbLE79as2L58cPkOYk3Z83ICzgkPAg6C/hw ApfKl1WnLf7GiZalw+XhAcP2jTEdNU0= Date: Tue, 31 Oct 2023 10:22:01 +0800 MIME-Version: 1.0 Subject: Re: [RFC PATCH v3 4/7] slub: Change get_partial() interfaces to return slab Content-Language: en-US To: Vlastimil Babka , cl@linux.com, penberg@kernel.org Cc: rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, roman.gushchin@linux.dev, 42.hyeyoo@gmail.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Chengming Zhou References: <20231024093345.3676493-1-chengming.zhou@linux.dev> <20231024093345.3676493-5-chengming.zhou@linux.dev> <2a709f66-41a0-9ab2-9965-6f513f6c0524@suse.cz> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Chengming Zhou In-Reply-To: <2a709f66-41a0-9ab2-9965-6f513f6c0524@suse.cz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT 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_PASS autolearn=ham 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]); Mon, 30 Oct 2023 19:22:41 -0700 (PDT) On 2023/10/31 00:55, Vlastimil Babka wrote: > On 10/24/23 11:33, chengming.zhou@linux.dev wrote: >> From: Chengming Zhou >> >> We need all get_partial() related interfaces to return a slab, instead >> of returning the freelist (or object). >> >> Use the partial_context.object to return back freelist or object for >> now. This patch shouldn't have any functional changes. >> >> Signed-off-by: Chengming Zhou > > Reviewed-by: Vlastimil Babka > > I think you could even move patches 3/7 and 4/7 to the front of the series, > as cleanups that are useful on their own. > Right, I will move these two to the front in the next version. Thanks!