xfs
[Top] [All Lists]

Re: out of the tree compilation and 4KSTACKS

To: linux-xfs@xxxxxxxxxxx
Subject: Re: out of the tree compilation and 4KSTACKS
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Wed, 01 Jun 2005 18:35:44 -0500
Cc: Chris Wedgwood <cw@xxxxxxxx>
In-reply-to: <20050531215402.GE23991@xxxxxxxxxxx>
References: <20050531074820.GM8770@xxxxxxxxxxx> <462608.672469a40d5f4a17f7b1f43a4517535a.ANY@xxxxxxxxxxxxxxxxxxxxx> <20050531215402.GE23991@xxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)
Axel Thimm wrote:
On Tue, May 31, 2005 at 02:28:23PM -0700, Chris Wedgwood wrote:

On Tue, May 31, 2005 at 09:48:20AM +0200, Axel Thimm wrote:


is it possible to add xfs support to a 2.6.9 kernel (e.g. the RHEL4
kernel) as an external kernel module?

yes


Hm, any pointers to "how"? ;)


I've been looking at doing just this; I have a patch that lets xfs build as an out-of-tree 2.6 module. I'll send it to you off list, ok? The tricky part is getting all the xfs config options communicated to the xfs build. Ultimately it'd be nice to have a src.rpm like those on livna.org & other place that can easily be rebuilt against various kernels, maybe with xfs config options as --defines to the build....

Would that make sense w/ 4KSTACKS?

it does but it won't give you 8K stacks, the stack size is a property
of the kernel and modules will inherit this


Sure, that's clear. What I mean is: If you turn on xfs in RHEL4's
kernel is it considered safe with 4KSTACKS? If not, that would make
the whole point of building the kernel modules out of the tree
meaningless.

lkml and this list sometimes consider NFS & XFS a dangerous
combination stackwise. Urban legend or is there truth to it?

with 4kstacks, any layering of xfs over/under other systems has the potential for danger. There are probably still a couple things we could do to reduce some of the individual large-stack functions, too.

Do you have x86_64 support planned? Stack shouldn't be quite such a big issue there.

-Eric


<Prev in Thread] Current Thread [Next in Thread>