From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6BDCC433FE for ; Wed, 2 Nov 2022 21:33:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230519AbiKBVdR (ORCPT ); Wed, 2 Nov 2022 17:33:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230435AbiKBVdP (ORCPT ); Wed, 2 Nov 2022 17:33:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CB376594 for ; Wed, 2 Nov 2022 14:33:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AE03161C4B for ; Wed, 2 Nov 2022 21:33:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85E53C433D6; Wed, 2 Nov 2022 21:33:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1667424794; bh=8cJlPuX9KORwrRCS43g+lWrI3lYT3ryduTT5NHnhsxk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=j87avb9KFFvWqE8oox9WQx6FuI8b5CdDyi1bi1LBnP/fqG9zgYlAb0tcoFWU0a1dk GVunEsCdSua/Zokpg1E/ETEtNXLiXKLc/uL/DhzffEZtImpeMb767bubnxLE2fbzzv Oxf1K26mK7n6zwrGhd9HTh4fJUMGex7L3nshFQ4U= Date: Wed, 2 Nov 2022 14:33:12 -0700 From: Andrew Morton To: wuqiang Cc: mhiramat@kernel.org, davem@davemloft.net, anil.s.keshavamurthy@intel.com, naveen.n.rao@linux.ibm.com, rostedt@goodmis.org, peterz@infradead.org, sander@svanheule.net, ebiggers@google.com, dan.j.williams@intel.com, jpoimboe@kernel.org, linux-kernel@vger.kernel.org, mattwu@163.com, kernel test robot Subject: Re: [PATCH v4] kprobes,lib: kretprobe scalability improvement Message-Id: <20221102143312.a1b09fe962e8e1057fd4a872@linux-foundation.org> In-Reply-To: <20221102023012.6362-1-wuqiang.matt@bytedance.com> References: <20221101014346.150812-1-wuqiang.matt@bytedance.com> <20221102023012.6362-1-wuqiang.matt@bytedance.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2 Nov 2022 10:30:12 +0800 wuqiang wrote: > Tests of > kretprobe throughput show the biggest ratio as 333.9x of the original > freelist. Seriously. I'll add this for some runtime testing. Are you able to identify other parts of the kernel which could use (and benefit from) the new objpool?