lkml.org 
[lkml]   [2012]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] hugetlbfs: lockdep annotate root inode properly
Date
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



\
 
 \ /
  Last update: 2012-03-09 06:03    [W:0.046 / U:1.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site