scheduler: Protect package data with rw_spinlock
kernel: Merge two occurences of thread resume code
scheduler: Migrate threads less often in power saving mode