Reset spinlock on global cache when reinitting

Also loop directly in the spinlock so it forces cache flushes so it
seems updated values properly.