Re: [PATCH] ftrace: Do not copy old hash when resetting.

2014-07-18 Thread Steven Rostedt
On Fri, 18 Jul 2014 12:44:18 +0800 Wang Nan wrote: > Hi Steve, > > What's your opinion on my v2 patch ( https://lkml.org/lkml/2014/7/14/839 )? > > I have swapped if consitions following your suggestion. > Bah I didn't see it. Damn Claws mail, I need to figure out why the f*ck it randomly mar

Re: [PATCH] ftrace: Do not copy old hash when resetting.

2014-07-17 Thread Wang Nan
Hi Steve, What's your opinion on my v2 patch ( https://lkml.org/lkml/2014/7/14/839 )? I have swapped if consitions following your suggestion. On 2014/7/14 12:10, Wang Nan wrote: > If we are going to reset hash, we don't need to duplicate old hash > and remove every entries right after allocation

Re: [PATCH] ftrace: Do not copy old hash when resetting.

2014-07-14 Thread Steven Rostedt
On Mon, 14 Jul 2014 12:10:00 +0800 Wang Nan wrote: > If we are going to reset hash, we don't need to duplicate old hash > and remove every entries right after allocation. > > Signed-off-by: Wang Nan > Cc: Steven Rostedt > Cc: Ingo Molnar > --- > kernel/trace/ftrace.c | 8 +--- > 1 file c

[PATCH] ftrace: Do not copy old hash when resetting.

2014-07-13 Thread Wang Nan
If we are going to reset hash, we don't need to duplicate old hash and remove every entries right after allocation. Signed-off-by: Wang Nan Cc: Steven Rostedt Cc: Ingo Molnar --- kernel/trace/ftrace.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/kernel/trace/ftra