cvs commit: src/sys/ddb db_ps.c src/sys/i386/i386 genassym.c

Andrew R. Reiter arr at watson.org
Thu Apr 10 13:42:03 PDT 2003


On Thu, 10 Apr 2003, Jeff Roberson wrote:

:
:On Thu, 10 Apr 2003, Julian Elischer wrote:
:
:>
:>
:> On Thu, 10 Apr 2003, Jeff Roberson wrote:
:>
:> > >
:> > > There is NO support for locking a KSE to a CPU yet. That is a completely
:> > > different question.
:> >
:> >
:> > There is in ULE.
:>
:> But you keep your own information on this..
:
:Yes, I'm telling you, if you add anything make it specific to the
:scheduler.  It doesn't not need to be in scheduler independant code.  We
:just need a new system call for binding a kse to a cpu.  This will be
:scheduler independant and then we can call a scheduler dependant routine
:like sched_bind(kse, cpu);

How could one retrieve the current affinity of a kse?  I sorta like the
linux method of set and get affinity and using a bit mask for the CPUs a
process can be bound to.



:
:> >
:> > > >
:> > > > > information in the scheduler specific data.  I already have an entry for
:> > > > > it in ULE.
:> > > > >
:> > > > > Cheers,
:> > > > > Jeff
:> > > > >
:> > > >
:> > > >
:> > >
:> >
:> >
:>
:
:

--
Andrew R. Reiter
arr at watson.org
arr at FreeBSD.org


More information about the cvs-src mailing list