Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4225499pxb; Mon, 21 Feb 2022 15:19:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxPPaMqFawwXvQWGaxROxnhQyTBX1nE0n2+ZjqDHgRYCaOF4oMYMarOzbOQl+YnlQ7LAv8z X-Received: by 2002:a62:1d07:0:b0:4bf:3782:22e3 with SMTP id d7-20020a621d07000000b004bf378222e3mr22146173pfd.52.1645485546438; Mon, 21 Feb 2022 15:19:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645485546; cv=none; d=google.com; s=arc-20160816; b=QEHfSUrB++JnRCiAxT4RBXXIbc7bvounByyTRsyqMQxLcGTAja8vzx+/k1JcNOPREG 2prbvE4yapn1FF8BCCjXMWpr+Kn2S00IRoU/qj+NHf6+glcKJJ6VuAi6NjAPD5gqomOo xhicL6XlEIh3MWPtCPpu/86S+lSOO5ezkwGJvQsVyKXDe7cs1rjsC6VlN83DU6e5JHHp 1z+n+9D2TE6FhD1c88GRGcL4WNDBlpNtPFCjTEFGKeQ+HlUcRB0jA0Mm0aOrXExRX6+M PixgHQDXtbwAIhlePxpwANlPyu2b74997nRobnHzWvRXXsFzkqelX9Vg6dDd9pZX3Vyl GdPw== 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=EV7HusSbqWhNkY6/yDWEBcroanF8730OLiwfi90dM0U=; b=Bx+FI8tNOWFXrUvlCvpriy8y1JTEkfNYYEexTP7SEh/yzr8ad6OsOg/kNsbvGMhfiA 1/DaAL+IrPGc06GwBHm8/7ClSKLtDJLqGrPyQesplcjVbP3S7BSGb0vHgq1Ft79+obWk Gu3Z4ISS3vXkKEpoZMjazToUk66QaCulYJrEpvja36D+Ezt0AQNrsdLf+a2E9c8PldRU xLEko87lypTJVh0Hz7fhi9kEmwampGQ2RmUMgONm4ahtM3oRbN3l/npskdCwTpRcCulb K6VtN39nbWxBQlnORwrvDmTEqZFuWtceSC2q6Wp0+NFkYuibrGEL1yT7UO6xzCWEBCEH 0hqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=PqmHvcn5; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h9si5766458pls.304.2022.02.21.15.18.51; Mon, 21 Feb 2022 15:19:06 -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=@infradead.org header.s=casper.20170209 header.b=PqmHvcn5; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379510AbiBUPq6 (ORCPT + 99 others); Mon, 21 Feb 2022 10:46:58 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:40728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379535AbiBUPqs (ORCPT ); Mon, 21 Feb 2022 10:46:48 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC46022BC4 for ; Mon, 21 Feb 2022 07:46:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=EV7HusSbqWhNkY6/yDWEBcroanF8730OLiwfi90dM0U=; b=PqmHvcn5WHBDlUEiZgM3d6y6X7 YSEkREN6468+QSX/Tp6pQPcMEU4y6x+2BZ+wooWcCbEGIA9VIfi8De17UjztlZPHS5jZWCe85tWr4 6Tp9Tj0ZhwCedYLwaS5ChBZN1M54jF/oKeLLc5tN2Ky7XucuTYPDsqUUm+k59QBOYPO6ar/iU7FWO Oh2dKPcmmBECbYYaxBLBhod3ZyVGXqBd94tp9MCmeZ67WmD8vLmIdwM/XbtwDGEE4B76cc9E2cc2Y 3rYaAj5ST6vRC1n8JkGKbRAlysqNKRKG+Ym/+pXyzucjhUo5GWzNBGGnSXVFKVa2w+vG56sA88q4q +g4H7anA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nMAsz-001xOo-2s; Mon, 21 Feb 2022 15:46:01 +0000 Date: Mon, 21 Feb 2022 15:46:01 +0000 From: Matthew Wilcox To: Hyeonggon Yoo <42.hyeyoo@gmail.com> 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: <20220221105336.522086-3-42.hyeyoo@gmail.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 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.