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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070130141746.GD10257@slug>
Date:	Tue, 30 Jan 2007 14:17:46 +0000
From:	Frederik Deweerdt <deweerdt@...e.fr>
To:	Christoph Lameter <clameter@....com>
Cc:	Andrew Morton <akpm@...l.org>, linux-kernel@...r.kernel.org,
	trond.myklebust@....uio.no,
	Christoph Lameter <clameter@...r.sgi.com>
Subject: Re: [-mm patch] BUG at net/sunrpc/svc.c:128 (was Re: 2.6.20-rc6-mm2)

On Mon, Jan 29, 2007 at 09:49:50AM -0800, Christoph Lameter wrote:
> On Mon, 29 Jan 2007, Andrew Morton wrote:
> 
> > >  static int
> > >  svc_pool_map_init_percpu(struct svc_pool_map *m)
> > >  {
> > > -	unsigned int maxpools = nr_node_ids;
> > > +	unsigned int maxpools = num_online_cpus();
> > >  	unsigned int pidx = 0;
> > >  	unsigned int cpu;
> > >  	int err;
> > 
> > Thanks.
> 
> Patch has the wrong solution as detailed in another message.
> 
> The line should be reverted to what it was before:
> 
>   unsigned int maxpools = highest_possible_processor_id()+1;
> 
Tested it, works as expected. Bit late I know :)

Regards,
Frederik
-
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