All of lore.kernel.org
 help / color / mirror / Atom feed
From: Balbir Singh <balbir@linux.vnet.ibm.com>
To: Hugh Dickins <hugh@veritas.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [PATCH 2.6.26-rc8-mm1] memrlimit: fix mmap_sem deadlock
Date: Fri, 04 Jul 2008 07:19:37 +0530	[thread overview]
Message-ID: <486D81B1.1020609@linux.vnet.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0807032143110.10641@blonde.site>

Hugh Dickins wrote:
> "ps -f" hung after "killall make" of make -j20 kernel builds.  It's
> generally considered bad manners to down_write something you already
> have down_read.  exit_mm up_reads before calling mm_update_next_owner,
> so I guess exec_mmap can safely do so too.  (And with that repositioning
> there's not much point in mm_need_new_owner allowing for NULL mm.)
> 
> Signed-off-by: Hugh Dickins <hugh@veritas.com>

Thanks!

Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>

-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL

WARNING: multiple messages have this Message-ID (diff)
From: Balbir Singh <balbir@linux.vnet.ibm.com>
To: Hugh Dickins <hugh@veritas.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [PATCH 2.6.26-rc8-mm1] memrlimit: fix mmap_sem deadlock
Date: Fri, 04 Jul 2008 07:19:37 +0530	[thread overview]
Message-ID: <486D81B1.1020609@linux.vnet.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0807032143110.10641@blonde.site>

Hugh Dickins wrote:
> "ps -f" hung after "killall make" of make -j20 kernel builds.  It's
> generally considered bad manners to down_write something you already
> have down_read.  exit_mm up_reads before calling mm_update_next_owner,
> so I guess exec_mmap can safely do so too.  (And with that repositioning
> there's not much point in mm_need_new_owner allowing for NULL mm.)
> 
> Signed-off-by: Hugh Dickins <hugh@veritas.com>

Thanks!

Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>

-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  parent reply	other threads:[~2008-07-04  1:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-03 20:50 [PATCH 2.6.26-rc8-mm1] memrlimit: fix mmap_sem deadlock Hugh Dickins
2008-07-03 20:50 ` Hugh Dickins
2008-07-03 23:01 ` Andrew Morton
2008-07-03 23:01   ` Andrew Morton
2008-07-04  1:49   ` Balbir Singh
2008-07-04  1:49     ` Balbir Singh
2008-07-04  2:01     ` Andrew Morton
2008-07-04  2:01       ` Andrew Morton
2008-07-04  3:20       ` Balbir Singh
2008-07-04  3:20         ` Balbir Singh
2008-07-04  4:27         ` Andrew Morton
2008-07-04  4:27           ` Andrew Morton
2008-07-04  7:07           ` Balbir Singh
2008-07-04  7:07             ` Balbir Singh
2008-07-04  1:49 ` Balbir Singh [this message]
2008-07-04  1:49   ` Balbir Singh

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=486D81B1.1020609@linux.vnet.ibm.com \
    --to=balbir@linux.vnet.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=hugh@veritas.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.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.