Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2003 09:30:08 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Jeff Roberson <jroberson@chesapeake.net>
Cc:        threads@freebsd.org
Subject:   Re: struct kse
Message-ID:  <Pine.BSF.4.21.0304160926300.94222-100000@InterJet.elischer.org>
In-Reply-To: <20030416020803.D76635-100000@mail.chesapeake.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0304160926300.94222-100000>