Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2868752rdh; Mon, 30 Oct 2023 09:55:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGW2RW7KR85KGPSdXUbmLRR6toXxB/+oo128icJz/ydOyvTRqR4arZvReUhXpUbX/T+QAJn X-Received: by 2002:a05:6a20:7610:b0:17d:dda5:3685 with SMTP id m16-20020a056a20761000b0017ddda53685mr8361751pze.27.1698684926695; Mon, 30 Oct 2023 09:55:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698684926; cv=none; d=google.com; s=arc-20160816; b=pPTqN276RVJxl9alSC1twpTiwKM1iyrgK8QYr+LnNEpXIq3i1r3STVo6jJmx51IfLz HdqGaLYq/D3VogISBAGr1uxBwlTCprA78c9mUd+r4Q9xi+xxDoXEs5ATh3CYEUenQTtM GWUBQ5UIUYC++4bzEH9CS9V4fq7F13mdhVJSJov9sTxymv6zC0+n9XhaPVRUo8/j6fYP hetU9Qhevra07eMy7uGxLWfmwNI+bk2XcCiD5HB4nASz/qvOyIY0XncPTvO++4bWqZGS MIinHL5YVttr1S+MPgMp2dJeuHsREcYm/ypwm+8svAiZA6dqxctnW9JYvQkJZC1gfMx5 TAnw== 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:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=Q/WwVEisMVovVm49h+Po4fpiZyJRGKEKONU7BEY6YR4=; fh=1dQjqMUTvvD26NH9CfxdSSnKd3i2/7wAguBb1AyGjPU=; b=PNY2Pgor9ucmvp11yd5Z4kOFuS/CKXZ7bTlCVSUXglCVe2jALDIOjz33NOhnwdRzgv fiy2FbkrbuUyyYgPzJSpSSk4ns7iP9EMUnKXagpy/XkHnWLvaOzq3ftdILpE1Pe0hyt/ l4QNUPhcXkh1M2j7CqChcSNlUevJZ9CvElTJGtB7b/j3T9KGaX3eARm0hRQ3rMYX0Dux +3rt2u9PQU6KRui49UzY1/TEdqLKPbx8nAfS32VjhyNIs+7P7BPgerRWlBI57LhitP5y C/es+/w2taVbhEJA+aK+jRd9pADYhYzDfF0esEZ8evj9fnzSvqDWErWnjJGP+B7m/qbV MKTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=NdzwN7sh; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id f9-20020a056a00228900b006b6efb7f99fsi5312294pfe.280.2023.10.30.09.55.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 09:55:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=NdzwN7sh; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 46CE1804AF74; Mon, 30 Oct 2023 09:55:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232072AbjJ3QzT (ORCPT + 99 others); Mon, 30 Oct 2023 12:55:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbjJ3QzR (ORCPT ); Mon, 30 Oct 2023 12:55:17 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E17798 for ; Mon, 30 Oct 2023 09:55:15 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 0DDED1F38C; Mon, 30 Oct 2023 16:55:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1698684914; h=from:from:reply-to: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=Q/WwVEisMVovVm49h+Po4fpiZyJRGKEKONU7BEY6YR4=; b=NdzwN7shXB5HgbUV836O1eaqlk3O7sMOT1ozTyGdGLmjRWbQuNPTmib2OvY2tlmn7pf78W LyIBD1DCkYdwdC0rqkd+01MFDIXWyJUl5bajWZCpiH3iDY37KkOrV9L2hMe7UMYikWU3yt fXYxdpb8aiyCFc/BAtZf0dEVLoKe9lk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1698684914; h=from:from:reply-to: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=Q/WwVEisMVovVm49h+Po4fpiZyJRGKEKONU7BEY6YR4=; b=pVSiP8i27mGVgEzYSWovAA/tIBEJ5By9EhIT0mqLzmURcrSBr8W+rWo1+SrSoVoAyNgrtS hte4F5A4s8cdi1AQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id CB704138F8; Mon, 30 Oct 2023 16:55:13 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id i97IMPHfP2VnHQAAMHmgww (envelope-from ); Mon, 30 Oct 2023 16:55:13 +0000 Message-ID: <2a709f66-41a0-9ab2-9965-6f513f6c0524@suse.cz> Date: Mon, 30 Oct 2023 17:55:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [RFC PATCH v3 4/7] slub: Change get_partial() interfaces to return slab Content-Language: en-US To: chengming.zhou@linux.dev, 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> From: Vlastimil Babka In-Reply-To: <20231024093345.3676493-5-chengming.zhou@linux.dev> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 30 Oct 2023 09:55:24 -0700 (PDT) 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. Thanks!