All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed Swierk <eswierk@skyportsystems.com>
To: David Vrabel <david.vrabel@citrix.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: balloon_mutex lockdep complaint at HVM domain destroy
Date: Thu, 26 May 2016 10:35:46 -0700	[thread overview]
Message-ID: <CAO_EM_kMYSqZAj7wT7sB++__g6QVYGFjGBxrS3WjoB4M41xdoA@mail.gmail.com> (raw)
In-Reply-To: <5745D9CC.8030605@citrix.com>

On Wed, May 25, 2016 at 9:58 AM, David Vrabel <david.vrabel@citrix.com> wrote:
> This occurs in dom0?  Or the guest that's being destroyed?

The lockdep warning comes from dom0 when the HVM guest is being destroyed.

> It's a bug but...
>
>> ======================================================
>> [ INFO: RECLAIM_FS-safe -> RECLAIM_FS-unsafe lock order detected ]
>> 4.4.11-grsec #1 Not tainted
>   ^^^^^^^^^^^^
> ...this isn't a vanilla kernel?  Can you try vanilla 4.6?

I tried vanilla 4.4.11, and get the same result. I'm having trouble
booting 4.6.0 at all--must be another regression in the early xen boot
code.

> Because:
>
>>    IN-RECLAIM_FS-W at:
>>                        [<__lock_acquire at lockdep.c:2839>] ffffffff810becc5
>>                        [<lock_acquire at paravirt.h:839>] ffffffff810c0ac9
>>                        [<mutex_lock_nested at mutex.c:526>] ffffffff816d1b4c
>>                        [<mn_invl_range_start at gntdev.c:476>] ffffffff8143c3d4
>>                        [<mn_invl_page at gntdev.c:490>] ffffffff8143c450
>>                        [<__mmu_notifier_invalidate_page at mmu_notifier.c:183>] ffffffff8119de42
>>                        [<try_to_unmap_one at mmu_notifier.h:275>] ffffffff811840c2
>>                        [<rmap_walk at rmap.c:1689>] ffffffff81185051
>>                        [<try_to_unmap at rmap.c:1534>] ffffffff81185497
>>                        [<shrink_page_list at vmscan.c:1063>] ffffffff811599b7
>>                        [<shrink_inactive_list at spinlock.h:339>] ffffffff8115a489
>>                        [<shrink_lruvec at vmscan.c:1942>] ffffffff8115af3a
>>                        [<shrink_zone at vmscan.c:2411>] ffffffff8115b1bb
>>                        [<kswapd at vmscan.c:3116>] ffffffff8115c1e4
>>                        [<kthread at kthread.c:209>] ffffffff8108eccc
>>                        [<ret_from_fork at entry_64.S:890>] ffffffff816d706e
>
> We should not be reclaiming pages from a gntdev VMA since it's special
> (marked as VM_IO).

Can you suggest any printks for me to add that might help isolate the issue?

--Ed

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

      reply	other threads:[~2016-05-26 17:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-25 14:30 balloon_mutex lockdep complaint at HVM domain destroy Ed Swierk
2016-05-25 16:58 ` David Vrabel
2016-05-26 17:35   ` Ed Swierk [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=CAO_EM_kMYSqZAj7wT7sB++__g6QVYGFjGBxrS3WjoB4M41xdoA@mail.gmail.com \
    --to=eswierk@skyportsystems.com \
    --cc=david.vrabel@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.