Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755409Ab0GHW1O (ORCPT ); Thu, 8 Jul 2010 18:27:14 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:48507 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754682Ab0GHW1N (ORCPT ); Thu, 8 Jul 2010 18:27:13 -0400 Date: Thu, 8 Jul 2010 15:26:56 -0700 From: Andrew Morton To: Andrew Hendry Cc: linux-kernel , dri-devel@lists.freedesktop.org, Ingo Molnar , "H. Peter Anvin" , Thomas Gleixner , "Rafael J. Wysocki" , Maciej Rutecki Subject: Re: 2.6.35-rc4 Graphics performance issue and freeing invalid memtype messages on boot. Message-Id: <20100708152656.34cfd24f.akpm@linux-foundation.org> In-Reply-To: <1278418937.1949.22.camel@jaunty> References: <1278418937.1949.22.camel@jaunty> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2347 Lines: 56 (Rafael, Maciej: two probably-separate post-2.6.34 regressions here) On Tue, 06 Jul 2010 22:22:17 +1000 Andrew Hendry wrote: > > Some extra messages when booting with -rc4. Didn't get them in -rc3. > [ 1.387013] swapper:1 freeing invalid memtype bf788000-bf789000 > [ 1.387409] swapper:1 freeing invalid memtype bf789000-bf78a000 > [ 5.999675] modprobe:548 freeing invalid memtype d0000000-d0040000 > [ 6.068347] modprobe:548 freeing invalid memtype d0140000-d0150000 > [ 6.068647] modprobe:548 freeing invalid memtype d0150000-d0160000 > [ 6.069661] modprobe:548 freeing invalid memtype d0170000-d01f0000 > [ 6.085969] modprobe:548 freeing invalid memtype d01f0000-d0200000 > [ 6.087673] modprobe:548 freeing invalid memtype d0210000-d0220000 > [ 6.087900] modprobe:548 freeing invalid memtype d0220000-d0230000 > [ 6.088092] modprobe:548 freeing invalid memtype d0230000-d0240000 > [ 6.088317] modprobe:548 freeing invalid memtype d0240000-d0250000 hrmpf, one of those wonderful messages where neither it nor its source code give you any clue regarding what caused it nor how to fix it. please, apply this: --- a/arch/x86/mm/pat.c~a +++ a/arch/x86/mm/pat.c @@ -359,7 +359,7 @@ int free_memtype(u64 start, u64 end) entry = rbt_memtype_erase(start, end); spin_unlock(&memtype_lock); - if (!entry) { + if (WARN_ON(!entry)) { printk(KERN_INFO "%s:%d freeing invalid memtype %Lx-%Lx\n", current->comm, current->pid, start, end); return -EINVAL; and let's at least see where it's coming from. > Not sure if its related, but also have a noticeable performance issue with graphics under rc4. > Dragging and resizing windows, screen updates, and jumpy cursor are all slow. > Playing a full screen video under vlc gets only 1-2 frames per second, but plays fine under rc3. > Tested a kernel compile, it was roughly the same. > Userspace is ubunutu 10.04 64bit. > > Any hints? Otherwise will start a bisect tomorrow night. > > Config attached, lspci, rc3 and rc4 boot messages below: What graphics hardware are you using? -- 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/