From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760630Ab2EIRqx (ORCPT ); Wed, 9 May 2012 13:46:53 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:49012 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755594Ab2EIRqu (ORCPT ); Wed, 9 May 2012 13:46:50 -0400 MIME-Version: 1.0 In-Reply-To: <1336573788.14207.208.camel@gandalf.stny.rr.com> References: <1335388704-26790-1-git-send-email-vnagarnaik@google.com> <1336096792-25373-1-git-send-email-vnagarnaik@google.com> <1336534682.14207.197.camel@gandalf.stny.rr.com> <1336573788.14207.208.camel@gandalf.stny.rr.com> From: Vaibhav Nagarnaik Date: Wed, 9 May 2012 10:46:20 -0700 Message-ID: Subject: Re: [PATCH v7 1/3] trace: Make removal of ring buffer pages atomic To: Steven Rostedt Cc: Frederic Weisbecker , Ingo Molnar , Laurent Chavey , Justin Teravest , David Sharp , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 9, 2012 at 7:29 AM, Steven Rostedt wrote: > This is far from a hot path. In fact, it's quite slow. Lets not uglify > code just to optimize something that's not time critical. > > Please combine these two into a single loop. The wait for completion is > fine as a separate loop. > Sure, I will update the patch with that change. Have you found any other issues in testing the patch? Vaibhav Nagarnaik