Re: Use copyin32(9) to implement futex(2)

2017-05-28 Thread Mark Kettenis
> From: Miod Vallat > Date: Sun, 28 May 2017 19:22:23 + (UTC) > > > This makes MULTIPROCESSOR kernels use copyin32(9) to guarantee > > atomicity. This will break m88k GENERIC.MP; shouldn't be too > > difficult to fix for someone whu understands m88k assembly. Looks plausible; ok kettenis@

Re: Use copyin32(9) to implement futex(2)

2017-05-28 Thread Miod Vallat
> This makes MULTIPROCESSOR kernels use copyin32(9) to guarantee > atomicity. This will break m88k GENERIC.MP; shouldn't be too > difficult to fix for someone whu understands m88k assembly. Index: subr.S === RCS file: /OpenBSD/src/s

Use copyin32(9) to implement futex(2)

2017-05-27 Thread Mark Kettenis
This makes MULTIPROCESSOR kernels use copyin32(9) to guarantee atomicity. This will break m88k GENERIC.MP; shouldn't be too difficult to fix for someone whu understands m88k assembly. Long-term goal is to implement copyin32(9) on all our architectures and remove the #define. ok? Index: kern/sy