Re: [PATCH 2.6.26-rc8-mm1] memrlimit: fix mmap_sem deadlock

From: Balbir Singh
Date: Thu Jul 03 2008 - 21:49:48 EST


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@xxxxxxxxxxx>

Thanks!

Acked-by: Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx>

--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/