Messages in this thread | | | Date | Wed, 21 Feb 2007 17:28:37 -0800 | From | Jeremy Fitzhardinge <> | Subject | -freg-struct-return? |
| |
We have a number of functions which return small structures (such as pte_t). It seems that the kernel is not compiled with -freg-struct-return, so all these small structures are being returned via the stack, even though they would fit into registers.
Is there a reason for this? Would -freg-struct-return be preferred? It would make a good compliment to -mregparm.
J - 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/
| |