Don't call cpu_mb1 after lwkt_setcpu_self, but call it internally
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 22 Apr 2005 17:41:15 +0000 (17:41 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 22 Apr 2005 17:41:15 +0000 (17:41 +0000)
commit157202af7d033e97e4b90bd3f50c05a18da20a7b
treef6d2015e9916e6de0a5e3f5e09bbf003920f5199
parenta57a3f6e59c8e26d470daa150217a30e240d0172
Don't call cpu_mb1 after lwkt_setcpu_self, but call it internally
after the processing is done in lwkt_setcpu_self. The extern call
should automatically invalidate all non-local data and keeping it
in lwkt_setcpu_self ensures that it continues to work even with
IPO.

Requested-by: dillon
sys/kern/kern_proc.c
sys/kern/kern_time.c
sys/kern/lwkt_thread.c
sys/netinet/tcp_subr.c