Date: Thu, 9 Sep 2004 16:50:28 GMT From: Stephan Uphoff <ups@tree.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/71509: sched_pin ignored by sched_4bsd Message-ID: <200409091650.i89GoS1T003789@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/71509; it has been noted by GNATS. From: Stephan Uphoff <ups@tree.com> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Cc: Subject: Re: kern/71509: sched_pin ignored by sched_4bsd Date: Thu, 09 Sep 2004 12:46:55 -0400 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409091650.i89GoS1T003789>