mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Luca <kronos.it@gmail.com>
To: "Avi Kivity" <avi@qumranet.com>
Cc: linux-kernel@vger.kernel.org, kvm-devel@lists.sourceforge.net
Subject: Re: [KVM][PATCH] smp_processor_id() and sleeping functions used in invalid context
Date: Sun, 31 Dec 2006 18:58:11 +0100	[thread overview]
Message-ID: <68676e00612310958s6fc602dam5fb01eb62821c725@mail.gmail.com> (raw)
In-Reply-To: <4597F851.8060800@qumranet.com>

On 12/31/06, Avi Kivity <avi@qumranet.com> wrote:
> Luca Tettamanti wrote:
> > Hello,
> > I'm testing KVM on a Core2 CPU. I'm running kernel 2.6.20-git (pulled
> > few hours ago), configured with SMP and PREEMPT.
> >
> > I'm hitting 2 different warnings:
> > BUG: using smp_processor_id() in preemptible [00000001] code: kvm/7726
> > caller is vmx_create_vcpu+0x9/0x2f [kvm_intel]
>
> [...]
> > Second one:
> > BUG: sleeping function called from invalid context at
> > /home/kronos/src/linux-2.6.git/mm/slab.c:3034
> > in_atomic():1, irqs_disabled():0
> > 1 lock held by kvm/12706:
> >  #0:  (&vcpu->mutex){--..}, at: [<f1b68d02>] kvm_dev_ioctl+0x113/0xf97
> > [kvm]
> >  [<b015c32a>] kmem_cache_alloc+0x1b/0x6f
> >
> [...]
>
> There are patches for both (I think) flying around.  They should land in
> Linus' tree in a few days.

Ah, I just saw them on lkml...

Luca

      reply	other threads:[~2006-12-31 17:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-31 17:01 Luca Tettamanti
2006-12-31 17:50 ` Avi Kivity
2006-12-31 17:58   ` Luca [this message]

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=68676e00612310958s6fc602dam5fb01eb62821c725@mail.gmail.com \
    --to=kronos.it@gmail.com \
    --cc=avi@qumranet.com \
    --cc=kvm-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.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®