kern/71509: sched_pin ignored by sched_4bsd

Stephan Uphoff ups at
Thu Sep 9 09:46:58 PDT 2004

sched_pin() is used by the i386 pmap to optimize TLB invalidation in SMP
systems by limiting it to a single processor.
Ignoring the thread pin count can cause a thread to migrate to another
CPU where obsolete cached TLB entries may point to the wrong physical
page. This could for example cause pmap_copy_page to copy to/from the
wrong page.


More information about the freebsd-bugs mailing list