[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 3 Mar 2014 17:46:09 -0500
From: Tejun Heo <tj@...nel.org>
To: Sasha Levin <sasha.levin@...cle.com>
Cc: Greg KH <greg@...ah.com>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: kernfs: possible deadlock between of->mutex and mmap_sem
On Mon, Mar 03, 2014 at 05:44:52PM -0500, Sasha Levin wrote:
> >>I'll send a patch to fix it some time next week unless someone beats me to it :)
> >
> >How are you planning to fix it? Prolly the right thing to do would be
> >caching atomic_write_len in open_file and copy data before grabbing
> >any locks.
>
> I've actually didn't have a plan when I wrote that, was just
> planning on putting effort into it.
I'll prolly work on it tomorrow unless you beat me to it. :)
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists