All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Daniel Walker <dwalker@mvista.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH -rt] free_pgtables deadlock
Date: Thu, 18 May 2006 10:03:09 +0200	[thread overview]
Message-ID: <20060518080308.GC30387@elte.hu> (raw)
In-Reply-To: <200605141604.k4EG4oQ1005635@dwalker1.mvista.com>


* Daniel Walker <dwalker@mvista.com> wrote:

> Following is a fix for this deadlock .
> 
> What's happening is task 2 holds the i_mmap_lock from unmap_region(), 
> then it enters zap_page_range() where it tried to acquire the locked 
> mmu_gathers percpu .
> 
> While task 1) holds the mmu_gathers percpu lock from unmap_region() 
> and then tried to aquire i_mmap_lock inside unlink_file_vma() .
> 
> It looks like it's possible to drop the mmu_gathers prior to calling 
> unlink_file_vma() , but it's only done if there's more than one vma .
> 
> This deadlock was seen by Deepak Saxena on an ARM Versatile board.

thanks, applied.

	Ingo

      reply	other threads:[~2006-05-18  8:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-14 16:04 [PATCH -rt] free_pgtables deadlock Daniel Walker
2006-05-18  8:03 ` Ingo Molnar [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=20060518080308.GC30387@elte.hu \
    --to=mingo@elte.hu \
    --cc=dwalker@mvista.com \
    --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 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.