[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080424095215.GA13088@infradead.org>
Date: Thu, 24 Apr 2008 05:52:15 -0400
From: Christoph Hellwig <hch@...radead.org>
To: Arjan van de Ven <arjan@...radead.org>
Cc: T David Chinner <dgc@....com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Ingo Molnar <mingo@...e.hu>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: x86: 4kstacks default
On Wed, Apr 23, 2008 at 05:45:16PM -0700, Arjan van de Ven wrote:
> THe good news is that direct reclaim is.. rare.
> And I also doubt XFS is unique here; imagine the whole stacking thing on x86-64 just the same ...
It's bad news actually. Beause it means the stack overflow happens
totally random and hard to reproduce. And no, XFS is not unique there,
any filesystem with a complex enough writeback path (aka extents +
delalloc + smart allocator) will have to use quite a lot here. I'll be
my 2 cent that ext4 one finished up will run into this just as likely.
> I wonder if the direct reclaim path should avoid direct reclaim if the stack has only X bytes left.
> (where the value of X is... well we can figure that one out later)
Actually direct reclaim should be totally avoided for complex
filesystems. It's horrible for the stack and for the filesystem
writeout policy and ondisk allocation strategies.
--
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