mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Yinghai Lu <yinghai@kernel.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>,
	Thomas Gleixner <tglx@linutronix.de>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] x86: fix lguest used_vectors breakage -v2
Date: Sat, 20 Dec 2008 00:31:15 +0100	[thread overview]
Message-ID: <20081219233115.GB17984@elte.hu> (raw)
In-Reply-To: <494C2D00.1060403@kernel.org>


* Yinghai Lu <yinghai@kernel.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@kernel.org>
> Signed-off-by: Ingo Molnar <mingo@elte.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

  reply	other threads:[~2008-12-19 23:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-19 11:37 [PATCH] x86: fix used_vectors breakage Yinghai Lu
2008-12-19 22:23 ` [PATCH] x86: fix lguest " Ingo Molnar
2008-12-19 22:34   ` Yinghai Lu
2008-12-19 22:38     ` Ingo Molnar
2008-12-19 23:23   ` [PATCH] x86: fix lguest used_vectors breakage -v2 Yinghai Lu
2008-12-19 23:31     ` Ingo Molnar [this message]
2008-12-22  0:29   ` [PATCH] x86: fix lguest used_vectors breakage Rusty Russell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081219233115.GB17984@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@linux-foundation.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    --cc=tglx@linutronix.de \
    --cc=yinghai@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®