Messages in this thread | | | From | David Mosberger <> | Date | Wed, 11 Aug 2004 11:12:11 -0700 | Subject | Re: [PATCH] [LSM] Rework LSM hooks |
| |
>>>>> On Wed, 11 Aug 2004 08:25:10 -0700, Chris Wright <chrisw@osdl.org> said:
>> An alternative solution might be to have a call_likely() macro, >> where you could predict the most likely target of an indirect >> call. Perhaps that could help other platforms as well.
Chris> Hmm, the pointers are generally quite static, set once near Chris> boot time typically, and that's it. Seems like a plausible Chris> win. Do you have an example of what call_likely() would look Chris> like?
The macro I had in mind works only for static (compile-time) predictions, I'm afraid.
--david - 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/
| |