lkml.org 
[lkml]   [2004]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.046 / U:12.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site