[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20061115090005.c9ec6db5.akpm@osdl.org>
Date: Wed, 15 Nov 2006 09:00:05 -0800
From: Andrew Morton <akpm@...l.org>
To: Badari Pulavarty <pbadari@...ibm.com>
Cc: linux-mm <linux-mm@...ck.org>, ext4 <linux-ext4@...r.kernel.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: pagefault in generic_file_buffered_write() causing deadlock
On Wed, 15 Nov 2006 07:57:45 -0800
Badari Pulavarty <pbadari@...ibm.com> wrote:
> We are looking at a customer situation (on 2.6.16-based distro) - where
> system becomes almost useless while running some java & stress tests.
>
> Root cause seems to be taking a pagefault in generic_file_buffered_write
> () after calling prepare_write. I am wondering
>
> 1) Why & How this can happen - since we made sure to fault the user
> buffer before prepare write.
When using writev() we only fault in the first segment of the iovec. If
the second or succesive segment isn't mapped into pagetables we're
vulnerable to the deadlock.
> 2) If this is already fixed in current mainline (I can't see how).
It was fixed in 2.6.17.
You'll need 6527c2bdf1f833cc18e8f42bd97973d583e4aa83 and
81b0c8713385ce1b1b9058e916edcf9561ad76d6
-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists