From: Arnd Hannemann <hannemann@nets.rwth-aachen.de>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: xen dom0 2.6.32.15 kernel BUG at drivers/xen/grant-table.c:583
Date: Mon, 14 Jun 2010 13:09:49 +0200 [thread overview]
Message-ID: <4C160DFD.5040707@nets.rwth-aachen.de> (raw)
In-Reply-To: <alpine.DEB.2.00.1006141156170.3401@kaball-desktop>
Am 14.06.2010 12:57, schrieb Stefano Stabellini:
> On Mon, 14 Jun 2010, Arnd Hannemann wrote:
>> Hi,
>>
>> we have regular but hard to reproduce (wait for a day or two starting domUs) kernel panics (see below) with latest
>> "xen/stable-2.6.32.x" git tree.
>>
>> Any idea, anyone?
>>
>
> this CS from origin/xen/dom0/gntdev should fix your problem:
Thanks a lot.
We will try this, and post results...
>
> sstabellini@kaball-desktop:~/xensource/linux-pvops-latest$ git show ad469f0da31bc16b945f9a06710b9d45434d0091
> commit ad469f0da31bc16b945f9a06710b9d45434d0091
> Author: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
> Date: Wed Jun 9 12:34:02 2010 -0700
>
> xen/gntdev: use spinlocks rather than rwsem for locking
>
> The mmu notifier mechanism calls its callbacks with an rcu lock,
> which disables preemption. This means we cannot use any blocking
> synchronization for locking.
>
> Convert all the rwsemas to plain spinlocks. This requires that
> the memory allocation and copying to/from userspace be split
> from the actual datastructure updates since they can't be done
> under spinlock.
>
> Signed-off-by: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
>
Best regards,
Arnd
next prev parent reply other threads:[~2010-06-14 11:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-14 7:53 xen dom0 2.6.32.15 kernel BUG at drivers/xen/grant-table.c:583 Arnd Hannemann
2010-06-14 10:56 ` Jeremy Fitzhardinge
2010-06-14 11:04 ` Arnd Hannemann
2010-06-14 10:57 ` Stefano Stabellini
2010-06-14 11:09 ` Arnd Hannemann [this message]
2010-06-14 12:26 ` Arnd Hannemann
2010-06-14 12:44 ` Arnd Hannemann
-- strict thread matches above, loose matches on Subject: below --
2010-06-21 8:37 Christian Samsel
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=4C160DFD.5040707@nets.rwth-aachen.de \
--to=hannemann@nets.rwth-aachen.de \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.