Messages in this thread | | | From | "Aneesh Kumar K.V" <> | Subject | Re: [PATCH] hugetlbfs: lockdep annotate root inode properly | Date | Fri, 09 Mar 2012 10:30:53 +0530 |
| |
On Thu, 8 Mar 2012 14:19:38 -0800, Andrew Morton <akpm@linux-foundation.org> wrote: > On Thu, 8 Mar 2012 21:49:52 +0000 > Al Viro <viro@ZenIV.linux.org.uk> 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
| |