From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Chinner Subject: Re: [PATCH 01/12] vmscan: add shrink_slab tracepoints Date: Mon, 20 Jun 2011 10:53:21 +1000 Message-ID: <20110620005321.GM561@dastard> References: <1306998067-27659-1-git-send-email-david@fromorbit.com> <1306998067-27659-2-git-send-email-david@fromorbit.com> <4DFE97F1.2030206@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, xfs@oss.sgi.com To: KOSAKI Motohiro Return-path: Received: from ipmail07.adl2.internode.on.net ([150.101.137.131]:28031 "EHLO ipmail07.adl2.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751232Ab1FTAxY (ORCPT ); Sun, 19 Jun 2011 20:53:24 -0400 Content-Disposition: inline In-Reply-To: <4DFE97F1.2030206@jp.fujitsu.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon, Jun 20, 2011 at 09:44:33AM +0900, KOSAKI Motohiro wrote: > (2011/06/02 16:00), Dave Chinner wrote: > > From: Dave Chinner > >=20 > > =D0=86t is impossible to understand what the shrinkers are actually= doing > > without instrumenting the code, so add a some tracepoints to allow > > insight to be gained. > >=20 > > Signed-off-by: Dave Chinner > > --- > > include/trace/events/vmscan.h | 67 +++++++++++++++++++++++++++++= ++++++++++++ > > mm/vmscan.c | 6 +++- > > 2 files changed, 72 insertions(+), 1 deletions(-) >=20 > This look good to me. I have two minor request. 1) please change patc= h order, > move this patch after shrinker changes. iow, now both this and [2/12]= have > tracepoint change. I don't like it. No big deal - I'll just fold the second change (how shrinker->nr is passed into the tracepoint) into the first. Tracepoints should be first in the series, anyway, otherwise there is no way to validate the before/after effect of the bug fixes.... > 2) please avoid cryptic abbreviated variable > names. Instead, please just use the same variable name with > vmscan.c source code. So replace cryptic abbreviated names with slightly different cryptic abbreviated names? ;) Sure, I can do that... Cheers, Dave. --=20 Dave Chinner david@fromorbit.com -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html