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]
Date:	Wed, 27 Oct 2010 08:07:50 +0200
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Brian Gerst <brgerst@...il.com>
Cc:	tj@...nel.org, x86@...nel.org, linux-kernel@...r.kernel.org,
	torvalds@...ux-foundation.org, mingo@...e.hu
Subject: Re: [PATCH] x86-32: Allocate irq stacks seperate from percpu area

Le mercredi 27 octobre 2010 à 01:43 -0400, Brian Gerst a écrit :
> The percpu allocator cannot handle alignments larger than one page.
> Allocate the irq stacks seperately, and only keep the pointers as
> percpu data.
> 
> Signed-off-by: Brian Gerst <brgerst@...il.com>

>  
> -	irqctx = &per_cpu(hardirq_stack, cpu);
> +	irqctx = (union irq_ctx *)__get_free_pages(THREAD_FLAGS, THREAD_ORDER);

Hmm, then we lose NUMA affinity for stacks.



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