]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Switch to more fine grained lws locks
authorJohn David Anglin <dave.anglin@bell.net>
Fri, 2 Oct 2020 19:21:41 +0000 (21:21 +0200)
committerHelge Deller <deller@gmx.de>
Thu, 15 Oct 2020 06:10:39 +0000 (08:10 +0200)
commitb95521a9e7dd322a51902a5df1799a8d4ff8af96
treee56e6b487f238312f4c01b526a65aad48de475aa
parente56aa55feb905f508796ff64be4b9f20abfa58b6
parisc: Switch to more fine grained lws locks

Increase the number of lws locks to 256 entries (instead of 16) and
choose lock entry based on bits 3-11 (instead of 4-7) of the relevant
address.  With this change we archieve more fine-grained locking in
futex syscalls and thus reduce the number of possible stalls.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/futex.h
arch/parisc/kernel/syscall.S