The NetBSD Project

CVS log for src/sys/kern/kern_stub.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.50 / (download) - annotate - [select for diffs], Sat Aug 1 02:04:55 2020 UTC (3 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, 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, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.49: +6 -2 lines
Diff to previous 1.49 (colored) to selected 1.22 (colored)

New functions kthread_fpu_enter/exit.

The MI definitions don't do anything but maintain a flag, but MD code
can define kthread_fpu_enter/exit_md to actually enable/disable the
FPU.  (These are almost pcu_load/discard on systems that use pcu(9),
except they apply to all PCUs.)

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2020/06/20/msg026524.html

The proposed kthread flag KTHREAD_FPU is not included because I
couldn't find any particular need for it that would not be covered by
just calling kthread_fpu_enter/exit in the kthread function.

Revision 1.49 / (download) - annotate - [select for diffs], Sat May 23 23:42:43 2020 UTC (3 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored) to selected 1.22 (colored)

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.48 / (download) - annotate - [select for diffs], Tue Oct 8 07:33:15 2019 UTC (4 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.47: +12 -2 lines
Diff to previous 1.47 (colored) to selected 1.22 (colored)

steal an idea from uwe@ and implement gcc-8 function type cast
friendly methods for sys/conf.h that needs it.

one alias per return type and first function are are needed,
though they can be stubbed to existing code.  the only cost is
the symbol itself, the codegen it the same.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jan 27 02:55:26 2019 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.46: +2 -3 lines
Diff to previous 1.46 (colored) to selected 1.22 (colored)

remove extra #endif

Revision 1.46 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:43 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.45: +4 -3 lines
Diff to previous 1.45 (colored) to selected 1.22 (colored)

Merge the [pgoyette-compat] branch

Revision 1.45 / (download) - annotate - [select for diffs], Thu Apr 12 20:43:44 2018 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, 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, pgoyette-compat-0415
Branch point for: phil-wifi
Changes since 1.44: +5 -2 lines
Diff to previous 1.44 (colored) to selected 1.22 (colored)

let the modular code load the sysv modules.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Dec 16 18:42:22 2017 UTC (6 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.43: +16 -2 lines
Diff to previous 1.43 (colored) to selected 1.22 (colored)

Fix the build: XXX this might^Wwill break module autoloading...
It is the general issue about symbol replacement during module loading and
unloading...

Revision 1.43 / (download) - annotate - [select for diffs], Wed Nov 2 00:11:59 2016 UTC (7 years, 4 months ago) by pgoyette
Branch: 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-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, 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, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.42: +2 -11 lines
Diff to previous 1.42 (colored) to selected 1.22 (colored)

* Split sys/kern/sys_process.c into three parts:
        1 - ptrace(2) syscall for native emulation
        2 - common ptrace(2) syscall code (shared with compat_netbsd32)
        3 - support routines that are shared with PROCFS and/or KTRACE

* Add module glue for #1 and #2.  Both modules will be built-in to the
  kernel if "options PTRACE" is included in the config file (this is
  the default, defined in sys/conf/std).

* Mark the ptrace(2) syscall as modular in syscalls.master (generated
  files will be committed shortly).

* Conditionalize all remaining portions of PTRACE code on a new kernel
  option PTRACE_HOOKS.

XXX Instead of PROCFS depending on 'options PTRACE', we should probably
    just add a procfs attribute to the sys/kern/sys_process.c file's
    entry in files.kern, and add PROCFS to the "#if defineds" for
    process_domem().  It's really confusing to have two different ways
    of requiring this file.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Aug 28 07:18:39 2015 UTC (8 years, 7 months ago) by knakahara
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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
Branch point for: pgoyette-localcount
Changes since 1.41: +18 -8 lines
Diff to previous 1.41 (colored) to selected 1.22 (colored)

fix interrupt_* stubs. reported by skrll@n.o

Revision 1.41 / (download) - annotate - [select for diffs], Mon Aug 24 22:50:32 2015 UTC (8 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.40: +4 -2 lines
Diff to previous 1.40 (colored) to selected 1.22 (colored)

to garnish, dust with _KERNEL_OPT

Revision 1.40 / (download) - annotate - [select for diffs], Mon Aug 17 06:16:03 2015 UTC (8 years, 7 months ago) by knakahara
Branch: MAIN
Changes since 1.39: +10 -3 lines
Diff to previous 1.39 (colored) to selected 1.22 (colored)

Add kernel code to support intrctl(8).

Revision 1.39 / (download) - annotate - [select for diffs], Mon Apr 27 06:42:53 2015 UTC (8 years, 11 months ago) by knakahara
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.38: +4 -2 lines
Diff to previous 1.38 (colored) to selected 1.22 (colored)

add pci_intr_distribute(9) for x86.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Dec 9 18:06:27 2013 UTC (10 years, 3 months ago) by pooka
Branch: 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, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, 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, netbsd-7
Branch point for: nick-nhusb
Changes since 1.37: +24 -24 lines
Diff to previous 1.37 (colored) to selected 1.22 (colored)

As long as we're using #ifdef to decide which stubs get generated, might
as well use __strong_alias instead of __weak_alias.  Some toolchains
such as the cygwin pecoff one get weak aliases a bit wrong, so avoiding
unnecessary weak alises helps there.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:54 2012 UTC (12 years, 1 month ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.36: +4 -9 lines
Diff to previous 1.36 (colored) to selected 1.22 (colored)

Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Aug 31 20:09:57 2011 UTC (12 years, 7 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.35: +4 -2 lines
Diff to previous 1.35 (colored) to selected 1.22 (colored)

Add stub implementations of bus_dma_tag_create()/bus_dma_tag_destroy().

Revision 1.35 / (download) - annotate - [select for diffs], Tue Aug 16 23:32:15 2011 UTC (12 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.34: +9 -6 lines
Diff to previous 1.34 (colored) to selected 1.22 (colored)

Protect against bugs by using __strict_weak_alias() for
bus_space_is_equal() and bus_space_handle_is_equal().

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jul 6 18:24:26 2011 UTC (12 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.33: +16 -2 lines
Diff to previous 1.33 (colored) to selected 1.22 (colored)

Add default implementations for new bus_space(9) routines.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jun 1 21:25:01 2011 UTC (12 years, 10 months ago) by alnsn
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored) to selected 1.22 (colored)

kern/42030 - tracking of file descriptors by ktrace/kdump

Revision 1.32 / (download) - annotate - [select for diffs], Tue May 31 23:28:53 2011 UTC (12 years, 10 months ago) by dyoung
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.31: +6 -2 lines
Diff to previous 1.31 (colored) to selected 1.22 (colored)

Don't use the C preprocessor to configure USERCONF.  Instead, either do
or do not link in subr_userconf.c and x86_userconf.c.

Provide no-op stubs for userconf_bootinfo(), userconf_init(), and
userconf_prompt().

Delete all occurrences of #include "opt_userconf.h" as well as USERCONF
and __HAVE_USERCONF_BOOTINFO #ifdef'age.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Apr 27 00:00:46 2011 UTC (12 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.30: +2 -4 lines
Diff to previous 1.30 (colored) to selected 1.22 (colored)

Remove Mach specific trace points.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jan 31 23:07:16 2011 UTC (13 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.29: +4 -2 lines
Diff to previous 1.29 (colored) to selected 1.22 (colored)

Let the linker instead of the C preprocessor configure the kernel: make
weak aliases device_register(9) and device_register_post_config(9)
for the stub routine voidop().  Get rid of __HAVE_DEVICE_REGISTER and
__HAVE_DEVICE_REGISTER_POST_CONFIG.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jun 13 13:43:02 2010 UTC (13 years, 9 months ago) by simonb
Branch: 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
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.28: +3 -2 lines
Diff to previous 1.28 (colored) to selected 1.22 (colored)

KNF nit.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Apr 28 20:33:52 2010 UTC (13 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored) to selected 1.22 (colored)

Add data types, function prototypes, and stub implementations
for pci_chipset_tag_create() and pci_chipset_tag_destroy().  On
architectures that support it, an MI PCI bus driver can override the
architecture's default pci(9) and pci_intr(9) implementation.

Coming up next: documentation.
After that: x86 implementation.
Last but not least: make cbb(4) use MI PCI overrides.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Apr 26 22:58:53 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.26: +4 -2 lines
Diff to previous 1.26 (colored) to selected 1.22 (colored)

Add an optional hook for adjusting module string table after load.
Currently to be used for rump "SAOS" namespace trick.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Apr 19 18:24:27 2010 UTC (13 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.25: +14 -2 lines
Diff to previous 1.25 (colored) to selected 1.22 (colored)

Add default implementations for bus_space_is_equal(9),
bus_space_tag_create(9), and bus_space_tag_destroy(9).  Use
bus_space_is_equal(9) throughout the kernel to compare
bus_space_tag_t's.  Tested on i386 and on sparc64.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Apr 14 15:15:37 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.24: +2 -7 lines
Diff to previous 1.24 (colored) to selected 1.22 (colored)

Need a few funny #defines in kern_syscall.c too.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Apr 14 15:12:44 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored) to selected 1.22 (colored)

need opt_modular.h in kern_syscall

Revision 1.23 / (download) - annotate - [select for diffs], Wed Apr 14 14:46:59 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.22: +2 -191 lines
Diff to previous 1.22 (colored)

Move routines related to syscall establishment from kern_subr.c and
kern_stub.c to kern_syscall.c.

Revision 1.22 / (download) - annotate - [selected], Wed Mar 3 00:49:39 2010 UTC (14 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.21: +2 -7 lines
Diff to previous 1.21 (colored)

Remove fs_lfs now that the syscall is always defined.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Nov 3 05:23:28 2009 UTC (14 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.20: +12 -2 lines
Diff to previous 1.20 (colored) to selected 1.22 (colored)

Add a kernel configuration flag, SPLDEBUG, that activates a per-CPU log
of transitions to IPL_HIGH from lower IPLs.  SPLDEBUG is only available
on i386 and Xen kernels, today.

'options SPLDEBUG' adds instrumentation to spllower() and splraise() as
well as routines to start/stop debugging and to record IPL transitions:
spldebug_start(), spldebug_stop(), spldebug_raise(), spldebug_lower().

Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 6 21:07:06 2009 UTC (14 years, 5 months ago) by elad
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 (colored) to selected 1.22 (colored)

Add a (weak aliased) machdep_init() as a place to do machdep initialization
that can't happen as early as the other init functions as called from
cpu_startup() -- for example, register kauth(9) listeners.

Put unprivileged policy in the x86 code; used by i386, amd64, and xen.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 19 02:50:44 2009 UTC (14 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, jymxensuspend-base
Changes since 1.18: +12 -2 lines
Diff to previous 1.18 (colored) to selected 1.22 (colored)

Make POSIX message queues a kernel module.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Feb 13 22:41:04 2009 UTC (15 years, 1 month ago) by apb
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored) to selected 1.22 (colored)

Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jan 11 19:40:38 2009 UTC (15 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored) to selected 1.22 (colored)

fix lutimes.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:52 2009 UTC (15 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.15: +43 -3 lines
Diff to previous 1.15 (colored) to selected 1.22 (colored)

merge christos-time_t

Revision 1.15 / (download) - annotate - [select for diffs], Thu Nov 20 09:30:32 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Branch point for: christos-time_t
Changes since 1.14: +9 -3 lines
Diff to previous 1.14 (colored) to selected 1.22 (colored)

port-amd64/39963 modules/compat_netbsd32: missing symbols on amd64

Revision 1.14 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:07 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.13: +82 -2 lines
Diff to previous 1.13 (colored) to selected 1.22 (colored)

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

Revision 1.13 / (download) - annotate - [select for diffs], Fri Nov 14 23:33:45 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.12: +19 -11 lines
Diff to previous 1.12 (colored) to selected 1.22 (colored)

Make POSIX AIO loadable as a module.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Nov 12 14:29:31 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.11: +64 -3 lines
Diff to previous 1.11 (colored) to selected 1.22 (colored)

Atomic insertion/removal of groups of system call vectors at runtime with
a basic facility for rollback.

Proposed on tech-kern@.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 15 16:03:29 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: MAIN
CVS Tags: netbsd-5-base, 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, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, matt-nb5-mips64
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored) to selected 1.22 (colored)

Add a weak alias for ktr_saupcall, so things build w/o KTRACE compiled.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:20 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: MAIN
Changes since 1.9: +7 -4 lines
Diff to previous 1.9 (colored) to selected 1.22 (colored)

Merge wrstuden-revivesa into HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Thu May 1 00:20:12 2008 UTC (15 years, 11 months ago) by ad
Branch: 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, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Changes since 1.8: +9 -2 lines
Diff to previous 1.8 (colored) to selected 1.22 (colored)

#error if __HAVE_PREEMPTION && !MULTIPROCESSOR.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 28 21:17:16 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.7: +27 -3 lines
Diff to previous 1.7 (colored) to selected 1.22 (colored)

Make the preemption switch a __HAVE instead of an option.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:03 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.6: +2 -9 lines
Diff to previous 1.6 (colored) to selected 1.22 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.6 / (download) - annotate - [select for diffs], Thu Apr 24 15:35:29 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored) to selected 1.22 (colored)

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.5 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:09 2007 UTC (16 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) to selected 1.22 (colored)

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.4 / (download) - annotate - [select for diffs], Mon Aug 27 13:33:45 2007 UTC (16 years, 7 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-csl-alignment-base5, mjf-devfs, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, matt-armv6, bouyer-xeni386
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) to selected 1.22 (colored)

Fix inverted test in ktrpoint(), NAMI traces weren't being generated.
Also inline the 'ktrace_on' part of the test.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Aug 15 12:07:34 2007 UTC (16 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.2: +131 -3 lines
Diff to previous 1.2 (colored) to selected 1.22 (colored)

Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Mar 3 10:08:19 2007 UTC (17 years, 1 month ago) by itohy
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, nick-csl-alignment, jmcneill-pm
Changes since 1.1: +10 -10 lines
Diff to previous 1.1 (colored) to selected 1.22 (colored)

Remove extra space so that symbol renaming works properly.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Feb 10 11:32:21 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-lazymbuf, yamt-idlelwp
Diff to selected 1.22 (colored)

A quick hack to get things building again: put back the SA system calls
with no arguments, and alias them to sys_nosys. To be revisited.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>