diff options
author | Dave Anglin <dave.anglin@bell.net> | 2021-11-03 12:49:32 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2021-11-04 11:21:20 +0100 |
commit | 7e992711dddbdb1c27d077432d8440fefd44819f (patch) | |
tree | 01208b85e053dda7deeb9eac8e3924f62b9ba144 /block/bounce.c | |
parent | 014966dcf76bce5717f7d974d0410d3402a651c2 (diff) | |
download | linux-7e992711dddbdb1c27d077432d8440fefd44819f.tar.gz linux-7e992711dddbdb1c27d077432d8440fefd44819f.tar.bz2 linux-7e992711dddbdb1c27d077432d8440fefd44819f.zip |
parisc: Don't disable interrupts in cmpxchg and futex operations
I no longer think interrupts can be disabled in the futex and cmpxchg
operations because of COW breaks. This not ideal but I suspect it's the
best we can do.
For the cmpxchg operations in syscall.S, we rely on the code to not
schedule off the gateway page. For the futex, I added code to disable
preemption.
So far, I haven't seen the warnings with the attached change but the
change is only lightly tested.
Signed-off-by: Dave Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'block/bounce.c')
0 files changed, 0 insertions, 0 deletions