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:	Sat, 20 Dec 2008 00:31:15 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Yinghai Lu <yinghai@...nel.org>
Cc:	Rusty Russell <rusty@...tcorp.com.au>,
	Thomas Gleixner <tglx@...utronix.de>,
	"H. Peter Anvin" <hpa@...or.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86: fix lguest used_vectors breakage -v2


* Yinghai Lu <yinghai@...nel.org> wrote:

> 
> Impact: fix lguest, clean up
> 
> 32-bit lguest used used_vectors to record vectors, but that model of
> allocating vectors changed and got broken, after we changed vector
> allocation to a per_cpu array.
> 
> Try enable that for 64bit, and the array is used for all vectors that
> are not managed by vector_irq per_cpu array.
> 
> Also kill system_vectors[], that is now a duplication of the
> used_vectors bitmap.
> 
> [ merged in cpus4096 due to io_apic.c cpumask changes. ]
> 
> Signed-off-by: Yinghai Lu <yinghai@...nel.org>
> Signed-off-by: Ingo Molnar <mingo@...e.hu>
> 
> ---
>  arch/x86/include/asm/desc.h           |   10 ++++------
>  arch/x86/include/asm/irq.h            |    1 +
>  arch/x86/kernel/apic.c                |    2 --
>  arch/x86/kernel/io_apic.c             |    9 +++------
>  arch/x86/kernel/irqinit_32.c          |   16 +++++++++++++++-
>  arch/x86/kernel/irqinit_64.c          |   13 +++++++++++++
>  arch/x86/kernel/traps.c               |   12 +++++++-----
>  drivers/lguest/interrupts_and_traps.c |   13 +++++++++----
>  8 files changed, 52 insertions(+), 24 deletions(-)

applied, thanks Yinghai!

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