| To: | Andi Kleen <ak@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: XFS_WANT_FUNCS |
| From: | Steve Lord <lord@xxxxxxx> |
| Date: | Mon, 12 Jan 2004 07:31:47 -0600 |
| Cc: | Glen Overby <overby@xxxxxxx>, linux-xfs@xxxxxxxxxxx, ak@xxxxxx |
| In-reply-to: | <20040111164549.GA45569@colin2.muc.de> |
| References: | <20040111114500.GA4508@averell> <200401111621.i0BGLhA63464298@daisy-e236.americas.sgi.com> <20040111164549.GA45569@colin2.muc.de> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 |
Andi Kleen wrote: On Sun, Jan 11, 2004 at 10:21:43AM -0600, Glen Overby wrote: The other thing these macros let you do is switch between inline code and out of line code based on how big you want xfs to be in code size. Some of the macros expand to a lot of code and are actually always compiled as functions to avoid too much code bloat. Probably a one off decision on inline code vs function calls should be good enough for modern machines, that mechanism was more concerned with making xfs run on 32M memory Irix boxes. All the definitions in xfs_macros.h control this. But yes it is a pain to read through them - and you should try writing new ones ;-) The scary part about moving things to inlines would be xfs's tendency to push gcc to its limits on ia32. This type of thing is what has caused broken code generation in the past. Steve |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | XFS creation and mount parameters on large RAID5, Marc Schmitt |
|---|---|
| Next by Date: | Re: Segfault of xfs_repair during repair of a xfs filesystem, Greg Freemyer |
| Previous by Thread: | Re: XFS_WANT_FUNCS, Andi Kleen |
| Next by Thread: | Re: XFS_WANT_FUNCS, Andi Kleen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |