Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758212Ab0FITAx (ORCPT ); Wed, 9 Jun 2010 15:00:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1082 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751470Ab0FITAw (ORCPT ); Wed, 9 Jun 2010 15:00:52 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <21934.1276109812@redhat.com> References: <21934.1276109812@redhat.com> Cc: dhowells@redhat.com, "Theodore Ts'o" , Dave Airlie , linux-kernel@vger.kernel.org Subject: Re: Why is kslowd accumulating so much CPU time? Date: Wed, 09 Jun 2010 20:00:45 +0100 Message-ID: <22070.1276110045@redhat.com> To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 655 Lines: 25 David Howells wrote: > > Is there any way to easily see what is scheduling themselves to use the > > slow workqueue? > > Slow work has debugging. Turn on: > > CONFIG_SLOW_WORK_DEBUG=y > > then do: > > watch -n0 cat /sys/kernel/debug/slow_work/runqueue I documented this, of course. Look in: Documentation/slow-work.txt in section "VIEWING EXECUTING AND QUEUED ITEMS". David -- 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/