On Thu, 8 Mar 2012 14:19:38 -0800, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote: > On Thu, 8 Mar 2012 21:49:52 +0000 > Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote: > > > > So we need to pull the i_mutex out of hugetlbfs_file_mmap(). > > > > IIRC, you have a patch in your tree doing just that... > > Nope. > > But it seems that you've recently seen such a patch - can you recall > where? Or was it the ecryptfs thing? > So what we ended up doing was http://article.gmane.org/gmane.linux.kernel.mm/74732 The patch update hugetlbfs_read to not take i_mutex. That should make sure deadlock won't happen. -aneesh -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>