Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756014Ab0FNU4v (ORCPT ); Mon, 14 Jun 2010 16:56:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38335 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754350Ab0FNU4u (ORCPT ); Mon, 14 Jun 2010 16:56:50 -0400 Subject: Re: [PATCH 01/12] tracing, vmscan: Add trace events for kswapd wakeup, sleeping and direct reclaim From: Larry Woodman To: Mel Gorman Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, Dave Chinner , Chris Mason , Nick Piggin , Rik van Riel , Johannes Weiner , Christoph Hellwig , KAMEZAWA Hiroyuki , Andrew Morton In-Reply-To: <1276514273-27693-2-git-send-email-mel@csn.ul.ie> References: <1276514273-27693-1-git-send-email-mel@csn.ul.ie> <1276514273-27693-2-git-send-email-mel@csn.ul.ie> Content-Type: text/plain Date: Mon, 14 Jun 2010 17:01:04 -0400 Message-Id: <1276549264.8736.101.camel@dhcp-100-19-198.bos.redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 871 Lines: 19 On Mon, 2010-06-14 at 12:17 +0100, Mel Gorman wrote: > This patch adds two trace events for kswapd waking up and going asleep for > the purposes of tracking kswapd activity and two trace events for direct > reclaim beginning and ending. The information can be used to work out how > much time a process or the system is spending on the reclamation of pages > and in the case of direct reclaim, how many pages were reclaimed for that > process. High frequency triggering of these events could point to memory > pressure problems. > > Signed-off-by: Mel Gorman Acked-by: Larry Woodman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/