Page MenuHomeFreeBSD

sched_shim: Drop no-ifunc case
ClosedPublic

Authored by mhorne on Wed, Feb 4, 8:17 PM.

Details

Summary

Now all architectures support kernel ifunc resolvers. Therefore, the
alternate implementation can be removed.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mhorne requested review of this revision.Wed, Feb 4, 8:17 PM
sys/kern/sched_shim.c
25–31

I did not see a way to express this that was obviously superior to what is here now. Feel free to suggest any alternative.

I think the idea was to use VARARG, but then the types and arg names have to be split out of it. Something similar to what is done to EXTERROR() from sys/exterrvar.h and CTR() from sys/ktr.h. But it might be too convoluted for the limited use.

This revision is now accepted and ready to land.Wed, Feb 4, 9:05 PM
This revision was automatically updated to reflect the committed changes.