marcel 33a793a3e6 Make sure all memory updates are made visible before we let go
of the thread in cpu_switch(). It's otherwise possible that on
another CPU the thread continues from stale context data.

Note that this is prominent on newer CPUs, like the Montecito,
that really take advantage of the weak memory ordering. First
generation Itanium 2 is not that aggressive and does not need
this.

This is a direct commit to stable/10.

Approved by:	re@ (gjb)
2014-09-22 20:10:45 +00:00
..
2014-08-21 19:51:07 +00:00
2014-07-17 22:31:46 +00:00