]> www.infradead.org Git - users/hch/misc.git/commit
misc: sgi-gru: Don't disable preemption in GRU driver
authorDimitri Sivanich <sivanich@hpe.com>
Thu, 19 Sep 2024 12:34:50 +0000 (07:34 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 9 Oct 2024 19:47:01 +0000 (12:47 -0700)
commitb983b271662bd6104d429b0fd97af3333ba760bf
tree2d745af2b1cf000b1d2f8100a11d6936f338f3d9
parentff9d4099e6abe7062b1d81f003b1efce72da2fb3
misc: sgi-gru: Don't disable preemption in GRU driver

Disabling preemption in the GRU driver is unnecessary, and clashes with
sleeping locks in several code paths.  Remove preempt_disable and
preempt_enable from the GRU driver.

Signed-off-by: Dimitri Sivanich <sivanich@hpe.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/sgi-gru/grukservices.c
drivers/misc/sgi-gru/grumain.c
drivers/misc/sgi-gru/grutlbpurge.c