lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTimKFMWzd3hVS7TBRTHkppgZF-ky4bGFDOeDBbhk@mail.gmail.com>
Date:	Fri, 9 Jul 2010 09:16:07 +1000
From:	Andrew Hendry <andrew.hendry@...il.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	linux-kernel <linux-kernel@...r.kernel.org>,
	dri-devel@...ts.freedesktop.org, Ingo Molnar <mingo@...e.hu>,
	"H. Peter Anvin" <hpa@...or.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	"Rafael J. Wysocki" <rjw@...k.pl>,
	Maciej Rutecki <maciej.rutecki@...il.com>
Subject: Re: 2.6.35-rc4 Graphics performance issue and freeing invalid memtype 
	messages on boot.

Graphics hardware is NV250 type card.

Some quick testing last night showed this patch fixed both the boot
messages and graphics performance.
[tip:x86/urgent] rbtree: Undo augmented trees performance damage and regression
http://marc.info/?l=linux-kernel&m=127833440902862&w=2


On Fri, Jul 9, 2010 at 8:26 AM, Andrew Morton <akpm@...ux-foundation.org> wrote:
> (Rafael, Maciej: two probably-separate post-2.6.34 regressions here)
>
> On Tue, 06 Jul 2010 22:22:17 +1000
> Andrew Hendry <andrew.hendry@...il.com> 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ