some small patches

Julian Elischer julian at elischer.org
Thu Apr 17 16:26:56 PDT 2003


Here are two small patches they are pretty non-controversial in my
opinion.

they are part of a bigger patch, but I'd like to get them in separatly
to simplify the bigger one.
the first patch:
http://www.freebsd.org/~julian/IDLETD.diff
moves the flag that identifies a thread as being one of the idle threads
from the KSE to the thread. The code that wants to know already
has a thread pointer, but not the KSE pointer so this makes more sense.


The second patch:
http://www.freebsd.org/~julian/sched_clock.diff
makes the sched_ API entrypoint sched_clock()
take a thread argument instead of a KSE.
Once again, the callers have the thread pointer and not the KSE pointer,
and in fact they probably should not have the KSE pointer.


anyone object to these patches?




More information about the freebsd-current mailing list