struct kse
Julian Elischer
julian at elischer.org
Wed Apr 16 09:30:20 PDT 2003
On Wed, 16 Apr 2003, Jeff Roberson wrote:
>
> Can we totally nuke ke_oncpu since it's only used in one place?
>
> Also, KEF_DIDRUN is sched_4bsd specific. I may move this.
yes.
ke_oncpu was only a placeholder for me to replace it with
ke_pincpu(jhb's name), the CPU that KSE is nailed (pinned) to
if we implement affinity/nailing. However that'll probably require
special variables so it should go away.
>
> If we move the KEF_IDLEKSE as a property of the idle thread instead and do
> something else with KEF_EXIT we could remove ke_flags.
yes, I was going to suggest that the idle flag could go to the thread..
it removes knowledge of the KSE from at least one file..
>
> ke_pctcpu is also scheduler specific although it is referenced from
> kinfo_proc so I wont move it yet.
It's scheduler specific but the outside world is also scheduler specific
in its expectations :-/
>
> Comments?
> Jeff
>
> _______________________________________________
> freebsd-threads at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe at freebsd.org"
>
More information about the freebsd-threads
mailing list