X-Received: by 2002:a17:90a:db42:b0:1bc:5fe9:9107 with SMTP id u2-20020a17090adb4200b001bc5fe99107mr11933792pjx.199.1645664639284; Wed, 23 Feb 2022 17:03:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645664639; cv=none; d=google.com; s=arc-20160816; b=M8QvmdUqn3I39qTLAKXen4Tm3TiDS6IZWyqPVqxY9mX6HebjlB3wDFqtDVmbCA44ua T9tViRl9KDPLpYaMH3Y6LHhuDfYmV8VwSPFXZto8b/iXUnboPJUYezTZ1YcoRKHx1i8z Qe09knsYogr2rEFsZ5ZjG95K1hmOUp0TBsxzqxBMJhK8ePDNRrdKc0VHMtgjXK9MxYRF IvU3pvH1EqYq7sYjruFRDuwDc+HycJjupxXLYoawnkTSWdbj6marjLhbypW37fU3LxUC 1IBrY1Iu7MfsHlH9IAT9uAH14jOxGig3ABHgabUbi7GYhZ3Lu2u/bQuBavQlxzRgdMGA 5M1Q== 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=X+EChzHy2LfrMCosgoSfL9AXBhGBFnadi6QAOtRob1E=; b=a5wem2MusU/Myenh1sBXp8v3qFYcs6nLI0/6MR3SdBOVcqCTJwaZ411AOW89opfnXl EaOkL8CoRAbx6O4jQDhEkIpF+k59OmgSJyRpj2TjDycaJHRwF9LO5HoFQ1FpA4odkRpm WYcvoUOW7lQbbAWWlhMBBK95aP0dy0++qUnuzJSYgFD3fNyaZYZ8VJ+wA7xEm8bzkXF3 NUq8Y17RY1SjIsHB/+qKfFWHQt/l68OAdhF93njw/XMZ7IPj48XajuwnY6RNU1CBDw+Y lSLuZTvLV19sImwCSsJj4x4LunjopxYYij7+uoLFVnJyYrXGgur4yIgyVV5ZwUGolRk9 jHJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="gtRhR/8c"; dkim=neutral (no key) header.i=@suse.cz; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k5si981422pjc.23.2022.02.23.17.03.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 17:03:59 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="gtRhR/8c"; dkim=neutral (no key) header.i=@suse.cz; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0EE4C141E1F; Wed, 23 Feb 2022 16:54:14 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237706AbiBWSke (ORCPT + 99 others); Wed, 23 Feb 2022 13:40:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243986AbiBWSkd (ORCPT ); Wed, 23 Feb 2022 13:40:33 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA2454AE09 for ; Wed, 23 Feb 2022 10:40:05 -0800 (PST) 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 883511F44C; Wed, 23 Feb 2022 18:40:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1645641604; 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=X+EChzHy2LfrMCosgoSfL9AXBhGBFnadi6QAOtRob1E=; b=gtRhR/8czww0BMYYT26SJubp/Lrm9h0gw4vQI3C/rGHgM3VBYkRktamAPnNIDeYlPf2MUY ULjRwqrFCLUnJ0VHVPqL3offuGkwLLX/CsYyaORy2In+Nse2IiK0GfTEtzcoK0SljXFb25 +/KoNz/RlSZ+n/gsgp4ohPKMxNBV/NY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1645641604; 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=X+EChzHy2LfrMCosgoSfL9AXBhGBFnadi6QAOtRob1E=; b=+SMNEJYtOWHMxVHc/vlOKkDuFaFbnuAgzhkRVCEvnzwueZkfiFUwl+EYBn0FBCnU5qqBFo 5Ckzk4vGBQzNIyCw== 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 5D81713C98; Wed, 23 Feb 2022 18:40:04 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id TPEMFoR/FmKBPgAAMHmgww (envelope-from ); Wed, 23 Feb 2022 18:40:04 +0000 Message-ID: <18692a8a-00cf-67f5-e7bd-4eb82c64fdf1@suse.cz> Date: Wed, 23 Feb 2022 19:40:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH 2/5] mm/sl[auo]b: Do not export __ksize() Content-Language: en-US To: Matthew Wilcox , Hyeonggon Yoo <42.hyeyoo@gmail.com> Cc: linux-mm@kvack.org, Roman Gushchin , Andrew Morton , linux-kernel@vger.kernel.org, Joonsoo Kim , David Rientjes , Christoph Lameter , Pekka Enberg References: <20220221105336.522086-1-42.hyeyoo@gmail.com> <20220221105336.522086-3-42.hyeyoo@gmail.com> From: Vlastimil Babka In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 On 2/21/22 16:46, Matthew Wilcox wrote: > On Mon, Feb 21, 2022 at 10:53:33AM +0000, Hyeonggon Yoo wrote: >> Do not export __ksize(). Only kasan calls __ksize() directly. > > We should probably delete (most of) the kernel-doc comment on __ksize, > leaving only the note that it's uninstrumented and only called by > kasan. Also, we should probably move the declaration of __ksize from > include/linux/slab.h to mm/slab.h since we don't want to grow new callers. Agreed, thanks.