From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753002AbaC3DuN (ORCPT ); Sat, 29 Mar 2014 23:50:13 -0400 Received: from one.firstfloor.org ([193.170.194.197]:60061 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752802AbaC3DuL (ORCPT ); Sat, 29 Mar 2014 23:50:11 -0400 Date: Sun, 30 Mar 2014 05:50:09 +0200 From: Andi Kleen To: Jovi Zhangwei Cc: Ingo Molnar , Steven Rostedt , linux-kernel@vger.kernel.org, Masami Hiramatsu , Greg Kroah-Hartman , Frederic Weisbecker , Andi Kleen Subject: Re: [PATCH v2 10/29] ktap: add string handling code(kernel/trace/ktap/kp_[str|mempool].[c|h]) Message-ID: <20140330035009.GB22728@two.firstfloor.org> References: <1396017924-7754-1-git-send-email-jovi.zhangwei@gmail.com> <1396017924-7754-11-git-send-email-jovi.zhangwei@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1396017924-7754-11-git-send-email-jovi.zhangwei@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It's not clear to me why a kernel script language needs all that complicated string interning code. What kind of scripts would create as many strings that it would be worth it? I think it would be better to replace it with a really simple non interning dynamic string type. -Andi -- ak@linux.intel.com -- Speaking for myself only.