aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPreeti U Murthy <[email protected]>2014-04-11 16:01:58 +0530
committerBenjamin Herrenschmidt <[email protected]>2014-04-28 16:32:45 +1000
commitfd17dc7b9a8d57150ee0121c4c83edbb7e26eece (patch)
tree22d9917f3fd13d246c0f3dd2a373eec3551c9028 /net/unix/af_unix.c
parentf203891117323dd31c11adcbba60452c933d604e (diff)
ppc/kvm: Set the runlatch bit of a CPU just before starting guest
The secondary threads in the core are kept offline before launching guests in kvm on powerpc: "371fefd6f2dc4666:KVM: PPC: Allow book3s_hv guests to use SMT processor modes." Hence their runlatch bits are cleared. When the secondary threads are called in to start a guest, their runlatch bits need to be set to indicate that they are busy. The primary thread has its runlatch bit set though, but there is no harm in setting this bit once again. Hence set the runlatch bit for all threads before they start guest. Signed-off-by: Preeti U Murthy <[email protected]> Acked-by: Paul Mackerras <[email protected]> Reviewed-by: Srivatsa S. Bhat <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions