The NetBSD Project

CVS log for src/sys/compat/linux/common/linux_sched.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / compat / linux / common

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Oct 3 12:56:49 2024 UTC (3 months, 2 weeks ago) by hannken
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +9 -9 lines
Fix fallout from DPRINTF conversion.

Kernels ALL/i386 and ALL/amd64 compile again.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Tue Oct 1 16:41:29 2024 UTC (3 months, 2 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +5 -5 lines
sys/compat/linux/common: Nix trailing whitespace, and one blank line.

No functional change intended.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Sep 30 01:26:47 2024 UTC (3 months, 2 weeks ago) by kre
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3 lines

Supply a missing cast, which fixes the i386 (other 32 bit too probably)
builds.

Note I used uintptr_t rather than intptr_t which other similar
lines nearby use - the int being converted to a ptr is uint64_t
so using unsigned seemed safer to me.   Feel free to change it.

Not sure if the code will work though - linux's clone3() is
being emulated via its clone() sys call - I know nothing about
linux sys calls, but my impression of these two is that in
clone() the "stack" arg points at the logical stack start
(usually the highest addr in the stack segment - though there
are some systems with upward growing stacks) whereas for
clone3() it looks to me as if the stack arg is always intended
to be the lowest addr in the stack segment (with a new size
field added to compute the top).  Simply copying that arg to the
clone() arg of the same name might not work.  (I am surmising).
I'd expect the code to need to vary based upon in which direction
the architecture's stack grows.   Maybe.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun Sep 29 00:09:52 2024 UTC (3 months, 3 weeks ago) by christos
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +92 -17 lines
move clone3 to linux_sched.c and make it compile (need to fix XXX comments)

Revision 1.69.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 21:04:02 2023 UTC (18 months, 4 weeks ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +4 -2 lines
Pull up following revision(s) (requested by riastradh in ticket #1836):

	sys/compat/linux/arch/i386/linux_machdep.c: revision 1.168
	sys/compat/sunos/sunos_misc.c: revision 1.177
	sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.52
	sys/compat/common/kern_resource_43.c: revision 1.23
	sys/compat/netbsd32/netbsd32_conv.h: revision 1.46
	sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.35
	sys/compat/common/vfs_syscalls_12.c: revision 1.38
	sys/compat/ultrix/ultrix_misc.c: revision 1.126
	sys/compat/common/kern_sig_43.c: revision 1.37
	sys/compat/linux/common/linux_mtio.c: revision 1.8
	sys/compat/freebsd/freebsd_misc.c: revision 1.34
	sys/compat/linux/common/linux_olduname.c: revision 1.67
	sys/compat/linux/arch/mips/linux_machdep.c: revision 1.44
	sys/compat/freebsd/freebsd_sched.c: revision 1.23
	sys/compat/ossaudio/ossaudio.c: revision 1.84
	sys/compat/sys/time_types.h: revision 1.6
	sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.51
	sys/compat/linux/common/linux_file.c: revision 1.119
	sys/compat/linux/arch/arm/linux_machdep.c: revision 1.34
	sys/compat/netbsd32/netbsd32_wait.c: revision 1.25
	sys/compat/linux32/common/linux32_time.c: revision 1.38
	sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.33
	sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.52
	sys/compat/linux32/arch/amd64/linux32_machdep.c: revision 1.46
	sys/compat/netbsd32/netbsd32_compat_12.c: revision 1.36
	sys/compat/ultrix/ultrix_ioctl.c: revision 1.39
	sys/compat/linux/common/linux_misc.c: revision 1.252
	sys/compat/linux/common/linux_hdio.c: revision 1.19
	sys/compat/sunos/sunos_ioctl.c: revision 1.71
	sys/compat/linux/common/linux_sched.c: revision 1.79
	sys/compat/common/kern_info_43.c: revision 1.40
	sys/compat/linux32/common/linux32_exec_elf32.c: revision 1.20
	sys/compat/linux/common/linux_socket.c: revision 1.153
	sys/compat/linux/arch/amd64/linux_machdep.c: revision 1.60
	sys/compat/common/vfs_syscalls_43.c: revision 1.68
	sys/compat/linux/arch/powerpc/linux_exec_powerpc.c: revision 1.25
	sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.9
	sys/compat/common/kern_time_50.c: revision 1.37
	sys/compat/netbsd32/netbsd32_compat_20.c: revision 1.42
	sys/compat/linux/common/linux_cdrom.c: revision 1.28
	sys/compat/linux/arch/m68k/linux_machdep.c: revision 1.43
	sys/compat/common/kern_info_09.c: revision 1.22
	sys/compat/linux32/common/linux32_resource.c: revision 1.12
	sys/compat/linux/common/linux_oldolduname.c: revision 1.67
	sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.8
	sys/compat/linux32/common/linux32_signal.c: revision 1.21
	sys/compat/common/kern_sig_13.c: revision 1.22
	sys/compat/sunos32/sunos32_ioctl.c: revision 1.36
	sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.62
	sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.23
	sys/compat/netbsd32/netbsd32_time.c: revision 1.56
	sys/compat/linux/common/linux_signal.c: revision 1.84
	sys/compat/netbsd32/netbsd32_signal.c: revision 1.52
	sys/compat/sunos32/sunos32_misc.c: revision 1.85
	sys/compat/linux/common/linux_time.c: revision 1.40
	sys/compat/linux/common/linux_fdio.c: revision 1.14
	sys/compat/common/vfs_syscalls_30.c: revision 1.43

sys/compat: Memset zero before copyout.

Just in case of uninitialized padding which would lead to kernel
stack disclosure.  If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.

Revision 1.71.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 3 11:11:32 2022 UTC (2 years, 5 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +4 -2 lines
Pull up following revision(s), all via patch
(requested by riastradh in ticket #1487):

	sys/compat/linux/arch/i386/linux_machdep.c: revision 1.168
	sys/compat/sunos/sunos_misc.c: revision 1.177
	sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.52
	sys/compat/common/kern_resource_43.c: revision 1.23
	sys/compat/netbsd32/netbsd32_conv.h: revision 1.46
	sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.35
	sys/compat/common/vfs_syscalls_12.c: revision 1.38
	sys/compat/ultrix/ultrix_misc.c: revision 1.126
	sys/compat/common/kern_sig_43.c: revision 1.37
	sys/compat/linux/common/linux_mtio.c: revision 1.8
	sys/compat/freebsd/freebsd_misc.c: revision 1.34
	sys/compat/freebsd/freebsd_machdep.c: revision 1.5
	sys/compat/linux/common/linux_olduname.c: revision 1.67
	sys/compat/linux/arch/mips/linux_machdep.c: revision 1.44
	sys/compat/freebsd/freebsd_sched.c: revision 1.23
	sys/compat/ossaudio/ossaudio.c: revision 1.84
	sys/compat/sys/time_types.h: revision 1.6
	sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.51
	sys/compat/common/ieee80211_20.c: revision 1.7
	sys/compat/linux/common/linux_file.c: revision 1.119
	sys/compat/linux/arch/arm/linux_machdep.c: revision 1.34
	sys/compat/netbsd32/netbsd32_wait.c: revision 1.25
	sys/compat/linux32/common/linux32_time.c: revision 1.38
	sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.33
	sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.52
	sys/compat/linux32/arch/amd64/linux32_machdep.c: revision 1.46
	sys/compat/netbsd32/netbsd32_compat_12.c: revision 1.36
	sys/compat/ultrix/ultrix_ioctl.c: revision 1.39
	sys/compat/linux/common/linux_misc.c: revision 1.252
	sys/compat/linux/common/linux_hdio.c: revision 1.19
	sys/compat/sunos/sunos_ioctl.c: revision 1.71
	sys/compat/linux/common/linux_sched.c: revision 1.79
	sys/compat/common/kern_info_43.c: revision 1.40
	sys/compat/linux32/common/linux32_exec_elf32.c: revision 1.20
	sys/compat/linux/common/linux_socket.c: revision 1.153
	sys/compat/linux/arch/amd64/linux_machdep.c: revision 1.60
	sys/compat/common/vfs_syscalls_43.c: revision 1.68
	sys/compat/linux/arch/powerpc/linux_exec_powerpc.c: revision 1.25
	sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.9
	sys/compat/common/kern_time_50.c: revision 1.37
	sys/compat/netbsd32/netbsd32_compat_20.c: revision 1.42
	sys/compat/linux/common/linux_cdrom.c: revision 1.28
	sys/compat/linux/arch/m68k/linux_machdep.c: revision 1.43
	sys/compat/common/kern_info_09.c: revision 1.22
	sys/compat/linux32/common/linux32_resource.c: revision 1.12
	sys/compat/linux/common/linux_oldolduname.c: revision 1.67
	sys/compat/common/if_media_80.c: revision 1.4
	sys/compat/linux/arch/alpha/linux_osf1.c: revision 1.5
	sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.8
	sys/compat/linux32/common/linux32_signal.c: revision 1.21
	sys/compat/common/kern_sig_13.c: revision 1.22
	sys/compat/sunos32/sunos32_ioctl.c: revision 1.36
	sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.62
	sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.23
	sys/compat/netbsd32/netbsd32_time.c: revision 1.56
	sys/compat/linux/common/linux_signal.c: revision 1.84
	sys/compat/netbsd32/netbsd32_signal.c: revision 1.52
	sys/compat/sunos32/sunos32_misc.c: revision 1.85
	sys/compat/linux/common/linux_time.c: revision 1.40
	sys/compat/linux/common/linux_fdio.c: revision 1.14
	sys/compat/common/vfs_syscalls_30.c: revision 1.43

sys/compat: Memset zero before copyout.

Just in case of uninitialized padding which would lead to kernel
stack disclosure.  If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Sep 7 11:43:04 2021 UTC (3 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -2 lines
sys/compat: Memset zero before copyout.

Just in case of uninitialized padding which would lead to kernel
stack disclosure.  If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat May 23 23:42:41 2020 UTC (4 years, 7 months ago) by ad
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +5 -5 lines
Move proc_lock into the data segment.  It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu May 14 08:26:29 2020 UTC (4 years, 8 months ago) by rin
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +8 -5 lines
Fix previous; specify lwpid for curlpw in the case of pid == 0.

For linux_sys_sched_setaffinity, pid == 0 means the current thread.
On the other hand, for our native sys_sched_setaffinity, lid == 0
means all lwp's that belong to the process.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Wed Apr 29 01:55:18 2020 UTC (4 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +35 -11 lines
Fix proc / lwp lookup processing in linux_sys_sched_getaffinity()
and linux_sys_sched_setaffinity().  They were incorrect even before
the LWP ID changes, but those changes exposed the latent bugs.

Revision 1.73.6.2: download - view: text, markup, annotated - select for diffs
Sat Apr 25 11:23:58 2020 UTC (4 years, 8 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.73.6.1: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.6.1: +3 -3 lines
Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Apr 24 03:22:06 2020 UTC (4 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: bouyer-xenpvh-base2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -3 lines
Overhaul the way LWP IDs are allocated.  Instead of each LWP having it's
own LWP ID space, LWP IDs came from the same number space as PIDs.  The
lead LWP of a process gets the PID as its LID.  If a multi-LWP process's
lead LWP exits, the PID persists for the process.

In addition to providing system-wide unique thread IDs, this also lets us
eliminate the per-process LWP radix tree, and some associated locks.

Remove the separate "global thread ID" map added previously; it is no longer
needed to provide this functionality.

Nudged in this direction by ad@ and chs@.

Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 21 18:42:14 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.71.2.1: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.1: +1 -11 lines
Sync with HEAD

Revision 1.73.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:29:01 2020 UTC (4 years, 9 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -13 lines
Sync with HEAD

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Apr 19 20:31:59 2020 UTC (4 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20200421, bouyer-xenpvh-base1
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -13 lines
- Only increment nprocs when we're creating a new process, not just
  when allocating a PID.
- Per above, proc_free_pid() no longer decrements nprocs.  It's now done
  in proc_free() right after proc_free_pid().
- Ensure nprocs is accessed using atomics everywhere.

Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:15 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +5 -29 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat Nov 23 19:42:52 2019 UTC (5 years, 1 month ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +5 -29 lines
Minor scheduler cleanup:

- Adapt to cpu_need_resched() changes. Avoid lost & duplicate IPIs and ASTs.
  sched_resched_cpu() and sched_resched_lwp() contain the logic for this.
- Changes for LSIDL to make the locking scheme match the intended design.
- Reduce lock contention and false sharing further.
- Numerous small bugfixes, including some corrections for SCHED_FIFO/RT.
- Use setrunnable() in more places, and merge cut & pasted code.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Oct 3 22:16:53 2019 UTC (5 years, 3 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3 lines
Switch kevent udata from intptr_t void*

Synchromize the struct field format with other BSDs and Darwin.

No ABI change between older and newer struct form on the ports.

The change will require no changes to most C users during the transition
period as the header keeps a caller cast.

Discussed with core@ and there were no objections for this move.

Revision 1.69.10.2: download - view: text, markup, annotated - select for diffs
Sun Apr 22 07:20:19 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.69.10.1: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.10.1: +3 -3 lines
Sync with HEAD

Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Apr 16 14:51:59 2018 UTC (6 years, 9 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-base, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi, netbsd-9
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3 lines
Remove the rnewprocp argument from fork1(9)

It's now unused and it can cause use-after-free scenarios as noted by
<Mateusz Guzik>.

Reference: http://mail-index.netbsd.org/tech-kern/2017/09/08/msg022267.html

Sponsored by <The NetBSD Foundation>

Revision 1.69.10.1: download - view: text, markup, annotated - select for diffs
Mon Apr 16 01:59:56 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -4 lines
Sync with HEAD, resolve some conflicts

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Apr 15 03:25:25 2018 UTC (6 years, 9 months ago) by kamil
Branches: MAIN
CVS tags: pgoyette-compat-0415
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -4 lines
Remove unused variable p from linux_sys_clone()

After refactoring by <chs> in 2010 (r. 1.63) the p variable is no longer
used.

As noted by <Mateusz Guzik> its usage is also unsafe and might cause
use-after-free scenarios.

No functional change intended.

Reference: http://mail-index.netbsd.org/tech-kern/2017/09/08/msg022267.html

Sponsored by <The NetBSD Foundation>

Revision 1.65.12.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:55 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.65.12.1: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.12.1: +53 -40 lines
update from HEAD

Revision 1.67.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:59 2017 UTC (7 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.67.2.1: preferred, colored; branchpoint 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.2.1: +4 -3 lines
Sync with HEAD

Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:10 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +4 -3 lines
Sync with HEAD

Revision 1.68.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:42 2017 UTC (7 years, 9 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +4 -3 lines
Sync with HEAD

Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Apr 21 15:10:34 2017 UTC (7 years, 9 months ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Branch point for: pgoyette-compat, netbsd-8
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -3 lines
- Propagate the signal mask from the ucontext_t to the newly created thread
  as specified by _lwp_create(2)
- Reset the signal stack for threads created with _lwp_create(2)

Revision 1.66.4.1.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 18 08:46:26 2017 UTC (8 years ago) by skrll
Branches: netbsd-7-nhusb
Diff to: previous 1.66.4.1: preferred, colored; next MAIN 1.66.4.2: preferred, colored
Changes since revision 1.66.4.1: +53 -40 lines
Sync with netbsd-5

Revision 1.66.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 31 07:38:31 2016 UTC (8 years ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1
Diff to: previous 1.66.4.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.4.1: +53 -40 lines
Pull up following revision(s) (requested by rin in ticket #1343):
	sys/compat/linux/common/linux_sched.c: revision 1.68
PR/50021: Rin Okuyama: Fix linux affinity syscalls

Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:55 2015 UTC (9 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +53 -40 lines
Sync with HEAD

Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Jul 3 02:24:28 2015 UTC (9 years, 6 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +53 -40 lines
PR/50021: Rin Okuyama: Fix linux affinity syscalls
XXX: pullup-7

Revision 1.66.4.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 12:10:54 2015 UTC (10 years ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Branch point for: netbsd-7-nhusb
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -3 lines
Pull up following revision(s) (requested by maxv in ticket #427):
	sys/compat/svr4/svr4_schedctl.c: revision 1.8
	sys/netinet/tcp_timer.c: revision 1.88
	sys/miscfs/genfs/layer_vfsops.c: revision 1.45
	sys/compat/svr4/svr4_ioctl.c: revision 1.37
	sys/ufs/chfs/chfs_vfsops.c: revision 1.14
	sys/miscfs/fdesc/fdesc_vfsops.c: revision 1.91
	sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.30
	sys/compat/common/kern_time_50.c: revision 1.28
	sys/netinet6/ip6_forward.c: revision 1.74
	sys/miscfs/umapfs/umap_vnops.c: revision 1.57
	sys/compat/svr4/svr4_fcntl.c: revision 1.74
	distrib/sets/lists/comp/mi: revision 1.1931
	sys/netinet6/udp6_output.c: revision 1.46
	sys/fs/puffs/puffs_compat.c: revision 1.3
	sys/fs/udf/udf_rename.c: revision 1.11
	sys/compat/svr4/svr4_filio.c: revision 1.24
	sys/fs/udf/udf_rename.c: revision 1.12
	sys/netinet/tcp_usrreq.c: revision 1.202
	sys/miscfs/umapfs/umap_subr.c: revision 1.29
	sys/compat/linux/common/linux_fadvise64.c: revision 1.3
	sys/netinet/if_atm.c: revision 1.34
	sys/miscfs/procfs/procfs_subr.c: revision 1.106
	sys/miscfs/genfs/layer_subr.c: revision 1.37
	sys/netinet/tcp_sack.c: revision 1.30
	sys/compat/freebsd/freebsd_misc.c: revision 1.33
	sys/compat/freebsd/freebsd_file.c: revision 1.33
	sys/ufs/chfs/chfs_vnode.c: revision 1.12
	sys/compat/svr4/svr4_ttold.c: revision 1.34
	sys/compat/linux/common/linux_file.c: revision 1.114
	sys/compat/linux/arch/mips/linux_machdep.c: revision 1.43
	sys/compat/linux/common/linux_signal.c: revision 1.76
	sys/compat/common/compat_util.c: revision 1.46
	sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.18
	sys/compat/svr4/svr4_sockio.c: revision 1.36
	sys/compat/linux/arch/arm/linux_machdep.c: revision 1.32
	sys/compat/svr4/svr4_signal.c: revision 1.66
	sys/kern/kern_exec.c: revision 1.410
	sys/fs/puffs/puffs_vfsops.c: revision 1.115
	sys/compat/svr4/svr4_exec_elf64.c: revision 1.15
	sys/compat/linux/arch/i386/linux_machdep.c: revision 1.159
	sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.50
	sys/compat/linux32/common/linux32_misc.c: revision 1.24
	sys/netinet/in_pcb.c: revision 1.153
	sys/sys/malloc.h: revision 1.116
	sys/compat/common/if_43.c: revision 1.9
	share/man/man9/Makefile: revision 1.380
	sys/netinet/tcp_vtw.c: revision 1.12
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.95
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.186
	sys/compat/common/uipc_syscalls_43.c: revision 1.46
	sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.115
	sys/fs/puffs/puffs_msgif.c: revision 1.97
	sys/compat/svr4/svr4_ipc.c: revision 1.27
	sys/compat/linux/common/linux_exec.c: revision 1.117
	sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.66
	sys/netinet/tcp_output.c: revision 1.179
	sys/compat/svr4/svr4_termios.c: revision 1.28
	sys/fs/udf/udf_strat_bootstrap.c: revision 1.4
	sys/fs/puffs/puffs_subr.c: revision 1.67
	sys/fs/puffs/puffs_node.c: revision 1.36
	sys/miscfs/overlay/overlay_vnops.c: revision 1.21
	sys/fs/cd9660/cd9660_node.c: revision 1.34
	sys/netinet/raw_ip.c: revision 1.146
	sys/sys/mallocvar.h: revision 1.13
	sys/miscfs/overlay/overlay_vfsops.c: revision 1.63
	share/man/man9/malloc.9: revision 1.50
	sys/netinet6/dest6.c: revision 1.18
	sys/compat/linux/common/linux_uselib.c: revision 1.33
	sys/compat/linux/common/linux_socket.c: revision 1.120
	share/man/man9/malloc.9: revision 1.51
	sys/netinet/tcp_subr.c: revision 1.257
	sys/compat/linux/common/linux_socketcall.c: revision 1.45
	sys/compat/linux/common/linux_fadvise64_64.c: revision 1.3
	sys/compat/freebsd/freebsd_ipc.c: revision 1.17
	sys/compat/linux/common/linux_misc_notalpha.c: revision 1.109
	sys/compat/linux/arch/alpha/linux_pipe.c: revision 1.17
	sys/netinet6/in6_pcb.c: revision 1.132
	sys/netinet6/in6_ifattach.c: revision 1.94
	sys/compat/svr4/svr4_exec_elf32.c: revision 1.15
	sys/miscfs/nullfs/null_vfsops.c: revision 1.90
	sys/fs/cd9660/cd9660_util.c: revision 1.12
	sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.48
	sys/compat/freebsd/freebsd_exec_elf32.c: revision 1.20
	sys/miscfs/procfs/procfs_vfsops.c: revision 1.94
	sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.28
	sys/compat/linux/common/linux_sched.c: revision 1.67
	sys/compat/linux/common/linux_exec_aout.c: revision 1.67
	sys/compat/linux/common/linux_pipe.c: revision 1.67
	sys/compat/linux/common/linux_llseek.c: revision 1.34
	sys/compat/linux/arch/mips/linux_ptrace.c: revision 1.10
Do not uselessly include <sys/malloc.h>.
Cleanup:
 - remove struct kmembuckets (dead)
 - correctly deadify MALLOC_XX
 - remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead)
 - remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT()
   and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc
New sentence, new line. Bump date for previous.
Obsolete malloc_roundup(9), malloc_type_setlimit(9) and MALLOC_DEFINE_LIMIT(9)
man pages.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Nov 9 17:48:08 2014 UTC (10 years, 2 months ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -3 lines
Do not uselessly include <sys/malloc.h>.

Revision 1.65.12.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:32 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +7 -7 lines
Rebase to HEAD as of a few days ago.

Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:16 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +7 -7 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.65.16.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:32 2014 UTC (10 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +7 -7 lines
sync with head

Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Jan 23 19:18:08 2014 UTC (10 years, 11 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +7 -7 lines
Fix inverted pid/lid arguments in do_sched_{get,set}param calls.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Aug 18 02:26:38 2011 UTC (13 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +48 -50 lines
Better debugging.

Revision 1.63.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:53 2011 UTC (13 years, 7 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +3 -3 lines
Catchup with rmind-uvmplock merge.

Revision 1.61.4.3: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:24:12 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.61.4.2: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.4.2: +1 -1 lines
sync with head

Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:27 2011 UTC (13 years, 7 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +3 -3 lines
Sync with HEAD.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Jun 5 08:42:59 2011 UTC (13 years, 7 months ago) by dsl
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -3 lines
Delete some splurious commas and very unexpected trailing space

Revision 1.61.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:50 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.61.4.1: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.4.1: +170 -161 lines
sync with head

Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:49 2010 UTC (14 years, 5 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +185 -162 lines
Sync with HEAD.

Revision 1.53.2.5: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:08 2010 UTC (14 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.53.2.4: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.2.4: +185 -162 lines
sync with head.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed Jul 7 01:30:35 2010 UTC (14 years, 6 months ago) by chs
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr, cherry-xenmp
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +170 -161 lines
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.

Revision 1.61.4.1: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:31 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +26 -12 lines
sync with head

Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Jul 1 02:38:29 2010 UTC (14 years, 6 months ago) by rmind
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +26 -12 lines
Remove pfind() and pgfind(), fix locking in various broken uses of these.
Rename real routines to proc_find() and pgrp_find(), remove PFIND_* flags
and have consistent behaviour.  Provide proc_find_raw() for special cases.
Fix memory leak in sysctl_proc_corename().

COMPAT_LINUX: rework ptrace() locking, minimise differences between
different versions per-arch.

Note: while this change adds some formal cosmetics for COMPAT_DARWIN and
COMPAT_IRIX - locking there is utterly broken (for ages).

Fixes PR/43176.

Revision 1.58.10.1.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:27:26 2010 UTC (14 years, 9 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.58.10.1: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.10.1: +2 -2 lines
sync to netbsd-5

Revision 1.53.2.4: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:44 2009 UTC (15 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.53.2.3: preferred, colored; branchpoint 1.53: preferred, colored
Changes since revision 1.53.2.3: +3 -3 lines
sync with head

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Sep 3 17:15:17 2009 UTC (15 years, 4 months ago) by njoly
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3 lines
Use correct sched_setscheduler syscall 3rd argument type.

Revision 1.58.8.1: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:41 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +18 -18 lines
Sync with HEAD.

Revision 1.53.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 18 14:52:57 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.53.2.2: preferred, colored; branchpoint 1.53: preferred, colored
Changes since revision 1.53.2.2: +18 -18 lines
sync with head.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Jun 23 13:18:59 2009 UTC (15 years, 7 months ago) by njoly
Branches: MAIN
CVS tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, jymxensuspend-base
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +17 -16 lines
sched_getaffinity(2) update:
- dynamically calculate the cpu mask size,
- return it upon success,
- fix generated cpu mask.

Revision 1.37.2.1.6.1: download - view: text, markup, annotated - select for diffs
Sun Jun 21 11:22:41 2009 UTC (15 years, 7 months ago) by bouyer
Branches: netbsd-4-0
Diff to: previous 1.37.2.1: preferred, colored; next MAIN 1.37.2.2: preferred, colored
Changes since revision 1.37.2.1: +4 -5 lines
Pull up following revision(s) (requested by njoly in ticket #1328):
	sys/compat/linux/common/linux_sched.c: revision 1.59
In linux_sys_sched_getaffinity(), do not leak memory on error.

Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 21 11:22:24 2009 UTC (15 years, 7 months ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.37.2.1: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.1: +4 -5 lines
Pull up following revision(s) (requested by njoly in ticket #1328):
	sys/compat/linux/common/linux_sched.c: revision 1.59
In linux_sys_sched_getaffinity(), do not leak memory on error.

Revision 1.58.4.1: download - view: text, markup, annotated - select for diffs
Fri Jun 19 21:42:28 2009 UTC (15 years, 7 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +4 -5 lines
Pull up following revision(s) (requested by njoly in ticket #822):
	sys/compat/linux/common/linux_sched.c: revision 1.59
In linux_sys_sched_getaffinity(), do not leak memory on error.

Revision 1.58.10.1: download - view: text, markup, annotated - select for diffs
Fri Jun 19 21:41:33 2009 UTC (15 years, 7 months ago) by snj
Branches: netbsd-5-0
CVS tags: netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +4 -5 lines
Pull up following revision(s) (requested by njoly in ticket #822):
	sys/compat/linux/common/linux_sched.c: revision 1.59
In linux_sys_sched_getaffinity(), do not leak memory on error.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Jun 18 20:36:28 2009 UTC (15 years, 7 months ago) by njoly
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -5 lines
In linux_sys_sched_getaffinity(), do not leak memory on error.

Revision 1.53.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:22 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.53.2.1: preferred, colored; branchpoint 1.53: preferred, colored
Changes since revision 1.53.2.1: +10 -3 lines
sync with head.

Revision 1.48.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:45 2009 UTC (16 years ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.48.6.2: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.6.2: +8 -1 lines
Sync with HEAD.

Revision 1.57.6.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:56 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +10 -3 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Oct 25 23:38:28 2008 UTC (16 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, jym-xensuspend-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: netbsd-5-0, netbsd-5, jym-xensuspend
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +10 -3 lines
Add preliminary tls support for i386. Does not work yet. From FreeBSD.

Revision 1.48.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:03 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.48.6.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.6.1: +49 -22 lines
Sync with HEAD.

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:19 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +51 -24 lines
sync with head.

Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:23:42 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +45 -21 lines
sync with head.

Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:05 2008 UTC (16 years, 8 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.1: +2 -3 lines
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.

Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:56 2008 UTC (16 years, 8 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -2 lines
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.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed May 7 15:18:35 2008 UTC (16 years, 8 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: wrstuden-revivesa, haad-dm
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -4 lines
Restore sched_native2linux() KASSERTs, i accidentally disabled in a
previous commit.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon May 5 02:29:31 2008 UTC (16 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +15 -2 lines
Wrap debug printfs in #ifdef DEBUG_LINUX (hi njoly!)

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu May 1 16:06:17 2008 UTC (16 years, 8 months ago) by njoly
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +34 -14 lines
Add SCHED_FIFO/SCHED_RR support to sched_get_priority_{min,max}.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:44 2008 UTC (16 years, 8 months ago) by martin
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Apr 24 15:35:27 2008 UTC (16 years, 9 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +7 -9 lines
Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:

- Inspecting process state requires thread context, so signals can no longer
  be sent from a hardware interrupt handler. Signal activity must be
  deferred to a soft interrupt or kthread.

- As the proc state locking is simplified, it's now safe to take exit()
  and wait() out from under kernel_lock.

- The system spends less time at IPL_SCHED, and there is less lock activity.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Apr 23 13:09:40 2008 UTC (16 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
Tweak previous.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Apr 23 13:08:47 2008 UTC (16 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +8 -3 lines
Fix locking.

Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:33 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +186 -76 lines
Sync with HEAD.

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:10 2008 UTC (16 years, 10 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +186 -76 lines
sync with head.

Revision 1.42.20.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:32 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.42.20.2: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.20.2: +184 -94 lines
sync with HEAD

Revision 1.19.2.8: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:36 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.19.2.7: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.7: +186 -76 lines
sync with head.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Feb 29 14:29:06 2008 UTC (16 years, 10 months ago) by elad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +5 -5 lines
In linux_sys_sched_getparam(), get the native policy too, so that we have
a better chance at properly converting the priority.

Noted by & okay yamt@.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Feb 28 16:09:18 2008 UTC (16 years, 10 months ago) by elad
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +186 -76 lines
Factor out the guts of get/setparam so it can be used from the compat code.

Make the FreeBSD and Linux compat code convert the parameters to their
native representation and call the native routines.

Remove KAUTH_PROCESS_SCHEDULER_GET/SET.

Update documentation and examples.

XXX: For now, only the Linux compat code does the priority conversion
XXX: right.

Linux priority conversion code from yamt@, thanks!

Okay yamt@.

Revision 1.19.2.7: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:30 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.19.2.6: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.6: +10 -18 lines
sync with head.

Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:27 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +14 -34 lines
Sync with HEAD.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Feb 16 16:39:35 2008 UTC (16 years, 11 months ago) by elad
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +10 -18 lines
Fold KAUTH_REQ_PROCESS_SCHEDULER_* to KAUTH_PROCESS_SCHEDULER_*. In other
words, don't pass an action and a request, and just use a single action to
indicate what is the operation in question.

This is the first step in fixing PR/37986, which calls for policy/priority
checking in the secmodel code. Right now we're lacking room for another
parameter required to make a decision, and this change makes room for such.

Revision 1.19.2.6: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:23:06 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.19.2.5: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.5: +22 -34 lines
sync with head.

Revision 1.45.4.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 19:27:31 2008 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.45.4.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.4.1: +20 -32 lines
Sync with HEAD.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Jan 23 15:04:39 2008 UTC (17 years ago) by elad
Branches: MAIN
CVS tags: bouyer-xeni386-nbase
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +22 -34 lines
Tons of process scope changes.

  - Add a KAUTH_PROCESS_SCHEDULER action, to handle scheduler related
    requests, and add specific requests for set/get scheduler policy and
    set/get scheduler parameters.

  - Add a KAUTH_PROCESS_KEVENT_FILTER action, to handle kevent(2) related
    requests.

  - Add a KAUTH_DEVICE_TTY_STI action to handle requests to TIOCSTI.

  - Add requests for the KAUTH_PROCESS_CANSEE action, indicating what
    process information is being looked at (entry itself, args, env,
    open files).

  - Add requests for the KAUTH_PROCESS_RLIMIT action indicating set/get.

  - Add requests for the KAUTH_PROCESS_CORENAME action indicating set/get.

  - Make bsd44 secmodel code handle the newly added rqeuests appropriately.

All of the above make it possible to issue finer-grained kauth(9) calls in
many places, removing some KAUTH_GENERIC_ISSUSER requests.

  - Remove the "CAN" from KAUTH_PROCESS_CAN{KTRACE,PROCFS,PTRACE,SIGNAL}.

Discussed with christos@ and yamt@.

Revision 1.19.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:41:28 2008 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.19.2.4: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.4: +49 -80 lines
sync with head

Revision 1.42.20.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:51:14 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.42.20.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.20.1: +49 -80 lines
sync with HEAD

Revision 1.45.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:52:41 2008 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +49 -53 lines
Sync with HEAD

Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:49:19 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +49 -80 lines
Sync with head.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:02:56 2007 UTC (17 years, 1 month ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base3, matt-armv6-base, bouyer-xeni386-base
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +49 -53 lines
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.

Revision 1.42.18.2: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:04 2007 UTC (17 years, 1 month ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.42.18.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.18.1: +11 -38 lines
Sync with HEAD.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:36:09 2007 UTC (17 years, 1 month ago) by dsl
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +11 -38 lines
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...

Revision 1.42.20.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:25:00 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +5 -3 lines
sync with HEAD

Revision 1.19.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:39 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.19.2.3: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.3: +5 -3 lines
sync with head.

Revision 1.42.18.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:43:59 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +5 -3 lines
Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.42.24.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:36:58 2007 UTC (17 years, 2 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +5 -3 lines
Sync with HEAD.

Revision 1.42.6.1: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:17:00 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +3 -3 lines
Sync with head.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Oct 19 18:52:11 2007 UTC (17 years, 3 months ago) by njoly
Branches: MAIN
CVS tags: vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, mjf-devfs
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -2 lines
Add compat_linux and exec_linux_elf lkm support for amd64:
- Add needed COMPAT_OSSAUDIO to GENERIC.
- Add missing includes needed by linux_syscallargs.h.
- Add lkm building.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:16:39 2007 UTC (17 years, 3 months ago) by ad
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 28 20:38:41 2007 UTC (17 years, 9 months ago) by jdc
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, matt-nb4-arm-base, matt-nb4-arm
Branch point for: netbsd-4-0
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +65 -48 lines
Pull up revision 1.39 (requested by njoly in ticket #523).

Add a new linux_emuldata_shared flag value LINUX_LES_USE_NPTL to allow
both NPTL and old linuxthreads behaviour depending on process needs.

Apply to exit_group(), getpid() and getppid() to share them between
compat linux32 (non NPTL) and compat linux (NPTL) on amd64.

ok by manu and christos

Revision 1.19.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:22 2007 UTC (17 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.19.2.2: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.2: +72 -64 lines
sync with head.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Feb 15 20:32:48 2007 UTC (17 years, 11 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, yamt-idlelwp, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -13 lines
Count the number of CPUs at boot and stash in 'ncpu'. Eventually should
have each CPU register at attach, so we can figure out the topology for
the scheduler.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Feb 9 23:51:20 2007 UTC (17 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +5 -2 lines
Acquire proclist_mutex before sending signals.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:19 2007 UTC (17 years, 11 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -3 lines
Merge newlock2 to head.

Revision 1.35.2.4: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:03:50 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.35.2.3: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.2.3: +65 -48 lines
Sync with HEAD.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Feb 5 18:31:36 2007 UTC (17 years, 11 months ago) by njoly
Branches: MAIN
CVS tags: newlock2-nbase, newlock2-base
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +65 -48 lines
Add a new linux_emuldata_shared flag value LINUX_LES_USE_NPTL to allow
both NPTL and old linuxthreads behaviour depending on process needs.

Apply to exit_group(), getpid() and getppid() to share them between
compat linux32 (non NPTL) and compat linux (NPTL) on amd64.

ok by manu and christos

Revision 1.35.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:51:33 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.35.2.2: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.2: +2 -3 lines
Remove support for SA. Ok core@.

Revision 1.35.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:03 2007 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.35.2.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.1: +6 -6 lines
Sync with head.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jan 5 15:46:39 2007 UTC (18 years ago) by elad
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -6 lines
Consistent usage of KAUTH_GENERIC_ISSUSER.

Revision 1.19.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:38 2006 UTC (18 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.19.2.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.1: +123 -82 lines
sync with head.

Revision 1.35.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:48 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.35.4.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.4.1: +9 -9 lines
sync with head.

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:08 2006 UTC (18 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +12 -26 lines
Sync with head.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:42 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +9 -9 lines
__unused removal on arguments; approved by core.

Revision 1.35.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:24 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +12 -26 lines
sync with head

Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:48 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +12 -26 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:45:52 2006 UTC (18 years, 4 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +134 -78 lines
sync with head

Revision 1.29.8.4: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:41 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.29.8.3: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.8.3: +40 -97 lines
sync with head.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Aug 23 21:17:48 2006 UTC (18 years, 5 months ago) by dogcow
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
move #ifdef up a few lines to prevent unused variable warning/error

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Aug 23 19:49:09 2006 UTC (18 years, 5 months ago) by manu
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +39 -96 lines
1) Complete Linux exit_group() emulation
Members of the thread group must die without reporting to the parent and
without going to zombie stage. We do that by reparenting to init before
catching a SIGKILL. The parent will not see the child death.

The thread group leader must report the exit status, even if it exits
because of another thread calling exit_group(). We do that by storing the
exit status in struct linux_emuldata_shared, and the exit hook has the
duty of setting struct proc's p_xstat for the thread group leader.

2) For exit/fork/exec hooks, move the NPTL specific code to separate functions
that are shared between COMPAT_LINUX and COMPAT_LINUX32

3) Fix LINUX_CLONE_PARENT_SETTID semantics

Revision 1.29.8.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:43:29 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.29.8.2: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.8.2: +10 -14 lines
sync with head

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:09 2006 UTC (18 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +10 -14 lines
Use the LWP cached credentials where sane.

Revision 1.30.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:13 2006 UTC (18 years, 6 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +122 -6 lines
Merge from HEAD.

Revision 1.29.8.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:46:18 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.29.8.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.8.1: +122 -6 lines
sync with head.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Jun 26 07:42:00 2006 UTC (18 years, 6 months ago) by manu
Branches: MAIN
CVS tags: yamt-pdpolicy-base6
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -2 lines
Do not implement exit_group() the right way on platforms that do not
define LINUX_NPTL yet, that cause firefox-bin to fail.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Jun 25 16:15:39 2006 UTC (18 years, 7 months ago) by manu
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +120 -6 lines
- Complete exit_group() implementation. We now maintain a list of Linux
threads in a processes and kill them properly. The code is a bit too
complicated, but I could not find a simplier way of dealing with it

- Change getpid() and getppid() semantics to match what Linux does,
and implement gettid(). In the Linux kernel, threads are implemnted
as plain old processes. A thread group is just a set of processes,
with the parent called leader. Thread ID, which are returned by gettid(),
are just the PID of the plain old processes, and getpid() returns the
PID of the thread group leader.

- Remove struct linux32_emuldata. COMPAT_LINUX32 uses a lot of COMPAT_LINUX
code, where a struct linux_emuldata is assumed. By having distinct emuldata
structure with different sizes and layouts, we caused kernel memory
corruptions.

- Fix setprioriry() and getpriority()

Thanks to Nicolas Joly for tracking down the problem and providing me the
hardware to fix them.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:59:12 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +139 -36 lines
sync with head.

Revision 1.29.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:35:51 2006 UTC (18 years, 7 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +27 -26 lines
Sync with head.

Revision 1.29.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:48:27 2006 UTC (18 years, 8 months ago) by tron
Branches: peter-altq
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +27 -26 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.29.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:28 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +27 -26 lines
sync with head.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun May 14 21:24:50 2006 UTC (18 years, 8 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: gdamore-uart
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +27 -26 lines
integrate kauth.

Revision 1.29.10.2: download - view: text, markup, annotated - select for diffs
Sat May 6 23:31:26 2006 UTC (18 years, 8 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.29.10.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.10.1: +3 -2 lines
- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.29.10.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:48:38 2006 UTC (18 years, 10 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +26 -26 lines
Adapt to kernel authorization KPI.

Revision 1.12.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:28:46 2005 UTC (19 years, 1 month ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.12.2.3: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.3: +15 -28 lines
Sync with head.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Nov 29 22:31:59 2005 UTC (19 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, ktrace-lwp-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +6 -24 lines
undo linux_sys_exit_group() change _again_ - please do not commit known
broken code

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:23:05 2005 UTC (19 years, 1 month ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +33 -10 lines
sync with head.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Nov 29 16:24:41 2005 UTC (19 years, 1 month ago) by manu
Branches: MAIN
CVS tags: yamt-readahead-base3
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +11 -6 lines
Threads should not send a signal on exit.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Nov 23 16:14:57 2005 UTC (19 years, 2 months ago) by manu
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +24 -6 lines
- Add Linux tkill and tgkill (partial emulation).
- Fix getrlimit on amd64

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Nov 11 22:45:41 2005 UTC (19 years, 2 months ago) by jdolecek
Branches: MAIN
CVS tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base
Branch point for: yamt-readahead
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -24 lines
undo the linux_sys_exit_group() change for now - complete CLONE_THREAD support
is necessary for this to work properly

Revision 1.12.2.3: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:01:07 2005 UTC (19 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12.2.2: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.2: +183 -8 lines
Sync with HEAD. Here we go again...

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Nov 9 21:56:11 2005 UTC (19 years, 2 months ago) by manu
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +5 -3 lines
Fix build problem

Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Nov 9 14:56:50 2005 UTC (19 years, 2 months ago) by manu
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +22 -6 lines
Improve Linux exit_group emulation by sending a SIGKILL to all other
processes in the group instead of letting them live. It would be better
to properly terminate them.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Nov 5 23:44:25 2005 UTC (19 years, 2 months ago) by manu
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
ifdef out sched_{get|set}affinity for ports that don't use it yet. That
should fix build.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Nov 5 08:06:58 2005 UTC (19 years, 2 months ago) by manu
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +81 -2 lines
Implement Linux sched_{set|get}affinity

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Nov 5 00:47:26 2005 UTC (19 years, 2 months ago) by manu
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +15 -8 lines
Instead of ifdef'ing __amd64__ all the Linux NPTL stuff, introduce an
ifdef LINUX_NPTL.
Also implement SETTLS flag to Linux clone()

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Nov 4 16:54:11 2005 UTC (19 years, 2 months ago) by manu
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +13 -2 lines
Implement Linux futex ang gettid

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jun 22 15:10:51 2005 UTC (19 years, 7 months ago) by manu
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-lazymbuf
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +64 -4 lines
Implent CLONE_PARENT_SETTID, CLONE_CHILD_CLEARTID, and CLONE_CHILD_SETTID
options to clone(). This makes fork() work on amd64.

clone() prototype has changed and the changes is probably revelant on some
other arches.

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:25:40 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.1: +0 -0 lines
Fix the sync with head I botched.

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:43:43 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +40 -2 lines
Sync with HEAD.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Sep 10 22:22:20 2004 UTC (20 years, 4 months ago) by wiz
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
Fix typo in comment.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Sep 9 10:45:52 2004 UTC (20 years, 4 months ago) by tron
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
Next attempt to fix the RCS Id. *sigh*

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Sep 9 10:44:46 2004 UTC (20 years, 4 months ago) by tron
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +0 -0 lines
Fix RCS Id lossage caused by last commit.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Sep 9 07:02:50 2004 UTC (20 years, 4 months ago) by tron
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -2 lines
Finish linux_sys_exit_group() with a (never reached) "return" statement so
that GCC will actually compile this.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Sep 8 19:45:22 2004 UTC (20 years, 4 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +28 -2 lines
implement basic exit_group(2), which just terminates calling thread;
apparently not many apps use thread groups yet, at least not with default
SuSE 9.1 libraries, so this is enough for now

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Sep 8 19:41:24 2004 UTC (20 years, 4 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +13 -2 lines
do more strict flag checking in clone(2) (matches what Linux does)

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Jan 18 21:21:30 2003 UTC (22 years ago) by thorpej
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Branch point for: ktrace-lwp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +24 -19 lines
Merge the nathanw_sa branch.

Revision 1.7.2.7: download - view: text, markup, annotated - select for diffs
Sun Dec 29 19:52:11 2002 UTC (22 years ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.7.2.6: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.6: +4 -3 lines
Sync with HEAD.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Dec 22 00:00:22 2002 UTC (22 years, 1 month ago) by gmcgarry
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -3 lines
Use yield() for voluntary context switches.

Revision 1.10.6.1: download - view: text, markup, annotated - select for diffs
Wed Dec 18 01:05:52 2002 UTC (22 years, 1 month ago) by gmcgarry
Branches: gmcgarry_ucred
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +22 -30 lines
Merge pcred and ucred, and poolify.  TBD: check backward compatibility
and factor-out some higher-level functionality.

Revision 1.7.2.6: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:40:02 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.7.2.5: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.5: +2 -3 lines
No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.7.4.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:44:25 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.7.4.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.4.1: +3 -3 lines
catch up with -current on kqueue branch

Revision 1.7.2.5: download - view: text, markup, annotated - select for diffs
Wed May 29 21:32:43 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.7.2.4: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.4: +3 -2 lines
#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)

Revision 1.7.2.4: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:05:11 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.7.2.3: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.3: +3 -3 lines
Catch up to -current.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Mar 31 22:22:47 2002 UTC (22 years, 9 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw
Branch point for: gmcgarry_ucred
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
make signal array handling uniform, and put signal arrays in a separate
file. This is simular to errno array handling.

Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:51:47 2002 UTC (23 years ago) by thorpej
Branches: kqueue
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -2 lines
Sync kqueue branch with -current.

Revision 1.7.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:29:05 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.7.2.2: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.2: +2 -3 lines
Catch up to -current.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Nov 15 09:48:01 2001 UTC (23 years, 2 months ago) by lukem
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -3 lines
don't need <sys/types.h> when including <sys/param.h>

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:13:13 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.1: +4 -1 lines
Catch up to -current.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Nov 13 02:08:58 2001 UTC (23 years, 2 months ago) by lukem
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -1 lines
add RCSIDs (including regeneration of files as appropriate)

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:49:27 2001 UTC (23 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +23 -18 lines
Initial commit of scheduler activations and lightweight process support.

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:08:25 2000 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +15 -12 lines
Update thorpej_scsipi to -current as of a month ago

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Aug 25 01:04:12 2000 UTC (24 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: nathanw_sa, kqueue
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Make need_resched() take a "struct cpu_info *" argument.  This
causes gives a primitive form of processor affinity.  Its use in
roundrobin() still needs some work.

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:05:48 2000 UTC (24 years, 7 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +3 -2 lines
Sync w/ netbsd-1-5-base.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun May 28 05:49:05 2000 UTC (24 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -2 lines
Rather than starting init and creating kthreads by forking and then
doing a cpu_set_kpc(), just pass the entry point and argument all
the way down the fork path starting with fork1().  In order to
avoid special-casing the normal fork in every cpu_fork(), MI code
passes down child_return() and the child process pointer explicitly.

This fixes a race condition on multiprocessor systems; a CPU could
grab the newly created processes (which has been placed on a run queue)
before cpu_set_kpc() would be performed.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Mar 30 11:27:17 2000 UTC (24 years, 9 months ago) by augustss
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +9 -9 lines
Kill register declarations.

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:27 1999 UTC (25 years ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +5 -3 lines
Pull up to last week's -current.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Dec 4 21:58:05 1999 UTC (25 years, 1 month ago) by tron
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Allow signal numbers upto 63 in clone(2) emulation.

Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:40:06 1999 UTC (25 years, 2 months ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +3 -1 lines
Sync with -current

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Oct 21 23:24:08 1999 UTC (25 years, 3 months ago) by itohy
Branches: MAIN
CVS tags: fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1 lines
Add #include <machine/cpu.h> for need_resched() macro.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Oct 11 01:18:35 1999 UTC (25 years, 3 months ago) by thorpej
Branches: MAIN
Branch point for: thorpej_scsipi, fvdl-softdep
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Fix typos in the license notice.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Oct 4 16:55:56 1999 UTC (25 years, 3 months ago) by tron
Branches: MAIN
Branch point for: wrstuden-devbsize
Add emulation for scheduler related syscalls. Although they are dummies
even under Linux the posix thread library for "glibc2" requires them.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>