Messages in this thread | | | Date | Mon, 18 Jun 2007 12:54:52 +0200 | From | Sam Ravnborg <> | Subject | Re: [PATCH] mm: More __meminit annotations. |
| |
> But then what > might happen is that everybody would think his particular use of inline > is correct and beneficial and all users of inline in kernel would end up > as __always_inline anyway.
You miss that there is a big difference between "beneficial" and "needs". The latter is used when some assembly code has a specific knowlegde of how parameters are passed or that the function signature for other good reasons must not change. It has nothing to do with "beneficial". Any use of __always_inline outside arch/* is highly question able. And most use of *inline* in drivers/* today is due to bad behaving gcc in the past.
Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |