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: <1244628314.13761.11617.camel@twins>
Date:	Wed, 10 Jun 2009 12:05:14 +0200
From:	Peter Zijlstra <peterz@...radead.org>
To:	Wu Fengguang <fengguang.wu@...el.com>
Cc:	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
	Johannes Weiner <hannes@...xchg.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Rik van Riel <riel@...hat.com>,
	Hugh Dickins <hugh.dickins@...cali.co.uk>,
	Andi Kleen <andi@...stfloor.org>,
	Minchan Kim <minchan.kim@...il.com>,
	"linux-mm@...ck.org" <linux-mm@...ck.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"Barnes, Jesse" <jesse.barnes@...el.com>
Subject: Re: [patch v3] swap: virtual swap readahead

On Wed, 2009-06-10 at 17:59 +0800, Wu Fengguang wrote:
> On Wed, Jun 10, 2009 at 05:42:56PM +0800, Peter Zijlstra wrote:
> > On Wed, 2009-06-10 at 16:56 +0800, Wu Fengguang wrote:
> > > 
> > > Yes it worked!  But then I run into page allocation failures:
> > > 
> > > [  340.639803] Xorg: page allocation failure. order:4, mode:0x40d0
> > > [  340.645744] Pid: 3258, comm: Xorg Not tainted 2.6.30-rc8-mm1 #303
> > > [  340.651839] Call Trace:
> > > [  340.654289]  [<ffffffff810c8204>] __alloc_pages_nodemask+0x344/0x6c0
> > > [  340.660645]  [<ffffffff810f7489>] __slab_alloc_page+0xb9/0x3b0
> > > [  340.666472]  [<ffffffff810f8608>] __kmalloc+0x198/0x250
> > > [  340.671786]  [<ffffffffa014bf9f>] ? i915_gem_execbuffer+0x17f/0x11e0 [i915]
> > > [  340.678746]  [<ffffffffa014bf9f>] i915_gem_execbuffer+0x17f/0x11e0 [i915]
> > 
> > Jesse Barnes had a patch to add a vmalloc fallback to those largish kms
> > allocs.
> > 
> > But order-4 allocs failing isn't really strange, but it might indicate
> > this patch fragments stuff sooner, although I've seen these particular
> > failues before.
> 
> Thanks for the tip. Where is it? I'd like to try it out :)

commit 8e7d2b2c6ecd3c21a54b877eae3d5be48292e6b5
Author: Jesse Barnes <jbarnes@...tuousgeek.org>
Date:   Fri May 8 16:13:25 2009 -0700

    drm/i915: allocate large pointer arrays with vmalloc


--
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