Date: Thu, 17 Apr 2003 16:26:52 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: Jeff Roberson <jroberson@chesapeake.net> Cc: FreeBSD current users <current@freebsd.org> Subject: some small patches Message-ID: <Pine.BSF.4.21.0304171618370.55166-100000@InterJet.elischer.org> In-Reply-To: <20030417185808.S76635-100000@mail.chesapeake.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0304171618370.55166-100000>