From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [patch 9/9] mm: fix pagecache write deadlocks Date: Sun, 4 Feb 2007 10:26:29 +0000 Message-ID: <20070204102629.GA8785@infradead.org> References: <20070204063707.23659.20741.sendpatchset@linux.site> <20070204063833.23659.55105.sendpatchset@linux.site> <20070204014445.88e6c8c7.akpm@linux-foundation.org> <20070204101529.GA22004@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andrew Morton , Linux Kernel , Linux Filesystems , Linux Memory Management To: Nick Piggin Return-path: Received: from pentafluge.infradead.org ([213.146.154.40]:42014 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246AbXBDK0e (ORCPT ); Sun, 4 Feb 2007 05:26:34 -0500 Content-Disposition: inline In-Reply-To: <20070204101529.GA22004@wotan.suse.de> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Sun, Feb 04, 2007 at 11:15:29AM +0100, Nick Piggin wrote: > Cool, a kernel thread is calling sys_write. Fun. There are tons of places where we possible call into ->write from either kernel threads or at least with a kernel pointer and set_fs/set_ds magic. Anything in the buffer write path that tries to touch page tables can't work.