On Mon, Jan 28, 2013 at 01:53:36PM -0500, John Baldwin wrote: > On Monday, January 28, 2013 12:49:44 pm Chagin Dmitry wrote: > > On Mon, Jan 28, 2013 at 09:47:39AM -0500, John Baldwin wrote: > > > This patch attempts to reduce duplication between i386/linux/linux.h and > > > amd64/linux32/linux.h by moving bits that are MI out into headers in > > > compat/linux. I only moved constants that were defined in MI headers in > > > Linux > > > itself, not necessarily all constants that have the same value. Further > > > reduction could be possible if we wanted to make a linux-i386.h that > > > these two > > > headers could share, but that would be a separate project. > > > > > > http://www.FreeBSD.org/~jhb/patches/linux_mi.patch > > > > > > > Hi, John! > > Looks ok to me, furthemore I have similar patches in the local x86_64 > > linuxulator > > repo. So, commit, please. > > So do you have an open PR with patches for the 64-bit linux stuff? I'd > like to look at what you have and see about getting it into the tree if > so. I'm curious about how you handled things (e.g. do you recompile > things like linux_file.c twice once as 32-bit once as native, and do you > have linux32.ko for the existing module and linux.ko for 64-bit)? >
Plan - switch linuxulator to the use of the native 1:1 threads first. I'll send patches to review soon. need to write a brief explanation of the new linuxulator. Second, commit vdso, which is used on x86_64 linux by default (now trap at known address used to enter syscall()). Yes, on amd64 thow modules of linuxulator: linux64.ko && linux.ko as requested by kib@. -- Have fun! chd
pgpHbclQ3oqOG.pgp
Description: PGP signature
