Date: Thu, 09 Sep 2004 12:46:55 -0400 From: Stephan Uphoff <ups@tree.com> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/71509: sched_pin ignored by sched_4bsd Message-ID: <1094748414.86226.1630.camel@palm.tree.com> In-Reply-To: <200409090410.i894AQ0M005530@freefall.freebsd.org> References: <200409090410.i894AQ0M005530@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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?1094748414.86226.1630.camel>