Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932368Ab0ANUiV (ORCPT ); Thu, 14 Jan 2010 15:38:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932306Ab0ANUiT (ORCPT ); Thu, 14 Jan 2010 15:38:19 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:56401 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754938Ab0ANUiS convert rfc822-to-8bit (ORCPT ); Thu, 14 Jan 2010 15:38:18 -0500 From: "Rafael J. Wysocki" To: Matt Mackall Subject: Re: [Bug #15041] Pagemap endless read loop with LTP Date: Thu, 14 Jan 2010 21:38:51 +0100 User-Agent: KMail/1.12.3 (Linux/2.6.33-rc3-rjw; KDE/4.3.3; x86_64; ; ) Cc: Andi Kleen , =?utf-8?q?Am=C3=A9rico_Wang?= , Linux Kernel Mailing List , Kernel Testers List References: <20100113235010.GF24818@basil.fritz.box> <1263428136.29868.5058.camel@calx> In-Reply-To: <1263428136.29868.5058.camel@calx> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Message-Id: <201001142138.51506.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2145 Lines: 51 On Thursday 14 January 2010, Matt Mackall wrote: > On Thu, 2010-01-14 at 00:50 +0100, Andi Kleen wrote: > > On Wed, Jan 13, 2010 at 10:57:34PM +0100, Rafael J. Wysocki wrote: > > > On Wednesday 13 January 2010, Américo Wang wrote: > > > > On Mon, Jan 11, 2010 at 6:32 AM, Rafael J. Wysocki wrote: > > > > > This message has been generated automatically as a part of a report > > > > > of recent regressions. > > > > > > > > > > The following bug entry is on the current list of known regressions > > > > > from 2.6.32. Please verify if it still should be listed and let me know > > > > > (either way). > > > > > > > > > > > > > > > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15041 > > > > > Subject : Pagemap endless read loop with LTP > > > > > Submitter : Andi Kleen > > > > > Date : 2010-01-10 2:09 (1 days old) > > > > > References : http://marc.info/?l=linux-kernel&m=126308941423848&w=4 > > > > > > > > > > > > > According to Andi's later reply, it shoud not be an endless loop, > > > > it just takes a rather long time. > > > > > > Andi? > > > > It'll try to read 47 bits worth of 0s on 64bit x86-64. > > > > I haven't tried to wait until that finishes, but I estimate a few months of > > CPU time at least. > > > > The interface is just misdesigned, but I guess we cannot do > > anything about that for now. > > It's perfectly sensible. What's not sensible is reading the entirety of > everything you find in /proc, something that just about every Linux > admin figures out moments after running their first recursive grep. > > > LTP will just need to do a workaround. > > Or they could actually, you know, add a test of pagemap. Not much chance > of that, though - CVS reports it took them until 2005 to figure out that > skipping /proc/kcore was a good idea. Closing as "documented". Rafael -- 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/