Messages in this thread | | | From | Ingo Oeser <> | Subject | Re: [PATCH REVIEW] udf: Fix lock inversion between iprune_mutex and alloc_mutex (v2) | Date | Mon, 18 Aug 2008 16:34:29 +0200 |
| |
Hi Jan,
On Monday 18 August 2008, Jan Kara wrote: > A memory allocation inside alloc_mutex must not recurse back into the > filesystem itself because that leads to lock inversion between iprune_mutex and > alloc_mutex (and thus to deadlocks - see traces below). alloc_mutex is actually > needed only to update allocation statistics in the superblock so we can drop it > before we start allocating memory for the inode.
On a quick review, this is correct.
Best Regards
Ingo Oeser
| |