aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2019-11-28 19:58:05 +0000
committerCatalin Marinas <[email protected]>2019-12-06 12:14:45 +0000
commit0492747c72a3db0425a234abafb763c5b28c845d (patch)
tree971ffafe7f1468781a0b969fe0ae51f69655ca20 /net/unix/af_unix.c
parentarm64: Validate tagged addresses in access_ok() called from kernel threads (diff)
downloadkernel-0492747c72a3db0425a234abafb763c5b28c845d.tar.gz
kernel-0492747c72a3db0425a234abafb763c5b28c845d.zip
arm64: KVM: Invoke compute_layout() before alternatives are applied
compute_layout() is invoked as part of an alternative fixup under stop_machine(). This function invokes get_random_long() which acquires a sleeping lock on -RT which can not be acquired in this context. Rename compute_layout() to kvm_compute_layout() and invoke it before stop_machine() applies the alternatives. Add a __init prefix to kvm_compute_layout() because the caller has it, too (and so the code can be discarded after boot). Reviewed-by: James Morse <[email protected]> Acked-by: Marc Zyngier <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions