Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problem with Linux emulation [was Re: CVS commit: src/sys]



> On Apr 28, 2020, at 4:25 PM, Robert Swindells <rjs%fdy2.co.uk@localhost> wrote:
> 
> Jason Thorpe <thorpej%me.com@localhost> wrote:
>>> On Apr 27, 2020, at 8:50 AM, Thomas Klausner <wiz%NetBSD.org@localhost> 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



Home | Main Index | Thread Index | Old Index