Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261680AbUJYITN (ORCPT ); Mon, 25 Oct 2004 04:19:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261693AbUJYITN (ORCPT ); Mon, 25 Oct 2004 04:19:13 -0400 Received: from cantor.suse.de ([195.135.220.2]:49061 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S261680AbUJYHf5 (ORCPT ); Mon, 25 Oct 2004 03:35:57 -0400 To: Denis Vlasenko Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] reduce top(1) CPU usage by an order of magnitude References: <200410251020.01932.vda@port.imtp.ilyichevsk.odessa.ua.suse.lists.linux.kernel> From: Andi Kleen Date: 25 Oct 2004 09:35:48 +0200 In-Reply-To: <200410251020.01932.vda@port.imtp.ilyichevsk.odessa.ua.suse.lists.linux.kernel> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 675 Lines: 15 Denis Vlasenko writes: > Patch is not mine, Paulo Marques > wrote it. The bug is in your top. It shouldn't read /proc/*/wchan by default unless the user switches on WCHAN display. Just disable that and it will be even faster. My top doesn't read it at all, you probably got some buggy version. Also btw we normally let people submit their patches themselves. -Andi - 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/