Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2015 06:23:16 -0800
From:      Harrison Grundy <harrison.grundy@astrodoggroup.com>
To:        freebsd-arch@freebsd.org
Subject:   Minor ULE changes and optimizations
Message-ID:  <54EF2C54.7030207@astrodoggroup.com>

next in thread | raw e-mail | index | archive | help
In addition to the random() replacement patch, I have two other minor
ULE patches:

https://reviews.freebsd.org/D1970
This fixes the comment in sched_balance_pair to reflect what ULE is
actually doing, and moves the load comparison outside of tdq_lock to
avoid taking the lock unless there is actually a load imbalance
between the two tdqs.

https://reviews.freebsd.org/D1969
This allows a non-migratable thread to pin itself to a CPU if it is
already running on that CPU.

I've been running these patches for the past week or so without issue.
Any additional testing or comments would be greatly appreciated.

--- Harrison



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54EF2C54.7030207>