Home | History | Annotate | Download | only in common
History log of /src/sys/compat/linux32/common/linux32_sched.c
RevisionDateAuthorComments
 1.9  07-Jul-2010  chs many changes for COMPAT_LINUX:
- update the linux syscall table for each platform.
- support new-style (NPTL) linux pthreads on all platforms.
clone() with CLONE_THREAD uses 1 process with many LWPs
instead of separate processes.
- move the contents of sys__lwp_setprivate() into a new
lwp_setprivate() and use that everywhere.
- update linux_release[] and linux32_release[] to "2.6.18".
- adjust placement of emul fork/exec/exit hooks as needed
and adjust other emul code to match.
- convert all struct emul definitions to use named initializers.
- change the pid allocator to allow multiple pids to refer to the same proc.
- remove a few fields from struct proc that are no longer needed.
- disable the non-functional "vdso" code in linux32/amd64,
glibc works fine without it.
- fix a race in the futex code where we could miss a wakeup after
a requeue operation.
- redo futex locking to be a little more efficient.
 1.8  01-Dec-2008  njoly branches: 1.8.6; 1.8.8;
Add sched_get_priority_{min,max} syscalls.
 1.7  19-Nov-2008  ad Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
 1.6  20-Dec-2007  dsl branches: 1.6.6; 1.6.10; 1.6.12; 1.6.16; 1.6.18;
Convert all the system call entry points from:
int foo(struct lwp *l, void *v, register_t *retval)
to:
int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.
 1.5  08-Dec-2007  dsl branches: 1.5.4;
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...
 1.4  07-Nov-2007  njoly branches: 1.4.2;
Remove remaining 64-bit compat linux syscalls linux_sys_xxx() (except
for ones without arguments), and replace them by their 32-bit
equivalent linux32_sys_xxxx().
 1.3  09-Feb-2007  ad branches: 1.3.18; 1.3.20; 1.3.24; 1.3.26;
Merge newlock2 to head.
 1.2  13-Sep-2006  manu Jumbo COMPAT_LINUX/COMPAT_LINUX32 bugfix, with the help of Nicolas Joly
- Fix shmat return value on amd64: it uses no black magic with retval[0]
- Fix integer overflows in sysinfo
- Implement sysinfo, mmap2, sched_getparam, sched_getscheduler, mremap,
and madvise in COMPAT_LINUX32
- Fix improper types used in setgroups16/getgroups16
- Implement mmap2 for COMPAT_LINUX32
- Ifdef debug messages by DEBUG_LINUX
 1.1  09-Feb-2006  manu branches: 1.1.2; 1.1.4; 1.1.10; 1.1.16; 1.1.20; 1.1.22;
Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.

While I'm here, add SysV IPC to COMPAT_LINUX/amd64
 1.1.22.2  09-Sep-2006  rpaulo sync with head
 1.1.22.1  09-Feb-2006  rpaulo file linux32_sched.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:46:03 +0000
 1.1.20.2  30-Jan-2007  ad Remove support for SA. Ok core@.
 1.1.20.1  18-Nov-2006  ad Sync with head.
 1.1.16.6  21-Jan-2008  yamt sync with head
 1.1.16.5  15-Nov-2007  yamt sync with head.
 1.1.16.4  26-Feb-2007  yamt sync with head.
 1.1.16.3  30-Dec-2006  yamt sync with head.
 1.1.16.2  21-Jun-2006  yamt sync with head.
 1.1.16.1  09-Feb-2006  yamt file linux32_sched.c was added on branch yamt-lazymbuf on 2006-06-21 14:59:27 +0000
 1.1.10.2  22-Apr-2006  simonb Sync with head.
 1.1.10.1  09-Feb-2006  simonb file linux32_sched.c was added on branch simonb-timecounters on 2006-04-22 11:38:14 +0000
 1.1.4.1  14-Sep-2006  yamt sync with head.
 1.1.2.2  18-Feb-2006  yamt sync with head.
 1.1.2.1  09-Feb-2006  yamt file linux32_sched.c was added on branch yamt-uio_vmspace on 2006-02-18 15:39:02 +0000
 1.3.26.2  27-Dec-2007  mjf Sync with HEAD.
 1.3.26.1  19-Nov-2007  mjf Sync with HEAD.
 1.3.24.1  13-Nov-2007  bouyer Sync with HEAD
 1.3.20.2  09-Jan-2008  matt sync with HEAD
 1.3.20.1  08-Nov-2007  matt sync with -HEAD
 1.3.18.2  09-Dec-2007  jmcneill Sync with HEAD.
 1.3.18.1  11-Nov-2007  joerg Sync with HEAD.
 1.4.2.1  26-Dec-2007  ad Sync with head.
 1.5.4.1  02-Jan-2008  bouyer Sync with HEAD
 1.6.18.1  19-Jan-2009  skrll Sync with HEAD.
 1.6.16.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.6.12.2  14-May-2008  wrstuden Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.
 1.6.12.1  10-May-2008  wrstuden Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.
 1.6.10.2  11-Aug-2010  yamt sync with head.
 1.6.10.1  04-May-2009  yamt sync with head.
 1.6.6.1  17-Jan-2009  mjf Sync with HEAD.
 1.8.8.1  05-Mar-2011  rmind sync with head
 1.8.6.1  17-Aug-2010  uebayasi Sync with HEAD.

RSS XML Feed