> On Apr 28, 2020, at 4:25 PM, Robert Swindells <r...@fdy2.co.uk> wrote: > > Jason Thorpe <thor...@me.com> wrote: >>> On Apr 27, 2020, at 8:50 AM, Thomas Klausner <w...@netbsd.org> wrote: >>> >>> I think this commit broke lang/oracle8-jre: >> >> This is a Linux binary running under COMPAT_LINUX? It would be strange >> if it broke it because it essentially makes the whole system do what the >> Linux emulation was already doing. > > Has anything changed around where the initial stack gets put in VM ? > > The Linux build of OpenJDK uses this to work out whether it is using > the initial thread or another one.
No. There were actually a few problems: - A mistake I made in the compat_linux futex syscall stub that redirects to the native. - A difference in how process lookup works between NetBSD and Linux that was accidentally removed when the LWP ID overhaul changes were made. - Some latent bugs in argument handling in some of the scheduling-related Linux syscalls. I'll check in fixes for these tonight. -- thorpej