rearrange the thread_context struct to fit in 1 cacheline