Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp213872pxm; Tue, 22 Feb 2022 21:24:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxVyL+sjIHqfuuyEVvwcy1z8YRxr8gL9HrbS7CXt0o57iLBT6bqhHO6f3bNTG3wBkCu2Cm4 X-Received: by 2002:a05:6a00:1a42:b0:4c9:f270:1f39 with SMTP id h2-20020a056a001a4200b004c9f2701f39mr28166289pfv.50.1645593888385; Tue, 22 Feb 2022 21:24:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645593888; cv=none; d=google.com; s=arc-20160816; b=WO7BW9iKGHCqSLpALNIS80/zs+cPkzbvhmpa/HGfqU5P63HOehIPdiIX8ge5/BsaQR 8i1/gLlnFmWIeu/9g35DdCISyjQ8wmfcKwb2DfD+WKp1jHQuEaBGQwq+QBvyTa77aBuS +/lf+NcujZDh4eck+3UnzqPpMPRG0gKhwkjYemuv1vuyqWFKnkB72qJSAxTvrvGB3YMT DTbX00GrR3qNxVcTm+dLgcsXoAjUZffjxOnN1/U8oZqsjokRVJbYyK36E99hIbZqSvps abKVmsRvhIV7RX0MlCbS580t2MM0qm08X+7xab/Q+5Ld3qU/yADejDSej14p7FAdtVSW esZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hHo8dvg3ISjeopAogIYFlvrWZIJV/AddrIydDcQpt3s=; b=0RbH9Ll9qKXW9lPLpOPiehNZw7eOPNW1qHt49HjPjLfSZDTNzCkEQ/ehg3GlxFRGrS tUlTe9AhGu+n/VDqFV1CKLzqerCWf2k23YTRkngU2kXfL5AVnOjt+BgcT6I7FDdCYOSU dqIRXx/X/KPjVPnE007cABmCugFtShO91cXg34koZpKVyTc8n7UvySaLHL3+UuvECzZW YcSyc2Mly+y7WC9cB45BE2hyXzhz6t2W9uVLtqlfVUE3ovemJJgu9QrNKaqHpwHJj5IB ZjtR2Ayv0ZsGC5VCFaIv2vshxw6K5dMQw363f4Tg4fta4RLSUK9ERcj3Kid/ViH4q13G hj9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hHRgqWRL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j13si1877507plr.535.2022.02.22.21.23.49; Tue, 22 Feb 2022 21:24:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hHRgqWRL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237478AbiBWD1b (ORCPT + 99 others); Tue, 22 Feb 2022 22:27:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230404AbiBWD1a (ORCPT ); Tue, 22 Feb 2022 22:27:30 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A11C30F42 for ; Tue, 22 Feb 2022 19:27:04 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id j10-20020a17090a94ca00b001bc2a9596f6so1476881pjw.5 for ; Tue, 22 Feb 2022 19:27:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=hHo8dvg3ISjeopAogIYFlvrWZIJV/AddrIydDcQpt3s=; b=hHRgqWRLAGRwwt9P+lsaS5UqV2CgvlBTCAIjtKuJ4qUJatPXBGsKxO9Cp8jwcR9J3X 9g7TJzANL41E2EKpAg/L1t5M0O8zQ8n/1j7kbiYHK/s+w8mays/5dT3BGl40YRileQTa FkYyAZ70fNOxS3x5TZGytLWocSkCm4IP0DU3lUrwIUNaBJAe2HvcEJ4mp+NgNjJy8e1l lqzKqqkBk/1JFu8ru2lnmdaj+0Vaw3wK+K7ikmWJFgI7TiwkGy+iDHKZgnUwV3QirWvd 1IqhurJMpv3NlaocH2tMRStnKVjkpnhIKGhImduW+y5npvhKO4iMG+x2fME3qeP0y+OH h6tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=hHo8dvg3ISjeopAogIYFlvrWZIJV/AddrIydDcQpt3s=; b=R7P/DwrMrwk6/VVhPWts7WdLbHEgG30rYLqxJeb4FQ4NNMpSUb7b9qj3Ot+6bcGf3D WxuQsMTz+JrbRq0F4RGtdIcBAkxQmbRldZffaWFGVUORgS8Lj+QOF4h+qvStmRSZWmH0 8rMzOHT1nsiPkU7nH1EzooTRNBChnF8EBqNliDiA5V1v9Rvm/z87J6qLAh4bTS1v9wQb HYslwzLI0l1fUFgGDi7kHUA8YLqsXGZ3YXydEWUHKuoD3bk7AWKqV0ri8db2VTn5VWOn fph8D9NPPfXgxs1PrOIyvfSKRgsU/NO9LjBrVdMAytcqFt3CH725/ufKCXmFbs3dmve0 XU8A== X-Gm-Message-State: AOAM531wV3bSVAjEkfW/gvCondPUcTfpw+Te1o7236Bk9pguhrQVsKX+ N6eV3txl/ZhZtCQEU6gaOlo= X-Received: by 2002:a17:90a:b00d:b0:1bc:5d68:e7a8 with SMTP id x13-20020a17090ab00d00b001bc5d68e7a8mr7290589pjq.59.1645586823698; Tue, 22 Feb 2022 19:27:03 -0800 (PST) Received: from ip-172-31-19-208.ap-northeast-1.compute.internal (ec2-18-181-137-102.ap-northeast-1.compute.amazonaws.com. [18.181.137.102]) by smtp.gmail.com with ESMTPSA id na15sm1081334pjb.17.2022.02.22.19.27.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 19:27:03 -0800 (PST) Date: Wed, 23 Feb 2022 03:26:59 +0000 From: Hyeonggon Yoo <42.hyeyoo@gmail.com> To: Matthew Wilcox Cc: linux-mm@kvack.org, Roman Gushchin , Andrew Morton , Vlastimil Babka , linux-kernel@vger.kernel.org, Joonsoo Kim , David Rientjes , Christoph Lameter , Pekka Enberg Subject: Re: [PATCH 2/5] mm/sl[auo]b: Do not export __ksize() Message-ID: References: <20220221105336.522086-1-42.hyeyoo@gmail.com> <20220221105336.522086-3-42.hyeyoo@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HK_RANDOM_ENVFROM, HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, 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 Mon, Feb 21, 2022 at 03:46:01PM +0000, 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. Seems reasonable. I'll update it in next version! Thanks. -- Hyeonggon