From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757844AbZEVSmR (ORCPT ); Fri, 22 May 2009 14:42:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754239AbZEVSmI (ORCPT ); Fri, 22 May 2009 14:42:08 -0400 Received: from mx2.redhat.com ([66.187.237.31]:55152 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753025AbZEVSmI (ORCPT ); Fri, 22 May 2009 14:42:08 -0400 Date: Fri, 22 May 2009 20:37:39 +0200 From: Oleg Nesterov To: Zhaolei Cc: Frederic Weisbecker , Steven Rostedt , Ingo Molnar , Tom Zanussi , LKML Subject: Re: [PATCH v2] tracing/workqueue: Get rid of searching last executed worklet in probe_worklet_complete() Message-ID: <20090522183739.GA26234@redhat.com> References: <4A153345.3040905@cn.fujitsu.com> <4A1610B6.7010203@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A1610B6.7010203@cn.fujitsu.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/22, Zhaolei wrote: > > We don't need search workqueue's worklet list for worklet which was latest > executed, instead, we can use a pointer in cpu_workqueue_stats to remember > which worklet was just executed. Thanks Zhao, I think this is correct. Oleg.