]> 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)
commitf4d3d83e4f553d37bb89c9eb28d3b9c3c790e48b
treee56e6b487f238312f4c01b526a65aad48de475aa
parenta1a273df5b3c210ffd81e3666b7704b3b7978594
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