[lkml]   [2004]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] [LSM] Rework LSM hooks
>>>>> On Wed, 11 Aug 2004 08:25:10 -0700, Chris Wright <> 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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  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