Up to [cvs.netbsd.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.436.2.3 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:22 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.436.2.2: +17 -16
lines
Diff to previous 1.436.2.2 (colored) to branchpoint 1.436 (colored) next main 1.437 (colored)
sync with head
Revision 1.437.2.2 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:44 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.437.2.1: +2 -9
lines
Diff to previous 1.437.2.1 (colored) to branchpoint 1.437 (colored) next main 1.438 (colored)
sync to -current.
Revision 1.442 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:47 2012 UTC (3 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
HEAD
Changes since 1.441: +2 -9
lines
Diff to previous 1.441 (colored)
Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3! Approved by core@.
Revision 1.437.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:26 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.437: +9 -5
lines
Diff to previous 1.437 (colored)
merge to -current.
Revision 1.441 / (download) - annotate - [select for diffs], Thu Feb 2 19:43:07 2012 UTC (3 months, 3 weeks ago) by tls
Branch: MAIN
CVS Tags: netbsd-6-base,
netbsd-6,
jmcneill-usbmp-base2
Changes since 1.440: +3 -3
lines
Diff to previous 1.440 (colored)
Entropy-pool implementation move and cleanup. 1) Move core entropy-pool code and source/sink/sample management code to sys/kern from sys/dev. 2) Remove use of NRND as test for presence of entropy-pool code throughout source tree. 3) Remove use of RND_ENABLED in device drivers as microoptimization to avoid expensive operations on disabled entropy sources; make the rnd_add calls do this directly so all callers benefit. 4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might have lead to slight entropy overestimation for some sources. 5) Add new source types for environmental sensors, power sensors, VM system events, and skew between clocks, with a sample implementation for each. ok releng to go in before the branch due to the difficulty of later pullup (widespread #ifdef removal and moved files). Tested with release builds on amd64 and evbarm and live testing on amd64.
Revision 1.440 / (download) - annotate - [select for diffs], Sun Jan 29 22:55:40 2012 UTC (3 months, 3 weeks ago) by rmind
Branch: MAIN
Changes since 1.439: +3 -3
lines
Diff to previous 1.439 (colored)
- Add mi_cpu_init() and initialise cpu_lock and kcpuset_attached/running there. - Add kcpuset_running which gets set in idle_loop(). - Use kcpuset_running in pserialize_perform().
Revision 1.439 / (download) - annotate - [select for diffs], Tue Jan 24 20:03:36 2012 UTC (4 months ago) by christos
Branch: MAIN
Changes since 1.438: +3 -3
lines
Diff to previous 1.438 (colored)
Use and define ALIGN() ALIGN_POINTER() and STACK_ALIGN() consistently, and avoid definining them in 10 different places if not needed.
Revision 1.371.2.3.4.2 / (download) - annotate - [select for diffs], Tue Dec 27 16:35:13 2011 UTC (4 months, 4 weeks ago) by matt
Branch: matt-nb5-mips64
Changes since 1.371.2.3.4.1: +8 -7
lines
Diff to previous 1.371.2.3.4.1 (colored) to branchpoint 1.371.2.3 (colored) next main 1.371.2.4 (colored)
Backport joinable kthread support (for flash infrastructure).
Revision 1.438 / (download) - annotate - [select for diffs], Sun Dec 4 19:24:58 2011 UTC (5 months, 3 weeks ago) by jym
Branch: MAIN
Changes since 1.437: +6 -2
lines
Diff to previous 1.437 (colored)
Implement the register/deregister/evaluation API for secmodel(9). It
allows registration of callbacks that can be used later for
cross-secmodel "safe" communication.
When a secmodel wishes to know a property maintained by another
secmodel, it has to submit a request to it so the other secmodel can
proceed to evaluating the request. This is done through the
secmodel_eval(9) call; example:
bool isroot;
error = secmodel_eval("org.netbsd.secmodel.suser", "is-root",
cred, &isroot);
if (error == 0 && !isroot)
result = KAUTH_RESULT_DENY;
This one asks the suser module if the credentials are assumed to be root
when evaluated by suser module. If the module is present, it will
respond. If absent, the call will return an error.
Args and command are arbitrarily defined; it's up to the secmodel(9) to
document what it expects.
Typical example is securelevel testing: when someone wants to know
whether securelevel is raised above a certain level or not, the caller
has to request this property to the secmodel_securelevel(9) module.
Given that securelevel module may be absent from system's context (thus
making access to the global "securelevel" variable impossible or
unsafe), this API can cope with this absence and return an error.
We are using secmodel_eval(9) to implement a secmodel_extensions(9)
module, which plugs with the bsd44, suser and securelevel secmodels
to provide the logic behind curtain, usermount and user_set_cpu_affinity
modes, without adding hooks to traditional secmodels. This solves a
real issue with the current secmodel(9) code, as usermount or
user_set_cpu_affinity are not really tied to secmodel_suser(9).
The secmodel_eval(9) is also used to restrict security.models settings
when securelevel is above 0, through the "is-securelevel-above"
evaluation:
- curtain can be enabled any time, but cannot be disabled if
securelevel is above 0.
- usermount/user_set_cpu_affinity can be disabled any time, but cannot
be enabled if securelevel is above 0.
Regarding sysctl(7) entries:
curtain and usermount are now found under security.models.extensions
tree. The security.curtain and vfs.generic.usermount are still
accessible for backwards compat.
Documentation is incoming, I am proof-reading my writings.
Written by elad@, reviewed and tested (anita test + interact for rights
tests) by me. ok elad@.
See also
http://mail-index.netbsd.org/tech-security/2011/11/29/msg000422.html
XXX might consider va0 mapping too.
XXX Having a secmodel(9) specific printf (like aprint_*) for reporting
secmodel(9) errors might be a good idea, but I am not sure on how
to design such a function right now.
Revision 1.436.2.2 / (download) - annotate - [select for diffs], Sun Nov 20 10:52:33 2011 UTC (6 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.436.2.1: +0 -4
lines
Diff to previous 1.436.2.1 (colored) to branchpoint 1.436 (colored)
- fix page loaning XXX make O->A loaning further - add some statistics
Revision 1.437 / (download) - annotate - [select for diffs], Sat Nov 19 22:51:25 2011 UTC (6 months ago) by tls
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.436: +12 -8
lines
Diff to previous 1.436 (colored)
First step of random number subsystem rework described in <20111022023242.BA26F14A158@mail.netbsd.org>. This change includes the following: An initial cleanup and minor reorganization of the entropy pool code in sys/dev/rnd.c and sys/dev/rndpool.c. Several bugs are fixed. Some effort is made to accumulate entropy more quickly at boot time. A generic interface, "rndsink", is added, for stream generators to request that they be re-keyed with good quality entropy from the pool as soon as it is available. The arc4random()/arc4randbytes() implementation in libkern is adjusted to use the rndsink interface for rekeying, which helps address the problem of low-quality keys at boot time. An implementation of the FIPS 140-2 statistical tests for random number generator quality is provided (libkern/rngtest.c). This is based on Greg Rose's implementation from Qualcomm. A new random stream generator, nist_ctr_drbg, is provided. It is based on an implementation of the NIST SP800-90 CTR_DRBG by Henric Jungheim. This generator users AES in a modified counter mode to generate a backtracking-resistant random stream. An abstraction layer, "cprng", is provided for in-kernel consumers of randomness. The arc4random/arc4randbytes API is deprecated for in-kernel use. It is replaced by "cprng_strong". The current cprng_fast implementation wraps the existing arc4random implementation. The current cprng_strong implementation wraps the new CTR_DRBG implementation. Both interfaces are rekeyed from the entropy pool automatically at intervals justifiable from best current cryptographic practice. In some quick tests, cprng_fast() is about the same speed as the old arc4randbytes(), and cprng_strong() is about 20% faster than rnd_extract_data(). Performance is expected to improve. The AES code in src/crypto/rijndael is no longer an optional kernel component, as it is required by cprng_strong, which is not an optional kernel component. The entropy pool output is subjected to the rngtest tests at startup time; if it fails, the system will reboot. There is approximately a 3/10000 chance of a false positive from these tests. Entropy pool _input_ from hardware random numbers is subjected to the rngtest tests at attach time, as well as the FIPS continuous-output test, to detect bad or stuck hardware RNGs; if any are detected, they are detached, but the system continues to run. A problem with rndctl(8) is fixed -- datastructures with pointers in arrays are no longer passed to userspace (this was not a security problem, but rather a major issue for compat32). A new kernel will require a new rndctl. The sysctl kern.arandom() and kern.urandom() nodes are hooked up to the new generators, but the /dev/*random pseudodevices are not, yet. Manual pages for the new kernel interfaces are forthcoming.
Revision 1.436.2.1 / (download) - annotate - [select for diffs], Wed Nov 2 21:53:59 2011 UTC (6 months, 3 weeks ago) by yamt
Branch: yamt-pagecache
Changes since 1.436: +4 -2
lines
Diff to previous 1.436 (colored)
page cache related changes - maintain object pages in radix tree rather than rb tree. - reduce unnecessary page scan in putpages. esp. when an object has a ton of pages cached but only a few of them are dirty. - reduce the number of pmap operations by tracking page dirtiness more precisely in uvm layer. - fix nfs commit range tracking. - fix nfs write clustering. XXX hack
Revision 1.371.2.5.2.1 / (download) - annotate - [select for diffs], Fri Oct 14 17:25:36 2011 UTC (7 months, 1 week ago) by matt
Branch: matt-nb5-pq3
Changes since 1.371.2.5: +3 -2
lines
Diff to previous 1.371.2.5 (colored) next main 1.371.2.6 (colored)
Improved kthread join support
Revision 1.436 / (download) - annotate - [select for diffs], Wed Sep 28 15:52:47 2011 UTC (7 months, 3 weeks ago) by jruoho
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.435: +6 -2
lines
Diff to previous 1.435 (colored)
Initialize cpufreq(9) normally from main().
Revision 1.371.2.4.2.1 / (download) - annotate - [select for diffs], Mon Aug 8 19:47:01 2011 UTC (9 months, 2 weeks ago) by riz
Branch: netbsd-5-1
CVS Tags: netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE
Changes since 1.371.2.4: +6 -2
lines
Diff to previous 1.371.2.4 (colored) next main 1.371.2.5 (colored)
Pull up following revision(s) (requested by bouyer in ticket #1644): sys/sys/socketvar.h: revision 1.126 sys/kern/init_main.c: revision 1.433 sys/kern/uipc_socket.c: revision 1.205 Fix kern/45093 as discussed on tech-kern@: http://mail-index.netbsd.org/tech-kern/2011/06/17/msg010734.html The cause of the problem is that the so_pendfree is processed with the softnet_lock held at one point, and processing the list calls sodoloanfree() which may kpause(). As the thread sleeps with softnet_lock held, it ultimately cause a deadlock (see the PR or tech-kern thread for details). Although it should be possible to call sodopendfree() after releasing the socket lock, it's not so easy to know where he socket lock is held and where it's not, so we may hit the issue again later. Add a kernel thread to handle the so_pendfree list, and wake up this thread when adding mbufs to this list. Get rid of the various sodopendfree() calls, hopefully fixing definitively the problem.
Revision 1.371.2.6 / (download) - annotate - [select for diffs], Mon Aug 8 19:45:57 2011 UTC (9 months, 2 weeks ago) by riz
Branch: netbsd-5
Changes since 1.371.2.5: +6 -2
lines
Diff to previous 1.371.2.5 (colored) to branchpoint 1.371 (colored) next main 1.372 (colored)
Pull up following revision(s) (requested by bouyer in ticket #1644): sys/sys/socketvar.h: revision 1.126 sys/kern/init_main.c: revision 1.433 sys/kern/uipc_socket.c: revision 1.205 Fix kern/45093 as discussed on tech-kern@: http://mail-index.netbsd.org/tech-kern/2011/06/17/msg010734.html The cause of the problem is that the so_pendfree is processed with the softnet_lock held at one point, and processing the list calls sodoloanfree() which may kpause(). As the thread sleeps with softnet_lock held, it ultimately cause a deadlock (see the PR or tech-kern thread for details). Although it should be possible to call sodopendfree() after releasing the socket lock, it's not so easy to know where he socket lock is held and where it's not, so we may hit the issue again later. Add a kernel thread to handle the so_pendfree list, and wake up this thread when adding mbufs to this list. Get rid of the various sodopendfree() calls, hopefully fixing definitively the problem.
Revision 1.435 / (download) - annotate - [select for diffs], Sun Aug 7 13:33:01 2011 UTC (9 months, 2 weeks ago) by rmind
Branch: MAIN
Changes since 1.434: +4 -2
lines
Diff to previous 1.434 (colored)
Add kcpuset(9) - a reworked dynamic CPU set implementation for kernel. Suitable for use during the early boot. MD and other implementations should be replaced with this interface. Discussed on: tech-kern@
Revision 1.434 / (download) - annotate - [select for diffs], Sat Jul 30 17:01:04 2011 UTC (9 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.433: +7 -2
lines
Diff to previous 1.433 (colored)
Add an implementation of passive serialization as described in expired US patent 4809168. This is a reader / writer synchronization mechanism, designed for lock-less read operations.
Revision 1.433 / (download) - annotate - [select for diffs], Sat Jul 2 17:53:50 2011 UTC (10 months, 3 weeks ago) by bouyer
Branch: MAIN
Changes since 1.432: +6 -2
lines
Diff to previous 1.432 (colored)
Fix kern/45093 as discussed on tech-kern@: http://mail-index.netbsd.org/tech-kern/2011/06/17/msg010734.html The cause of the problem is that the so_pendfree is processed with the softnet_lock held at one point, and processing the list calls sodoloanfree() which may kpause(). As the thread sleeps with softnet_lock held, it ultimately cause a deadlock (see the PR or tech-kern thread for details). Although it should be possible to call sodopendfree() after releasing the socket lock, it's not so easy to know where he socket lock is held and where it's not, so we may hit the issue again later. Add a kernel thread to handle the so_pendfree list, and wake up this thread when adding mbufs to this list. Get rid of the various sodopendfree() calls, hopefully fixing definitively the problem.
Revision 1.431.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:18 2011 UTC (11 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.431: +7 -5
lines
Diff to previous 1.431 (colored) next main 1.432 (colored)
Catchup with rmind-uvmplock merge.
Revision 1.432 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:56 2011 UTC (11 months, 2 weeks ago) by rmind
Branch: MAIN
Changes since 1.431: +7 -5
lines
Diff to previous 1.431 (colored)
Welcome to 5.99.53! Merge rmind-uvmplock branch: - Reorganize locking in UVM and provide extra serialisation for pmap(9). New lock order: [vmpage-owner-lock] -> pmap-lock. - Simplify locking in some pmap(9) modules by removing P->V locking. - Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs). - Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner. Add TLBSTATS option for x86 to collect statistics about TLB shootdowns. - Unify /dev/mem et al in MI code and provide required locking (removes kernel-lock on some ports). Also, avoid cache-aliasing issues. Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches formed the core changes of this branch.
Revision 1.418.4.8 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:28 2011 UTC (11 months, 2 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.418.4.7: +0 -7
lines
Diff to previous 1.418.4.7 (colored) to branchpoint 1.418 (colored) next main 1.419 (colored)
sync with head
Revision 1.424.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:26 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.424: +12 -13
lines
Diff to previous 1.424 (colored) next main 1.425 (colored)
Sync with HEAD.
Revision 1.431 / (download) - annotate - [select for diffs], Tue May 31 23:28:53 2011 UTC (11 months, 3 weeks ago) by dyoung
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.430: +2 -9
lines
Diff to previous 1.430 (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.418.4.7 / (download) - annotate - [select for diffs], Tue May 31 03:05:00 2011 UTC (11 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.418.4.6: +3 -1
lines
Diff to previous 1.418.4.6 (colored) to branchpoint 1.418 (colored)
sync with head
Revision 1.430 / (download) - annotate - [select for diffs], Thu May 26 04:25:26 2011 UTC (12 months ago) by uebayasi
Branch: MAIN
Changes since 1.429: +4 -3
lines
Diff to previous 1.429 (colored)
Support userconf(4) command in boot(8)/boot.cfg(5) on i386/amd64. From jmmv@, no objections seen in the proposed thread: http://mail-index.netbsd.org/tech-kern/2009/01/22/msg004081.html
Revision 1.429 / (download) - annotate - [select for diffs], Thu May 19 03:07:29 2011 UTC (12 months, 1 week ago) by rmind
Branch: MAIN
Changes since 1.428: +3 -2
lines
Diff to previous 1.428 (colored)
Re-implement kthread_join(9), so that it actually works (hi haad@).
Revision 1.418.4.6 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:06 2011 UTC (13 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.418.4.5: +3 -3
lines
Diff to previous 1.418.4.5 (colored) to branchpoint 1.418 (colored)
sync with head
Revision 1.428 / (download) - annotate - [select for diffs], Thu Apr 14 16:20:52 2011 UTC (13 months, 1 week ago) by yamt
Branch: MAIN
Changes since 1.427: +3 -3
lines
Diff to previous 1.427 (colored)
comment
Revision 1.418.4.5 / (download) - annotate - [select for diffs], Sun Mar 6 01:38:45 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.418.4.4: +5 -5
lines
Diff to previous 1.418.4.4 (colored) to branchpoint 1.418 (colored)
- mm_init: disable pmap_protect() call on zero-page for now (x86 pmap issue). - Run evcnt_init() a little bit earlier, before uvm_init().
Revision 1.418.4.4 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:12 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.418.4.3: +13 -8
lines
Diff to previous 1.418.4.3 (colored) to branchpoint 1.418 (colored)
sync with head
Revision 1.426.2.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:58 2011 UTC (15 months, 2 weeks ago) by bouyer
Branch: bouyer-quota2
Changes since 1.426: +4 -2
lines
Diff to previous 1.426 (colored) next main 1.427 (colored)
Sync with HEAD
Revision 1.427 / (download) - annotate - [select for diffs], Fri Jan 28 18:44:44 2011 UTC (15 months, 3 weeks ago) by pooka
Branch: MAIN
CVS Tags: bouyer-quota2-nbase,
bouyer-quota2-base
Changes since 1.426: +4 -2
lines
Diff to previous 1.426 (colored)
Move sysctl routines from init_sysctl.c to kern_descrip.c (for descriptors) and kern_proc.c (for processes). This makes them usable in a rump kernel, in case somebody was wondering.
Revision 1.426 / (download) - annotate - [select for diffs], Tue Jan 18 08:18:43 2011 UTC (16 months, 1 week ago) by matt
Branch: MAIN
Branch point for: bouyer-quota2
Changes since 1.425: +5 -3
lines
Diff to previous 1.425 (colored)
Move up evcnt_init to before cpu_startup()
Revision 1.425 / (download) - annotate - [select for diffs], Mon Jan 17 07:13:31 2011 UTC (16 months, 1 week ago) by uebayasi
Branch: MAIN
Changes since 1.424: +3 -3
lines
Diff to previous 1.424 (colored)
Include internal definitions (uvm/uvm.h) only where necessary.
Revision 1.371.2.5 / (download) - annotate - [select for diffs], Tue Dec 21 22:21:42 2010 UTC (17 months ago) by riz
Branch: netbsd-5
CVS Tags: matt-nb5-pq3-base
Branch point for: matt-nb5-pq3
Changes since 1.371.2.4: +5 -5
lines
Diff to previous 1.371.2.4 (colored) to branchpoint 1.371 (colored)
Pull up following revision(s) (requested by skrll in ticket #1496): sys/kern/init_main.c: revision 1.418 fix LOCKDEBUG panic 'uninitialized lock'. seminit() calls exithook_establish(). exithook_establish() uses the exec_lock. exec_lock is initialzed by exec_init(1). Call exec_init(1) before seminit().
Revision 1.424 / (download) - annotate - [select for diffs], Thu Dec 16 00:42:22 2010 UTC (17 months, 1 week ago) by eeh
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.423: +4 -4
lines
Diff to previous 1.423 (colored)
ubc_init needs to run while we're still cold or uvmhist breaks.
Revision 1.418.2.3 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:24 2010 UTC (19 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.418.2.2: +1 -0
lines
Diff to previous 1.418.2.2 (colored) to branchpoint 1.418 (colored) next main 1.419 (colored)
Sync with HEAD (-D20101022).
Revision 1.353.2.9 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:30 2010 UTC (19 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.353.2.8: +3 -2
lines
Diff to previous 1.353.2.8 (colored) to branchpoint 1.353 (colored) next main 1.354 (colored)
sync with head
Revision 1.423 / (download) - annotate - [select for diffs], Sat Aug 21 13:17:31 2010 UTC (21 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
uebayasi-xip-base4,
uebayasi-xip-base3
Changes since 1.422: +3 -2
lines
Diff to previous 1.422 (colored)
Define a set of new kernel locking primitives to implement the recursive kernconfig_mutex. Update module subsystem to use this mutex rather than its own internal (non-recursive) mutex. Make module_autoload() do its own locking to be consistent with the rest of the module_xxx() calls. Update module(9) man page appropriately. As discussed on tech-kern over the last few weeks. Welcome to NetBSD 5.99.39 !
Revision 1.418.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:25 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.418.2.1: +22 -3
lines
Diff to previous 1.418.2.1 (colored) to branchpoint 1.418 (colored)
Sync with HEAD.
Revision 1.353.2.8 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:38 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.353.2.7: +24 -13
lines
Diff to previous 1.353.2.7 (colored) to branchpoint 1.353 (colored)
sync with head.
Revision 1.418.4.3 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:52 2010 UTC (22 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.418.4.2: +24 -5
lines
Diff to previous 1.418.4.2 (colored) to branchpoint 1.418 (colored)
sync with head
Revision 1.422 / (download) - annotate - [select for diffs], Sat Jun 26 07:23:57 2010 UTC (23 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10,
uebayasi-xip-base2
Changes since 1.421: +6 -4
lines
Diff to previous 1.421 (colored)
1. Add an allocator for 'struct module *' and use it instead of local allocations. 2. Add a new member mod_flags to the 'struct module *' and define MODFLG_MUST_FORCE. If this flag is set and the entry is on the list of builtins, it means that the module has been explicitly unloaded and any re-loads will require the MODCTL_LOAD_FORCE flag. Provide a module_require_force() method to set this flag; once set, it should never be unset. 3. Rename original module_init2() to module_start_unload_thread() to be more descriptive of what it does. 4. Add a new module_builtin_require_force() routine that sets the MODFLG_MUST_FORCE flag for any module that has not yet successfully been initialized. Call it after module_init_class(MODULE_CLASS_ANY) to disable remaining built-in modules. This makes built-in versions of the xxxVERBOSE modules work once more, resolving breakage reported by jruoho@ and njoly@. Discussed on tech-kern, and comments and suggestions implemented. No additional discussion for last week. Tested only on amd64 systems, but there's nothing here that should be port- or architecture-specific (no more specific than existing module implementation) so others should not break.
Revision 1.421 / (download) - annotate - [select for diffs], Fri Jun 25 15:10:42 2010 UTC (23 months ago) by tsutsui
Branch: MAIN
Changes since 1.420: +19 -2
lines
Diff to previous 1.420 (colored)
Add config_mountroot(9), which defers device configuration after mountroot(), like config_interrupt(9) that defers configuration after interrupts are enabled. This will be used for devices that require firmware loaded from the root file system by firmload(9) to complete device initialization (getting MAC address etc). No objection on tech-kern@: http://mail-index.NetBSD.org/tech-kern/2010/06/18/msg008370.html and will also fix PR kern/43125.
Revision 1.420 / (download) - annotate - [select for diffs], Thu Jun 10 20:54:53 2010 UTC (23 months, 2 weeks ago) by pooka
Branch: MAIN
Changes since 1.419: +3 -3
lines
Diff to previous 1.419 (colored)
lwp0 seems like an lwp instead of a process, so move bits related to it from kern_proc.c to kern_lwp.c. This makes kern_proc "scheduling-clean" and more easily usable in environments with a non-integrated scheduler (like, to take a random example, rump).
Revision 1.418.4.2 / (download) - annotate - [select for diffs], Sun May 30 05:17:56 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.418.4.1: +2 -10
lines
Diff to previous 1.418.4.1 (colored) to branchpoint 1.418 (colored)
sync with head
Revision 1.418.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:08 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.418: +2 -10
lines
Diff to previous 1.418 (colored)
Sync with HEAD.
Revision 1.419 / (download) - annotate - [select for diffs], Wed Apr 21 16:51:24 2010 UTC (2 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.418: +2 -10
lines
Diff to previous 1.418 (colored)
Reduce #ifdef spew by attaching wapbl as a module. (no, it's still too ifdef-ridden to be able to actually do anything useful and module-like like load into any kernel)
Revision 1.371.2.3.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:28:15 2010 UTC (2 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Changes since 1.371.2.3: +4 -4
lines
Diff to previous 1.371.2.3 (colored)
sync to netbsd-5
Revision 1.418.4.1 / (download) - annotate - [select for diffs], Thu Mar 18 04:36:54 2010 UTC (2 years, 2 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.418: +4 -2
lines
Diff to previous 1.418 (colored)
Unify /dev/{mem,kmem,zero,null} implementations in MI code. Based on patch
from Joerg Sonnenberger, proposed on tech-kern@, in February 2008.
Work and depression still in progress.
Revision 1.353.2.7 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:15 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.353.2.6: +51 -54
lines
Diff to previous 1.353.2.6 (colored) to branchpoint 1.353 (colored)
sync with head
Revision 1.371.2.4 / (download) - annotate - [select for diffs], Sun Feb 14 13:35:43 2010 UTC (2 years, 3 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1
Branch point for: netbsd-5-1
Changes since 1.371.2.3: +4 -4
lines
Diff to previous 1.371.2.3 (colored) to branchpoint 1.371 (colored)
Pull up following revision(s) (requested by hubertf in ticket #1290): sys/kern/kern_ksyms.c: revision 1.53 sys/dev/pci/agp_via.c: revision 1.18 sys/netipsec/key.c: revision 1.63 sys/arch/x86/x86/x86_autoconf.c: revision 1.49 sys/kern/init_main.c: revision 1.415 sys/kern/cnmagic.c: revision 1.11 sys/netipsec/ipsec.c: revision 1.47 sys/arch/x86/x86/pmap.c: revision 1.100 sys/netkey/key.c: revision 1.176 Replace more printfs with aprint_normal / aprint_verbose Makes "boot -z" go mostly silent for me.
Revision 1.418 / (download) - annotate - [select for diffs], Fri Feb 5 11:06:36 2010 UTC (2 years, 3 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
uebayasi-xip-base
Branch point for: uebayasi-xip,
rmind-uvmplock
Changes since 1.417: +7 -7
lines
Diff to previous 1.417 (colored)
fix LOCKDEBUG panic 'uninitialized lock'. seminit() calls exithook_establish(). exithook_establish() uses the exec_lock. exec_lock is initialzed by exec_init(1). Call exec_init(1) before seminit().
Revision 1.417 / (download) - annotate - [select for diffs], Sun Jan 31 03:57:01 2010 UTC (2 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.416: +3 -3
lines
Diff to previous 1.416 (colored)
uncommit part which wasn't supposed to get committed yet
Revision 1.416 / (download) - annotate - [select for diffs], Sun Jan 31 02:04:43 2010 UTC (2 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.415: +4 -4
lines
Diff to previous 1.415 (colored)
Pass root device as a parameter to domountroothook().
Revision 1.415 / (download) - annotate - [select for diffs], Sun Jan 31 00:43:37 2010 UTC (2 years, 3 months ago) by hubertf
Branch: MAIN
Changes since 1.414: +4 -4
lines
Diff to previous 1.414 (colored)
Replace more printfs with aprint_normal / aprint_verbose Makes "boot -z" go mostly silent for me.
Revision 1.414 / (download) - annotate - [select for diffs], Tue Jan 19 22:08:00 2010 UTC (2 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.413: +9 -2
lines
Diff to previous 1.413 (colored)
Redefine bpf linkage through an always present op vector, i.e. #if NBPFILTER is no longer required in the client. This change doesn't yet add support for loading bpf as a module, since drivers can register before bpf is attached. However, callers of bpf can now be modularized. Dynamically loadable bpf could probably be done fairly easily with coordination from the stub driver and the real driver by registering attachments in the stub before the real driver is loaded and doing a handoff. ... and I'm not going to ponder the depths of unload here. Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
Revision 1.413 / (download) - annotate - [select for diffs], Wed Dec 23 00:21:38 2009 UTC (2 years, 5 months ago) by elad
Branch: MAIN
Changes since 1.412: +2 -3
lines
Diff to previous 1.412 (colored)
Including sysctl.h once is enough.
Revision 1.412 / (download) - annotate - [select for diffs], Thu Dec 17 01:25:10 2009 UTC (2 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.411: +2 -3
lines
Diff to previous 1.411 (colored)
Replace few USER_TO_UAREA/UAREA_TO_USER uses, reduce sys/user.h inclusions.
Revision 1.411 / (download) - annotate - [select for diffs], Fri Nov 27 16:43:51 2009 UTC (2 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.410: +2 -27
lines
Diff to previous 1.410 (colored)
Move rootfs-related init from init_main() to vfs_mountroot(). Reduces code re-written in rump.
Revision 1.410 / (download) - annotate - [select for diffs], Sun Nov 15 02:37:13 2009 UTC (2 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.409: +3 -2
lines
Diff to previous 1.409 (colored)
Include miscfs/specfs/specdev.h for spec_init().
Revision 1.409 / (download) - annotate - [select for diffs], Sat Nov 14 18:36:57 2009 UTC (2 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.408: +7 -3
lines
Diff to previous 1.408 (colored)
- Move kauth_init() a little bit higher. - Add spec_init() to authorize special device actions (and passthru too for the time being). Move policy out of secmodel_suser.
Revision 1.408 / (download) - annotate - [select for diffs], Tue Nov 3 05:23:28 2009 UTC (2 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.407: +5 -2
lines
Diff to previous 1.407 (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.407 / (download) - annotate - [select for diffs], Mon Oct 26 19:03:17 2009 UTC (2 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.406: +3 -3
lines
Diff to previous 1.406 (colored)
Update comment about proc0_init().
Revision 1.406 / (download) - annotate - [select for diffs], Tue Oct 6 21:07:05 2009 UTC (2 years, 7 months ago) by elad
Branch: MAIN
Changes since 1.405: +4 -2
lines
Diff to previous 1.405 (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.405 / (download) - annotate - [select for diffs], Sat Oct 3 22:32:56 2009 UTC (2 years, 7 months ago) by elad
Branch: MAIN
Changes since 1.404: +5 -3
lines
Diff to previous 1.404 (colored)
- Move sched_listener and co. from kern_synch.c to sys_sched.c, where it really belongs (suggested by rmind@), - Rename sched_init() to synch_init(), and introduce a new sched_init() in sys_sched.c where we (a) initialize the sysctl node (no more link-set) and (b) listen on the process scope with sched_listener. Reviewed by and okay rmind@.
Revision 1.404 / (download) - annotate - [select for diffs], Fri Oct 2 22:18:57 2009 UTC (2 years, 7 months ago) by elad
Branch: MAIN
Changes since 1.403: +11 -2
lines
Diff to previous 1.403 (colored)
Move ptrace's security policy back to the subsystem itself. Add a ptrace_init() so we have a place to register the listener; called next to ktrinit().
Revision 1.403 / (download) - annotate - [select for diffs], Fri Oct 2 18:50:14 2009 UTC (2 years, 7 months ago) by elad
Branch: MAIN
Changes since 1.402: +8 -15
lines
Diff to previous 1.402 (colored)
First part of secmodel cleanup and other misc. changes:
- Separate the suser part of the bsd44 secmodel into its own secmodel
and directory, pending even more cleanups. For revision history
purposes, the original location of the files was
src/sys/secmodel/bsd44/secmodel_bsd44_suser.c
src/sys/secmodel/bsd44/suser.h
- Add a man-page for secmodel_suser(9) and update the one for
secmodel_bsd44(9).
- Add a "secmodel" module class and use it. Userland program and
documentation updated.
- Manage secmodel count (nsecmodels) through the module framework.
This eliminates the need for secmodel_{,de}register() calls in
secmodel code.
- Prepare for secmodel modularization by adding relevant module bits.
The secmodels don't allow auto unload. The bsd44 secmodel depends
on the suser and securelevel secmodels. The overlay secmodel depends
on the bsd44 secmodel. As the module class is only cosmetic, and to
prevent ambiguity, the bsd44 and overlay secmodels are prefixed with
"secmodel_".
- Adapt the overlay secmodel to recent changes (mainly vnode scope).
- Stop using link-sets for the sysctl node(s) creation.
- Keep sysctl variables under nodes of their relevant secmodels. In
other words, don't create duplicates for the suser/securelevel
secmodels under the bsd44 secmodel, as the latter is merely used
for "grouping".
- For the suser and securelevel secmodels, "advertise presence" in
relevant sysctl nodes (sysctl.security.models.{suser,securelevel}).
- Get rid of the LKM preprocessor stuff.
- As secmodels are now modules, there's no need for an explicit call
to secmodel_start(); it's handled by the module framework. That
said, the module framework was adjusted to properly load secmodels
early during system startup.
- Adapt rump to changes: Instead of using empty stubs for securelevel,
simply use the suser secmodel. Also replace secmodel_start() with a
call to secmodel_suser_start().
- 5.99.20.
Testing was done on i386 ("release" build). Spearated module_init()
changes were tested on sparc and sparc64 as well by martin@ (thanks!).
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/09/25/msg006135.html
Revision 1.402 / (download) - annotate - [select for diffs], Tue Sep 29 22:40:15 2009 UTC (2 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.401: +3 -2
lines
Diff to previous 1.401 (colored)
#include "drvctl.h" for the NDRVCTL definition. Without the NDRVCTL definition, drvctl_init() is not called, the drvctl_eventq is not initialized, and the kernel will panic in devmon_insert() when a device is detached. Thanks to Jared McNeill for pointing out the panic.
Revision 1.401 / (download) - annotate - [select for diffs], Mon Sep 21 12:14:46 2009 UTC (2 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.400: +3 -3
lines
Diff to previous 1.400 (colored)
Split config_init() into config_init() and config_init_mi() to help platforms which want to call config_init() very early in the boot.
Revision 1.400 / (download) - annotate - [select for diffs], Wed Sep 16 15:23:04 2009 UTC (2 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.399: +4 -2
lines
Diff to previous 1.399 (colored)
Replace a large number of link set based sysctl node creations with calls from subsystem constructors. Benefits both future kernel modules and rump. no change to sysctl nodes on i386/MONOLITHIC & build tested i386/ALL
Revision 1.353.2.6 / (download) - annotate - [select for diffs], Wed Sep 16 13:38:00 2009 UTC (2 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.353.2.5: +112 -5
lines
Diff to previous 1.353.2.5 (colored) to branchpoint 1.353 (colored)
sync with head
Revision 1.399 / (download) - annotate - [select for diffs], Sun Sep 13 18:45:10 2009 UTC (2 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.398: +13 -2
lines
Diff to previous 1.398 (colored)
Wipe out the last vestiges of POOL_INIT with one swift stroke. In most cases, use a proper constructor. For proplib, give a local equivalent of POOL_INIT for the kernel object implementation. This way the code structure can be preserved, and a local link set is not hazardous anyway (unless proplib is split to several modules, but that'll be the day). tested by booting a kernel in qemu and compile-testing i386/ALL
Revision 1.398 / (download) - annotate - [select for diffs], Thu Sep 3 15:20:08 2009 UTC (2 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.397: +98 -2
lines
Diff to previous 1.397 (colored)
Move configure() and configure2() from subr_autoconf.c to init_main.c, since they are only peripherially related to the autoconf subsystem and more related to boot initialization. Also, apply _KERNEL_OPT to autoconf where necessary.
Revision 1.397 / (download) - annotate - [select for diffs], Wed Sep 2 08:07:05 2009 UTC (2 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.396: +5 -5
lines
Diff to previous 1.396 (colored)
Initialize devsw (lock) early so that subsystems may play with it.
Revision 1.353.2.5 / (download) - annotate - [select for diffs], Wed Aug 19 18:48:15 2009 UTC (2 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.353.2.4: +5 -9
lines
Diff to previous 1.353.2.4 (colored) to branchpoint 1.353 (colored)
sync with head.
Revision 1.396 / (download) - annotate - [select for diffs], Mon Jul 27 17:40:57 2009 UTC (2 years, 9 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7
Changes since 1.395: +2 -6
lines
Diff to previous 1.395 (colored)
Do not attach gpiosim(4) at root, but make it a pseudo device. With help from Matthias Drochner, thanks!
Revision 1.395 / (download) - annotate - [select for diffs], Sat Jul 25 16:23:39 2009 UTC (2 years, 10 months ago) by mbalmer
Branch: MAIN
Changes since 1.394: +6 -3
lines
Diff to previous 1.394 (colored)
Allow gpiosim(4) to attach if configured in the kernel configuration.
Revision 1.380.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:34 2009 UTC (2 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.380.2.1: +10 -13
lines
Diff to previous 1.380.2.1 (colored) to branchpoint 1.380 (colored) next main 1.381 (colored)
Sync with HEAD.
Revision 1.394 / (download) - annotate - [select for diffs], Sun Jul 19 10:11:55 2009 UTC (2 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: jymxensuspend-base
Changes since 1.393: +3 -2
lines
Diff to previous 1.393 (colored)
set LP_RUNNING when starting lwp0 and idle lwps. add assertions.
Revision 1.393 / (download) - annotate - [select for diffs], Sun Jul 19 02:50:44 2009 UTC (2 years, 10 months ago) by rmind
Branch: MAIN
Changes since 1.392: +2 -6
lines
Diff to previous 1.392 (colored)
Make POSIX message queues a kernel module.
Revision 1.353.2.4 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:22 2009 UTC (2 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.353.2.3: +6 -6
lines
Diff to previous 1.353.2.3 (colored) to branchpoint 1.353 (colored)
sync with head.
Revision 1.392 / (download) - annotate - [select for diffs], Fri Jul 17 23:31:51 2009 UTC (2 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.391: +4 -4
lines
Diff to previous 1.391 (colored)
Don't send the quiet banner to the log, since the usual noise gets dumped there anyway.
Revision 1.391 / (download) - annotate - [select for diffs], Mon Jun 29 05:08:18 2009 UTC (2 years, 10 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6
Changes since 1.390: +6 -6
lines
Diff to previous 1.390 (colored)
Convert 67 namei call sites to use namei_simple, in these functions: check_console, veriexecclose, veriexec_delete, veriexec_file_add, emul_find_root, coff_load_shlib (sh3 version), coff_load_shlib, compat_20_sys_statfs, compat_20_netbsd32_statfs, ELFNAME2(netbsd32,probe_noteless), darwin_sys_statfs, ibcs2_sys_statfs, ibcs2_sys_statvfs, linux_sys_uselib, osf1_sys_statfs, sunos_sys_statfs, sunos32_sys_statfs, ultrix_sys_statfs, do_sys_mount, fss_create_files (3 of 4), adosfs_mount, cd9660_mount, coda_ioctl, coda_mount, ext2fs_mount, ffs_mount, filecore_mount, hfs_mount, lfs_mount, msdosfs_mount, ntfs_mount, sysvbfs_mount, udf_mount, union_mount, sys_chflags, sys_lchflags, sys_chmod, sys_lchmod, sys_chown, sys_lchown, sys___posix_chown, sys___posix_lchown, sys_link, do_sys_pstatvfs, sys_quotactl, sys_revoke, sys_truncate, do_sys_utimes, sys_extattrctl, sys_extattr_set_file, sys_extattr_set_link, sys_extattr_get_file, sys_extattr_get_link, sys_extattr_delete_file, sys_extattr_delete_link, sys_extattr_list_file, sys_extattr_list_link, sys_setxattr, sys_lsetxattr, sys_getxattr, sys_lgetxattr, sys_listxattr, sys_llistxattr, sys_removexattr, sys_lremovexattr All have been scrutinized (several times, in fact) and compile-tested, but not all have been explicitly tested in action. XXX: While I haven't (intentionally) changed the use or nonuse of XXX: TRYEMULROOT in any of these places, I'm not convinced all the XXX: uses are correct; an audit might be desirable.
Revision 1.353.2.3 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:31 2009 UTC (2 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.353.2.2: +3 -3
lines
Diff to previous 1.353.2.2 (colored) to branchpoint 1.353 (colored)
sync with head
Revision 1.390 / (download) - annotate - [select for diffs], Wed May 27 23:44:36 2009 UTC (2 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5
Changes since 1.389: +3 -3
lines
Diff to previous 1.389 (colored)
Make domaininit() take an argument which determines if it should add the special PF_ROUTE domain or not (if available).
Revision 1.380.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:56 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.380: +53 -50
lines
Diff to previous 1.380 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.353.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:46 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.353.2.1: +136 -89
lines
Diff to previous 1.353.2.1 (colored) to branchpoint 1.353 (colored)
sync with head.
Revision 1.370.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:36:59 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.370.2.2: +48 -4
lines
Diff to previous 1.370.2.2 (colored) next main 1.371 (colored)
Sync with HEAD.
Revision 1.389 / (download) - annotate - [select for diffs], Sun Apr 19 14:04:51 2009 UTC (3 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jym-xensuspend-base
Changes since 1.388: +3 -2
lines
Diff to previous 1.388 (colored)
call rw_obj_init()
Revision 1.388 / (download) - annotate - [select for diffs], Tue Apr 7 10:49:54 2009 UTC (3 years, 1 month ago) by tsutsui
Branch: MAIN
Changes since 1.387: +6 -4
lines
Diff to previous 1.387 (colored)
Explicitly pass a specific buffer length to format_bytes() to make it print memory sizes in humanized readable digits.
Revision 1.371.2.3 / (download) - annotate - [select for diffs], Sat Apr 4 17:39:10 2009 UTC (3 years, 1 month ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
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
Changes since 1.371.2.2: +4 -4
lines
Diff to previous 1.371.2.2 (colored) to branchpoint 1.371 (colored)
Pull up following revision(s) (requested by ad in ticket #656): sys/arch/amd64/amd64/gdt.c: revision 1.21 via patch sys/arch/amd64/amd64/machdep.c: revision 1.129 via patch sys/arch/i386/i386/gdt.c: revision 1.47 via patch sys/arch/i386/i386/kvm86.c: revision 1.17 via patch sys/arch/i386/i386/locore.S: revision 1.85 via patch sys/arch/i386/i386/machdep.c: revision 1.666 via patch sys/arch/i386/i386/vector.S: revision 1.45 via patch sys/arch/i386/include/pcb.h: revision 1.47 via patch sys/arch/x86/include/pmap.h: revision 1.22 via patch sys/arch/x86/include/sysarch.h: revision 1.8 via patch sys/arch/x86/x86/pmap.c: revision 1.80 via patch sys/arch/x86/x86/sys_machdep.c: revision 1.17 via patch sys/compat/linux/arch/i386/linux_machdep.c: revision 1.143 via patch sys/kern/init_main.c: revision 1.384 via patch PR port-i386/40143 Viewing an mpeg transport stream with mplayer causes crash Fix numerous problems: 1. LDT updates are not atomic. 2. Number of processes running with private LDTs and/or I/O bitmaps is not capped. System with high maxprocs can be paniced. 3. LDTR can be leaked over context switch. 4. GDT slot allocations can race, giving the same LDT slot to two procs. 5. Incomplete interrupt/trap frames can be stacked. 6. In some rare cases segment faults are not handled correctly.
Revision 1.387 / (download) - annotate - [select for diffs], Thu Apr 2 19:43:11 2009 UTC (3 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.386: +3 -3
lines
Diff to previous 1.386 (colored)
banner: fix a minor bug.
Revision 1.371.2.2 / (download) - annotate - [select for diffs], Tue Mar 31 23:23:15 2009 UTC (3 years, 1 month ago) by snj
Branch: netbsd-5
Changes since 1.371.2.1: +7 -2
lines
Diff to previous 1.371.2.1 (colored) to branchpoint 1.371 (colored)
Apply patch (requested by martin in ticket 602): ksyms_init calls mutex_init too early, which leads to failure on, e.g., sparc64 LOCKDEBUG kernels. Instead, add a new function ksyms_init_finalize and call it from main. Fixed in a more intrusive and less ugly way on HEAD.
Revision 1.386 / (download) - annotate - [select for diffs], Sun Mar 29 15:23:54 2009 UTC (3 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.385: +3 -5
lines
Diff to previous 1.385 (colored)
Remove debug code from previous.
Revision 1.385 / (download) - annotate - [select for diffs], Sun Mar 29 10:58:28 2009 UTC (3 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.384: +39 -2
lines
Diff to previous 1.384 (colored)
Add a cental banner() function to print the copyright and version info.
Revision 1.384 / (download) - annotate - [select for diffs], Sat Mar 21 14:41:30 2009 UTC (3 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.383: +4 -4
lines
Diff to previous 1.383 (colored)
PR port-i386/40143 Viewing an mpeg transport stream with mplayer causes crash Fix numerous problems: 1. LDT updates are not atomic. 2. Number of processes running with private LDTs and/or I/O bitmaps is not capped. System with high maxprocs can be paniced. 3. LDTR can be leaked over context switch. 4. GDT slot allocations can race, giving the same LDT slot to two procs. 5. Incomplete interrupt/trap frames can be stacked. 6. In some rare cases segment faults are not handled correctly.
Revision 1.371.2.1 / (download) - annotate - [select for diffs], Sun Mar 15 19:43:48 2009 UTC (3 years, 2 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC3
Changes since 1.371: +6 -48
lines
Diff to previous 1.371 (colored)
Pull up following revision(s) (requested by christos in ticket #458): sys/conf/Makefile.kern.inc: revision 1.121 sys/conf/files: revision 1.940 sys/kern/init_main.c: revision 1.381 sys/kern/kern_ssp.c: revision 1.1 sys/kern/subr_autoconf.c: revision 1.168 sys/sys/device.h: revision 1.116 sys/sys/systm.h: revision 1.233 Unbreak ssp kernels. The issue here that when the ssp_init() call was deferred, it caused the return from the enclosing function to break, as well as the ssp return on i386. To fix both issues, split configure in two pieces the one before calling ssp_init and the one after, and move the ssp_init() call back in main. Put ssp_init() in its own file, and compile this new file with -fno-stack-protector. Tested on amd64. XXX: If we want to have ssp kernels working on 5.0, this change needs to be pulled up.
Revision 1.383 / (download) - annotate - [select for diffs], Thu Mar 5 06:37:03 2009 UTC (3 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.382: +8 -2
lines
Diff to previous 1.382 (colored)
main: disable kerenel preemption during early on boot. namely, between configure() and configure2(). some kernel threads are not expected to be run before "cold = 0". fixes cache_thread() busy-loop.
Revision 1.370.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:55 2009 UTC (3 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.370.2.1: +7 -48
lines
Diff to previous 1.370.2.1 (colored)
Sync with HEAD.
Revision 1.382 / (download) - annotate - [select for diffs], Fri Feb 13 22:41:04 2009 UTC (3 years, 3 months ago) by apb
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.381: +3 -2
lines
Diff to previous 1.381 (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.381 / (download) - annotate - [select for diffs], Thu Feb 12 18:24:18 2009 UTC (3 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.380: +6 -48
lines
Diff to previous 1.380 (colored)
Unbreak ssp kernels. The issue here that when the ssp_init() call was deferred, it caused the return from the enclosing function to break, as well as the ssp return on i386. To fix both issues, split configure in two pieces the one before calling ssp_init and the one after, and move the ssp_init() call back in main. Put ssp_init() in its own file, and compile this new file with -fno-stack-protector. Tested on amd64. XXX: If we want to have ssp kernels working on 5.0, this change needs to be pulled up.
Revision 1.370.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:37 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.370: +43 -31
lines
Diff to previous 1.370 (colored)
Sync with HEAD.
Revision 1.341.6.6 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:18 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.341.6.5: +58 -32
lines
Diff to previous 1.341.6.5 (colored) to branchpoint 1.341 (colored) next main 1.342 (colored)
Sync with HEAD.
Revision 1.380 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:51 2009 UTC (3 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.379: +19 -6
lines
Diff to previous 1.379 (colored)
merge christos-time_t
Revision 1.347.2.5 / (download) - annotate - [select for diffs], Sun Jan 4 05:18:17 2009 UTC (3 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.347.2.4: +4 -2
lines
Diff to previous 1.347.2.4 (colored) next main 1.348 (colored)
merge diffs.
Revision 1.379 / (download) - annotate - [select for diffs], Thu Jan 1 15:10:20 2009 UTC (3 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: christos-time_t-nbase,
christos-time_t-base
Changes since 1.378: +4 -2
lines
Diff to previous 1.378 (colored)
* unexpose kprintf locking internals * migrate from simplelock to kmutex Don't bother to bump kernel version, since nothing outside of subr_prf used KPRINTF_MUTEX_ENXIT()
Revision 1.347.2.4 / (download) - annotate - [select for diffs], Sat Dec 27 23:14:24 2008 UTC (3 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.347.2.3: +10 -5
lines
Diff to previous 1.347.2.3 (colored)
merge with head.
Revision 1.360.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:07 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.360.2.1: +39 -28
lines
Diff to previous 1.360.2.1 (colored) to branchpoint 1.360 (colored) next main 1.361 (colored)
Update haad-dm branch to haad-dm-base2.
Revision 1.378 / (download) - annotate - [select for diffs], Sun Dec 7 20:58:46 2008 UTC (3 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: haad-nbase2,
haad-dm-base2,
haad-dm-base
Changes since 1.377: +5 -5
lines
Diff to previous 1.377 (colored)
Move some sysctl node creations away from linksets and into the constructors for subsystems. XXX: CTLFLAG_PERMANENT is non-sensible.
Revision 1.377 / (download) - annotate - [select for diffs], Thu Dec 4 23:18:13 2008 UTC (3 years, 5 months ago) by he
Branch: MAIN
CVS Tags: ad-audiomp2-base,
ad-audiomp2
Changes since 1.376: +5 -2
lines
Diff to previous 1.376 (colored)
Ksyms are optional, so make the call to ksyms_init() dependent on the same conditionals which are defined in sys/conf/files.
Revision 1.376 / (download) - annotate - [select for diffs], Sun Nov 30 18:21:36 2008 UTC (3 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.375: +4 -2
lines
Diff to previous 1.375 (colored)
As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap phases, so move the initialization of the ksyms mutex back into main via a function called ksyms_init. Rename the existing (but quite different) ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit() and adapt machdep code accordingly.
Revision 1.347.2.3 / (download) - annotate - [select for diffs], Thu Nov 20 20:45:38 2008 UTC (3 years, 6 months ago) by christos
Branch: christos-time_t
Changes since 1.347.2.2: +5 -17
lines
Diff to previous 1.347.2.2 (colored)
merge with head.
Revision 1.375 / (download) - annotate - [select for diffs], Tue Nov 18 11:36:58 2008 UTC (3 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.374: +5 -2
lines
Diff to previous 1.374 (colored)
cwd is logically a vfs concept, so take it out from the bosom of kern_descrip and into vfs_cwd. No functional change.
Revision 1.374 / (download) - annotate - [select for diffs], Fri Nov 14 23:33:45 2008 UTC (3 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.373: +2 -5
lines
Diff to previous 1.373 (colored)
Make POSIX AIO loadable as a module.
Revision 1.373 / (download) - annotate - [select for diffs], Wed Nov 12 14:32:34 2008 UTC (3 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.372: +2 -11
lines
Diff to previous 1.372 (colored)
Allow the POSIX semaphore code to be loaded as a module.
Revision 1.372 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:16 2008 UTC (3 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.371: +2 -5
lines
Diff to previous 1.371 (colored)
Remove LKMs and switch to the module framework, pass 1. Proposed on tech-kern@.
Revision 1.347.2.2 / (download) - annotate - [select for diffs], Sat Nov 1 21:22:26 2008 UTC (3 years, 6 months ago) by christos
Branch: christos-time_t
Changes since 1.347.2.1: +102 -77
lines
Diff to previous 1.347.2.1 (colored)
Sync with head.
Revision 1.371 / (download) - annotate - [select for diffs], Tue Oct 28 15:33:10 2008 UTC (3 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: netbsd-5-base,
netbsd-5-0-RC2,
netbsd-5-0-RC1
Branch point for: netbsd-5
Changes since 1.370: +13 -9
lines
Diff to previous 1.370 (colored)
On the prompt for init path, print a simple usage line if input strings are not valid path or command. Per comments from perry@ and pgoyette@.
Revision 1.370 / (download) - annotate - [select for diffs], Sat Oct 25 15:40:59 2008 UTC (3 years, 7 months ago) by tsutsui
Branch: MAIN
Branch point for: nick-hppapmap
Changes since 1.369: +17 -4
lines
Diff to previous 1.369 (colored)
- if no usable init(8) program (listed in *initpaths[]) can be found, set the RB_ASKNAME flag and prompt users for the init path, rather than panicking with "no init". - when prompting for the init path, support the special strings "halt", "reboot", and "ddb", as well as a prompt for the root device. Dissussed and no objection on tech-kern. Changes summary by apb@.
Revision 1.369 / (download) - annotate - [select for diffs], Thu Oct 23 20:41:13 2008 UTC (3 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-base2
Changes since 1.368: +2 -6
lines
Diff to previous 1.368 (colored)
don't expose ksyms_lock
Revision 1.368 / (download) - annotate - [select for diffs], Tue Oct 21 20:51:11 2008 UTC (3 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.367: +5 -2
lines
Diff to previous 1.367 (colored)
Only init ksyms mutex if ksyms is present in the kernel
Revision 1.367 / (download) - annotate - [select for diffs], Mon Oct 20 10:24:18 2008 UTC (3 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.366: +4 -2
lines
Diff to previous 1.366 (colored)
PR kern/38814 ksyms needs locking - Make ksyms MT safe. - Fix deadlock from an operation like "modload foo.lkm < /dev/ksyms". - Fix uninitialized structure members. - Reduce memory footprint for loaded modules. - Export ksyms structures for kernel grovellers like savecore. - Some KNF.
Revision 1.360.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:27 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.360: +15 -6
lines
Diff to previous 1.360 (colored)
Sync with HEAD.
Revision 1.366 / (download) - annotate - [select for diffs], Sat Oct 18 03:46:22 2008 UTC (3 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: haad-dm-base1
Changes since 1.365: +2 -5
lines
Diff to previous 1.365 (colored)
- Initialize pool subsystem and kmem(9) earlier, when UVM is up enough. - Remove uao_hashinit() workaround used for anon-objects. - Replace malloc with kmem. OK by <yamt>.
Revision 1.365 / (download) - annotate - [select for diffs], Sat Oct 11 13:40:57 2008 UTC (3 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.364: +3 -2
lines
Diff to previous 1.364 (colored)
Move uidinfo to its own module in kern_uidinfo.c and include in rump. No functional change to uidinfo.
Revision 1.355.2.5 / (download) - annotate - [select for diffs], Fri Oct 10 22:34:14 2008 UTC (3 years, 7 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.355.2.4: +4 -2
lines
Diff to previous 1.355.2.4 (colored) to branchpoint 1.355 (colored) next main 1.356 (colored)
Sync with HEAD.
Revision 1.364 / (download) - annotate - [select for diffs], Thu Oct 9 10:48:21 2008 UTC (3 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4
Changes since 1.363: +4 -2
lines
Diff to previous 1.363 (colored)
Rewrite once to use global locks and atomic ops to get rid of the static simplelock initializer (and simplelock too). The fastpath is still lockless, so doesn't make a difference in terms of performance. Also fixes a hanging bug if the once routine returned an error. It does not retry after an error occurs, as I can't really imagine fruitful semantics for that.
Revision 1.341.6.5 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:51 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.341.6.4: +10 -1
lines
Diff to previous 1.341.6.4 (colored) to branchpoint 1.341 (colored)
Sync with HEAD.
Revision 1.355.2.4 / (download) - annotate - [select for diffs], Thu Sep 18 04:31:41 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.355.2.3: +12 -3
lines
Diff to previous 1.355.2.3 (colored) to branchpoint 1.355 (colored)
Sync with wrstuden-revivesa-base-2.
Revision 1.363 / (download) - annotate - [select for diffs], Sat Aug 30 09:20:13 2008 UTC (3 years, 8 months ago) by reinoud
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2
Changes since 1.362: +3 -3
lines
Diff to previous 1.362 (colored)
Revert previous change and clarify meaning of RNG
Revision 1.362 / (download) - annotate - [select for diffs], Sat Aug 30 08:55:53 2008 UTC (3 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.361: +3 -3
lines
Diff to previous 1.361 (colored)
Fix simple typo: - rnd_init(); /* initialize RNG */ + rnd_init(); /* initialize RND */
Revision 1.361 / (download) - annotate - [select for diffs], Thu Jul 31 05:38:05 2008 UTC (3 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.360: +11 -2
lines
Diff to previous 1.360 (colored)
Merge the simonb-wapbl branch. From the original branch commit: Add Wasabi System's WAPBL (Write Ahead Physical Block Logging) journaling code. Originally written by Darrin B. Jewell while at Wasabi and updated to -current by Antti Kantee, Andy Doran, Greg Oster and Simon Burge. OK'd by core@, releng@.
Revision 1.341.6.4 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:13 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.341.6.3: +6 -2
lines
Diff to previous 1.341.6.3 (colored) to branchpoint 1.341 (colored)
Sync with HEAD.
Revision 1.355.2.3 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:50 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.355.2.2: +17 -8
lines
Diff to previous 1.355.2.2 (colored) to branchpoint 1.355 (colored)
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.358.2.2 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:34 2008 UTC (3 years, 11 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.358.2.1: +8 -4
lines
Diff to previous 1.358.2.1 (colored) to branchpoint 1.358 (colored) next main 1.359 (colored)
Sync with head.
Revision 1.360 / (download) - annotate - [select for diffs], Wed Jun 18 09:06:27 2008 UTC (3 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.359: +5 -2
lines
Diff to previous 1.359 (colored)
merge yamt-pf42 branch. (import newer pf from OpenBSD 4.2) ok'ed by peter@. requested by core@
Revision 1.349.2.4 / (download) - annotate - [select for diffs], Tue Jun 17 09:15:02 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.349.2.3: +5 -4
lines
Diff to previous 1.349.2.3 (colored) to branchpoint 1.349 (colored) next main 1.350 (colored)
sync with head.
Revision 1.359 / (download) - annotate - [select for diffs], Mon Jun 16 11:26:28 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4
Changes since 1.358: +5 -4
lines
Diff to previous 1.358 (colored)
PR kern/38927: processes getting stuck in uvm_map (cv_timedwait), hanging machine Assume that a vnode (and associated data structures) costs 2kB in the worst imaginable case. Don't allow sysctl to set desiredvnodes to a value that would use more than 75% of KVA or 75% of physical memory.
Revision 1.358.2.1 / (download) - annotate - [select for diffs], Tue Jun 10 14:51:22 2008 UTC (3 years, 11 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.358: +11 -2
lines
Diff to previous 1.358 (colored)
Initial commit of Wasabi System's WAPBL (Write Ahead Physical Block Logging) journaling code. Originally written by Darrin B. Jewell while at Wasabi and updated to -current by Antti Kantee, Andy Doran, Greg Oster and Simon Burge. Still a number of issues - look in doc/BRANCHES for "simonb-wapbl" for more info.
Revision 1.349.2.3 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:38 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.349.2.2: +11 -6
lines
Diff to previous 1.349.2.2 (colored) to branchpoint 1.349 (colored)
sync with head
Revision 1.341.6.3 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:07 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.341.6.2: +55 -42
lines
Diff to previous 1.341.6.2 (colored) to branchpoint 1.341 (colored)
Sync with HEAD.
Revision 1.358 / (download) - annotate - [select for diffs], Sat May 31 20:14:38 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base3
Branch point for: simonb-wapbl
Changes since 1.357: +2 -3
lines
Diff to previous 1.357 (colored)
- Put in place module compatibility check against __NetBSD_Version__, as discussed on tech-kern. - Remove unused module_jettison().
Revision 1.357 / (download) - annotate - [select for diffs], Wed May 28 13:35:32 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.356: +4 -2
lines
Diff to previous 1.356 (colored)
PR kern/38355 lockf deadlock detection is broken after vmlocking - Fix it; tested with Sun's libMicro. - Use pool_cache. - Use a global lock, so the deadlock detection code is safer.
Revision 1.356 / (download) - annotate - [select for diffs], Tue May 27 17:50:03 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.355: +9 -5
lines
Diff to previous 1.355 (colored)
Replace a couple of tsleep calls with cv_wait.
Revision 1.349.2.2 / (download) - annotate - [select for diffs], Sun May 18 12:35:06 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.349.2.1: +13 -17
lines
Diff to previous 1.349.2.1 (colored) to branchpoint 1.349 (colored)
sync with head.
Revision 1.353.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:24 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.353: +5 -12
lines
Diff to previous 1.353 (colored)
sync with head.
Revision 1.355.2.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:12 2008 UTC (4 years ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.355.2.1: +2 -3
lines
Diff to previous 1.355.2.1 (colored) to branchpoint 1.355 (colored)
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.355.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:49:02 2008 UTC (4 years ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.355: +3 -2
lines
Diff to previous 1.355 (colored)
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.355 / (download) - annotate - [select for diffs], Thu May 1 14:44:48 2008 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.354: +5 -5
lines
Diff to previous 1.354 (colored)
Get the pre-loaded module code working.
Revision 1.354 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:02 2008 UTC (4 years ago) by martin
Branch: MAIN
Changes since 1.353: +2 -9
lines
Diff to previous 1.353 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.353 / (download) - annotate - [select for diffs], Thu Apr 24 18:39:23 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.352: +4 -4
lines
Diff to previous 1.352 (colored)
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since we no longer need to guard against access from hardware interrupt handlers. Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the child process share the parent's lock so that signal state may be kept in sync. Partially addresses PR kern/37437.
Revision 1.352 / (download) - annotate - [select for diffs], Thu Apr 24 15:35:28 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.351: +4 -4
lines
Diff to previous 1.351 (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.351 / (download) - annotate - [select for diffs], Thu Apr 24 08:51:06 2008 UTC (4 years, 1 month ago) by sborrill
Branch: MAIN
Changes since 1.350: +3 -3
lines
Diff to previous 1.350 (colored)
It's only a typo in a comment, but it reduces the number of diffs in my local tree :-)
Revision 1.350 / (download) - annotate - [select for diffs], Mon Apr 21 00:13:46 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.349: +5 -2
lines
Diff to previous 1.349 (colored)
timer fixes for PR 37093: - Fix serious concurrency problems, making the code MT and MP safe in the process. - Don't allocate memory or inspect process state from hardclock().
Revision 1.349.2.1 / (download) - annotate - [select for diffs], Sat Apr 19 08:33:27 2008 UTC (4 years, 1 month ago) by yamt
Branch: yamt-pf42
Changes since 1.349: +5 -2
lines
Diff to previous 1.349 (colored)
Peter Postma's work-in-progress pf import from OpenBSD 4.2. updated to -current by me.
Revision 1.349 / (download) - annotate - [select for diffs], Mon Apr 14 18:07:51 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.348: +37 -25
lines
Diff to previous 1.348 (colored)
SSP: block interrupts when enabling, and move the init to just before starting secondary processors.
Revision 1.341.6.2 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:00 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.341.6.1: +68 -25
lines
Diff to previous 1.341.6.1 (colored) to branchpoint 1.341 (colored)
Sync with HEAD.
Revision 1.348 / (download) - annotate - [select for diffs], Tue Apr 1 10:37:42 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.347: +2 -21
lines
Diff to previous 1.347 (colored)
Use multiple kthreads to process config_interrupts tasks. Proposed on tech-kern.
Revision 1.347.2.1 / (download) - annotate - [select for diffs], Sat Mar 29 20:47:00 2008 UTC (4 years, 1 month ago) by christos
Branch: christos-time_t
Changes since 1.347: +19 -6
lines
Diff to previous 1.347 (colored)
Welcome to the time_t=long long dev_t=uint64_t branch.
Revision 1.341.6.1 / (download) - annotate - [select for diffs], Sat Mar 29 16:17:56 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.341: +12 -2
lines
Diff to previous 1.341 (colored)
- etc/devfsd.conf: Add some rules to give nodes like /dev/tty and /dev/null better default modes, i.e. 0666. - sbin/init: Run devfsd -s before going to multiuser. - sys/arch: Provide arm32, i386, sparc with a mem_init() function to request device nodes for /dev/null, /dev/zero, etc. - sys/dev: Convert rnd, wd, agp, raid, cd, sd, wsdisplay, wskbd, wsmouse, wsmux, tty, bpf, swap to devfs New World Order. - sys/fs/devfs: Make the visibility attribute of device nodes configurable. Also provide a function to mount a devfs on boot. - sys/kern: Add a new boot flag, -n. This disables devfs support. Unless the -n flag is specified the kernel will mount a devfs file system on boot.
Revision 1.347 / (download) - annotate - [select for diffs], Thu Mar 27 19:11:05 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
Branch point for: christos-time_t
Changes since 1.346: +38 -2
lines
Diff to previous 1.346 (colored)
Add code for dynamically allocated mutexes, as posted on tech-kern.
Revision 1.346 / (download) - annotate - [select for diffs], Tue Mar 25 23:21:42 2008 UTC (4 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: ad-socklock-base1
Changes since 1.345: +14 -9
lines
Diff to previous 1.345 (colored)
- for some ports, especially for ones without pmap_growkernel, buf_memcalc is used by bootstrap as well. fix NULL dereference for them. - limit kva usage for each cache to 20% of vm_map. XXX a bit arbitrary. - add a comment.
Revision 1.248.2.10 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:01 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.248.2.9: +26 -6
lines
Diff to previous 1.248.2.9 (colored) next main 1.249 (colored)
sync with head.
Revision 1.341.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:13 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.341: +3 -2
lines
Diff to previous 1.341 (colored) next main 1.342 (colored)
sync with head.
Revision 1.345 / (download) - annotate - [select for diffs], Sun Mar 23 10:39:52 2008 UTC (4 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14
Changes since 1.344: +22 -3
lines
Diff to previous 1.344 (colored)
when calculating some cache sizes, consider the amount of available kva. PR/33185.
Revision 1.312.2.5 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:58 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.312.2.4: +27 -28
lines
Diff to previous 1.312.2.4 (colored) to branchpoint 1.312 (colored) next main 1.313 (colored)
sync with HEAD
Revision 1.344 / (download) - annotate - [select for diffs], Sat Mar 22 18:04:42 2008 UTC (4 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.343: +3 -4
lines
Diff to previous 1.343 (colored)
Commit the "per-CPU" select patch. This is the result of much work and testing by rmind@ and myself. Which approach to use is still being discussed, but I would like to get this out of my working tree. If we decide to use a different approach there is no problem with revisiting this.
Revision 1.343 / (download) - annotate - [select for diffs], Fri Mar 21 21:55:00 2008 UTC (4 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.342: +6 -4
lines
Diff to previous 1.342 (colored)
Catch up with descriptor handling changes. See kern_descrip.c revision 1.173 for details.
Revision 1.248.2.9 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:32 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.248.2.8: +3 -2
lines
Diff to previous 1.248.2.8 (colored)
sync with head.
Revision 1.342 / (download) - annotate - [select for diffs], Sun Mar 9 15:39:14 2008 UTC (4 years, 2 months ago) by rmind
Branch: MAIN
CVS Tags: matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base
Changes since 1.341: +3 -2
lines
Diff to previous 1.341 (colored)
Remove include of sys/pset.h in sys/lwp.h header. Include it in few appropriate sources.
Revision 1.323.2.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:45 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.323.2.2: +41 -43
lines
Diff to previous 1.323.2.2 (colored) next main 1.324 (colored)
Sync with HEAD.
Revision 1.331.4.3 / (download) - annotate - [select for diffs], Wed Jan 23 19:27:38 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.331.4.2: +0 -8
lines
Diff to previous 1.331.4.2 (colored) to branchpoint 1.331 (colored) next main 1.332 (colored)
Sync with HEAD.
Revision 1.248.2.8 / (download) - annotate - [select for diffs], Mon Jan 21 09:45:59 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.248.2.7: +44 -46
lines
Diff to previous 1.248.2.7 (colored)
sync with head
Revision 1.341 / (download) - annotate - [select for diffs], Sun Jan 20 18:09:11 2008 UTC (4 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
hpcarm-cleanup-base,
bouyer-xeni386-nbase
Branch point for: mjf-devfs2,
keiichi-mipv6
Changes since 1.340: +2 -10
lines
Diff to previous 1.340 (colored)
Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants, remove the conditionals and the code associated with the undef case.
Revision 1.331.4.2 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:19 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.331.4.1: +24 -18
lines
Diff to previous 1.331.4.1 (colored) to branchpoint 1.331 (colored)
Sync with HEAD
Revision 1.340 / (download) - annotate - [select for diffs], Wed Jan 16 12:34:50 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xeni386-base
Changes since 1.339: +13 -2
lines
Diff to previous 1.339 (colored)
Pull in my modules code for review/test/hacking.
Revision 1.339 / (download) - annotate - [select for diffs], Tue Jan 15 03:37:10 2008 UTC (4 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.338: +5 -2
lines
Diff to previous 1.338 (colored)
Implementation of processor-sets, affinity and POSIX real-time extensions. Add schedctl(8) - a program to control scheduling of processes and threads. Notes: - This is supported only by SCHED_M2; - Migration of LWP mechanism will be revisited; Proposed on: <tech-kern>. Reviewed by: <ad>.
Revision 1.338 / (download) - annotate - [select for diffs], Mon Jan 14 12:40:03 2008 UTC (4 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.337: +12 -8
lines
Diff to previous 1.337 (colored)
add a per-cpu storage allocator.
Revision 1.337 / (download) - annotate - [select for diffs], Sat Jan 12 23:31:40 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.336: +2 -14
lines
Diff to previous 1.336 (colored)
Remove curlwp check, all ports should hopefully be doing the right thing now (NOTICE: curlwp should be set before main()).
Revision 1.312.2.4 / (download) - annotate - [select for diffs], Wed Jan 9 01:55:57 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.312.2.3: +25 -35
lines
Diff to previous 1.312.2.3 (colored) to branchpoint 1.312 (colored)
sync with HEAD
Revision 1.331.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:55:44 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.331: +19 -19
lines
Diff to previous 1.331 (colored)
Sync with HEAD
Revision 1.336 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:48 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.335: +9 -5
lines
Diff to previous 1.335 (colored)
Merge vmlocking2 to head.
Revision 1.335 / (download) - annotate - [select for diffs], Mon Dec 31 15:32:10 2007 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.334: +2 -10
lines
Diff to previous 1.334 (colored)
Remove systrace. Ok core@.
Revision 1.330.2.5 / (download) - annotate - [select for diffs], Fri Dec 28 15:04:24 2007 UTC (4 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.330.2.4: +2 -5
lines
Diff to previous 1.330.2.4 (colored) to branchpoint 1.330 (colored) next main 1.331 (colored)
Fix (harmless) merge error.
Revision 1.334 / (download) - annotate - [select for diffs], Thu Dec 27 13:34:43 2007 UTC (4 years, 4 months ago) by elad
Branch: MAIN
Changes since 1.333: +7 -6
lines
Diff to previous 1.333 (colored)
Call pax_init() for PAX_ASLR.
Revision 1.323.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:53 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.323.2.1: +5 -5
lines
Diff to previous 1.323.2.1 (colored)
Sync with HEAD.
Revision 1.330.2.4 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:36 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.330.2.3: +8 -5
lines
Diff to previous 1.330.2.3 (colored) to branchpoint 1.330 (colored)
Sync with head.
Revision 1.333 / (download) - annotate - [select for diffs], Wed Dec 26 16:01:35 2007 UTC (4 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.332: +5 -2
lines
Diff to previous 1.332 (colored)
Merge more changes from vmlocking2, mainly: - Locking improvements. - Use pool_cache for more items.
Revision 1.332 / (download) - annotate - [select for diffs], Sat Dec 22 01:14:53 2007 UTC (4 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.331: +4 -4
lines
Diff to previous 1.331 (colored)
use binuptime for l_stime/l_rtime.
Revision 1.330.2.3 / (download) - annotate - [select for diffs], Sat Dec 15 03:16:54 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.330.2.2: +5 -2
lines
Diff to previous 1.330.2.2 (colored) to branchpoint 1.330 (colored)
- Use pool_cache for a few more items and make those caches static. - Mark another 10 syscalls MPSAFE including execve(). A small bit of work is required to fix a couple of issues (tty, kqueue).
Revision 1.331.2.1 / (download) - annotate - [select for diffs], Mon Dec 10 12:56:08 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.331: +2 -5
lines
Diff to previous 1.331 (colored) next main 1.332 (colored)
- separate kernel va allocation (kernel_va_arena) from in-kernel fault handling (kernel_map). - add vmem bootstrap code. vmem doesn't rely on malloc anymore. - make kmem_alloc interrupt-safe. - kill kmem_map. make malloc a wrapper of kmem_alloc.
Revision 1.311.4.11 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:14 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.311.4.10: +3 -3
lines
Diff to previous 1.311.4.10 (colored) to branchpoint 1.311 (colored) next main 1.312 (colored)
Sync with HEAD.
Revision 1.330.2.2 / (download) - annotate - [select for diffs], Sun Dec 9 16:55:59 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.330.2.1: +6 -5
lines
Diff to previous 1.330.2.1 (colored) to branchpoint 1.330 (colored)
Fix merge error.
Revision 1.331 / (download) - annotate - [select for diffs], Sat Dec 8 19:29:46 2007 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: yamt-kmem,
bouyer-xeni386
Changes since 1.330: +3 -3
lines
Diff to previous 1.330 (colored)
Remove cn_lwp from struct componentname. curlwp should be used from on. The NDINIT() macro no longer takes the lwp parameter and associates the credentials of the calling thread with the namei structure.
Revision 1.248.2.7 / (download) - annotate - [select for diffs], Fri Dec 7 17:32:35 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.248.2.6: +5 -2
lines
Diff to previous 1.248.2.6 (colored)
sync with head
Revision 1.330.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:12 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.330: +5 -2
lines
Diff to previous 1.330 (colored)
Pull the vmlocking changes into a new branch.
Revision 1.311.4.10 / (download) - annotate - [select for diffs], Wed Nov 21 21:55:57 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.311.4.9: +7 -12
lines
Diff to previous 1.311.4.9 (colored) to branchpoint 1.311 (colored)
Sync with HEAD.
Revision 1.323.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:48:33 2007 UTC (4 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.323: +21 -23
lines
Diff to previous 1.323 (colored)
Sync with HEAD.
Revision 1.322.2.3 / (download) - annotate - [select for diffs], Sun Nov 18 19:35:47 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.322.2.2: +5 -15
lines
Diff to previous 1.322.2.2 (colored) to branchpoint 1.322 (colored) next main 1.323 (colored)
Sync with HEAD
Revision 1.330 / (download) - annotate - [select for diffs], Thu Nov 15 20:12:04 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: vmlocking2
Changes since 1.329: +5 -2
lines
Diff to previous 1.329 (colored)
Add a bit of locking around timecounter attachment / selection.
Revision 1.248.2.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:37 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.248.2.5: +18 -23
lines
Diff to previous 1.248.2.5 (colored)
sync with head.
Revision 1.329 / (download) - annotate - [select for diffs], Wed Nov 14 19:45:44 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.328: +4 -12
lines
Diff to previous 1.328 (colored)
Boot the secondary processors just before the interrupt-enabled section of autoconfig. This is needed if APs are able to take interrupts.
Revision 1.311.4.9 / (download) - annotate - [select for diffs], Wed Nov 14 19:04:38 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.311.4.8: +2 -7
lines
Diff to previous 1.311.4.8 (colored) to branchpoint 1.311 (colored)
Sync with HEAD.
Revision 1.328 / (download) - annotate - [select for diffs], Wed Nov 14 11:04:07 2007 UTC (4 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.327: +2 -7
lines
Diff to previous 1.327 (colored)
call debug_init earlier. ie. before malloc is used.
Revision 1.322.2.2 / (download) - annotate - [select for diffs], Tue Nov 13 16:01:52 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.322.2.1: +14 -6
lines
Diff to previous 1.322.2.1 (colored) to branchpoint 1.322 (colored)
Sync with HEAD
Revision 1.311.4.8 / (download) - annotate - [select for diffs], Sun Nov 11 16:47:57 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.311.4.7: +13 -5
lines
Diff to previous 1.311.4.7 (colored) to branchpoint 1.311 (colored)
Sync with HEAD.
Revision 1.312.2.3 / (download) - annotate - [select for diffs], Thu Nov 8 10:59:59 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.312.2.2: +10 -2
lines
Diff to previous 1.312.2.2 (colored) to branchpoint 1.312 (colored)
sync with -HEAD
Revision 1.327 / (download) - annotate - [select for diffs], Wed Nov 7 16:51:28 2007 UTC (4 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.326: +5 -5
lines
Diff to previous 1.326 (colored)
Use C99 structures initializers when possible. [from matt-armv6]
Revision 1.326 / (download) - annotate - [select for diffs], Wed Nov 7 15:56:21 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.325: +6 -2
lines
Diff to previous 1.325 (colored)
Merge tty changes from the vmlocking branch.
Revision 1.325 / (download) - annotate - [select for diffs], Wed Nov 7 00:19:08 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.324: +6 -2
lines
Diff to previous 1.324 (colored)
Merge from vmlocking.
Revision 1.312.2.2 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:27 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.312.2.1: +36 -16
lines
Diff to previous 1.312.2.1 (colored) to branchpoint 1.312 (colored)
sync with HEAD
Revision 1.311.4.7 / (download) - annotate - [select for diffs], Tue Nov 6 19:25:24 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.311.4.6: +5 -5
lines
Diff to previous 1.311.4.6 (colored) to branchpoint 1.311 (colored)
Sync with HEAD.
Revision 1.324 / (download) - annotate - [select for diffs], Tue Nov 6 00:42:40 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: jmcneill-base
Changes since 1.323: +5 -5
lines
Diff to previous 1.323 (colored)
Merge scheduler changes from the vmlocking branch. All discussed on tech-kern: - Invert priority space so that zero is the lowest priority. Rearrange number and type of priority levels into bands. Add new bands like 'kernel real time'. - Ignore the priority level passed to tsleep. Compute priority for sleep dynamically. - For SCHED_4BSD, make priority adjustment per-LWP, not per-process.
Revision 1.299.2.28 / (download) - annotate - [select for diffs], Mon Nov 5 17:08:31 2007 UTC (4 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.27: +2 -5
lines
Diff to previous 1.299.2.27 (colored) next main 1.300 (colored)
Remove dup call to filedesc_init().
Revision 1.299.2.27 / (download) - annotate - [select for diffs], Sun Oct 28 15:47:13 2007 UTC (4 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.26: +6 -2
lines
Diff to previous 1.299.2.26 (colored)
/dev/klog: - Put locking around it since it's used by printf(). - Mark it MPSAFE.
Revision 1.248.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:18 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.248.2.4: +24 -11
lines
Diff to previous 1.248.2.4 (colored)
sync with head.
Revision 1.299.2.26 / (download) - annotate - [select for diffs], Sat Oct 27 09:18:53 2007 UTC (4 years, 6 months ago) by yamt
Branch: vmlocking
Changes since 1.299.2.25: +5 -5
lines
Diff to previous 1.299.2.25 (colored)
fix priorities for some kernel threads. advised and ok'ed by Andrew Doran.
Revision 1.311.4.6 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:26 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.311.4.5: +8 -6
lines
Diff to previous 1.311.4.5 (colored) to branchpoint 1.311 (colored)
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.322.2.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:39:58 2007 UTC (4 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.322: +3 -3
lines
Diff to previous 1.322 (colored)
Sync with HEAD.
Revision 1.299.2.25 / (download) - annotate - [select for diffs], Tue Oct 23 20:17:08 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.24: +3 -4
lines
Diff to previous 1.299.2.24 (colored)
Sync with head.
Revision 1.299.2.24 / (download) - annotate - [select for diffs], Fri Oct 19 15:54:27 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.23: +4 -3
lines
Diff to previous 1.299.2.23 (colored)
In the tty code, defer posting singals to a soft interrupt. Avoids touching process state from a hardware interrupt, and avoids locking problems (tty_lock is always held when the signals are sent).
Revision 1.323 / (download) - annotate - [select for diffs], Fri Oct 19 12:16:41 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
Branch point for: mjf-devfs
Changes since 1.322: +3 -3
lines
Diff to previous 1.322 (colored)
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.311.4.5 / (download) - annotate - [select for diffs], Fri Oct 19 00:49:31 2007 UTC (4 years, 7 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.311.4.4: +2 -5
lines
Diff to previous 1.311.4.4 (colored) to branchpoint 1.311 (colored)
Stop using mutex_owned in favour of a per-device mutex. XXX I can't include mutex.h from pnp.h due to circular dependencies on x86, so pnp_lock is 'void *' for now. Yes, I'm replacing a hack with another hack, but I feel this one is not nearly as bad...
Revision 1.314.2.3 / (download) - annotate - [select for diffs], Thu Oct 18 08:33:10 2007 UTC (4 years, 7 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.314.2.2: +2 -3
lines
Diff to previous 1.314.2.2 (colored) to branchpoint 1.314 (colored) next main 1.315 (colored)
sync with head.
Revision 1.311.4.4 / (download) - annotate - [select for diffs], Thu Oct 18 02:07:18 2007 UTC (4 years, 7 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.311.4.3: +5 -2
lines
Diff to previous 1.311.4.3 (colored) to branchpoint 1.311 (colored)
Improve PNP audio power management. Instead of starting an idle timer
to power down the audio device on last close, allow the pm policy to
power down the device while it's still open.
Since X mixers typically poll /dev/mixer with AUDIO_GET_INFO ioctls, we need
to avoid resetting the idle timer when these applications are running. As a
result, introduce audio_mixer_{capture,restore} in MI audio and use them in
its power handler. When an audio device is asleep, we simply return cached
values on AUDIO_GET_INFO ioctls. A nice side effect is that MI audio now
properly captures and restores mixer values across hw device suspend/resume.
XXX: I've added locking in pnp_power(), but I'm using mutex_owned() in
a way that mutex(9) claims I shouldn't be doing. Needs to be revisited.
Revision 1.322 / (download) - annotate - [select for diffs], Mon Oct 15 14:12:55 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Branch point for: bouyer-xenamd64
Changes since 1.321: +2 -3
lines
Diff to previous 1.321 (colored)
Add _SC_NPROCESSORS_ONLN and _SC_NPROCESSORS_CONF for sysconf(). These are extensions but are provided by many Unix systems.
Revision 1.314.2.2 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:37 2007 UTC (4 years, 7 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.314.2.1: +7 -4
lines
Diff to previous 1.314.2.1 (colored) to branchpoint 1.314 (colored)
sync with head.
Revision 1.321 / (download) - annotate - [select for diffs], Thu Oct 11 19:45:24 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3,
vmlocking-base
Changes since 1.320: +3 -3
lines
Diff to previous 1.320 (colored)
Merge from vmlocking: - G/C spinlockmgr() and simple_lock debugging. - Always include the kernel_lock functions, for LKMs. - Slightly improved subr_lockdebug code. - Keep sizeof(struct lock) the same if LOCKDEBUG.
Revision 1.299.2.23 / (download) - annotate - [select for diffs], Thu Oct 11 11:08:18 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.22: +3 -3
lines
Diff to previous 1.299.2.22 (colored)
- Always include the kernel_lock functions, for LKMs. - Fix uniprocessor builds. - Tidy up a bit.
Revision 1.299.2.22 / (download) - annotate - [select for diffs], Tue Oct 9 13:44:22 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.21: +31 -10
lines
Diff to previous 1.299.2.21 (colored)
Sync with head.
Revision 1.320 / (download) - annotate - [select for diffs], Mon Oct 8 20:06:18 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.319: +3 -3
lines
Diff to previous 1.319 (colored)
Merge run time accounting changes from the vmlocking branch. These make the LWP "start time" per-thread instead of per-CPU.
Revision 1.319 / (download) - annotate - [select for diffs], Mon Oct 8 15:12:06 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.318: +5 -2
lines
Diff to previous 1.318 (colored)
Merge file descriptor locking, cwdi locking and cross-call changes from the vmlocking branch.
Revision 1.314.2.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:28:40 2007 UTC (4 years, 7 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.314: +14 -7
lines
Diff to previous 1.314 (colored)
sync with head.
Revision 1.311.4.3 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:56 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.311.4.2: +18 -7
lines
Diff to previous 1.311.4.2 (colored) to branchpoint 1.311 (colored)
Sync with HEAD.
Revision 1.318 / (download) - annotate - [select for diffs], Mon Oct 1 22:05:15 2007 UTC (4 years, 7 months ago) by martin
Branch: MAIN
CVS Tags: yamt-x86pmap-base2
Changes since 1.317: +2 -11
lines
Diff to previous 1.317 (colored)
No need to db_init_commands() early any more - it will happen on first entry to ddb.
Revision 1.317 / (download) - annotate - [select for diffs], Tue Sep 25 22:33:59 2007 UTC (4 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.316: +8 -3
lines
Diff to previous 1.316 (colored)
Make previous conditional upon !__i386__ && !__x86_64__. I know this is gross but it's a debug check that's not intended to live very long. curlwp is about to become a function on x86 (and so can't be assigned to).
Revision 1.316 / (download) - annotate - [select for diffs], Tue Sep 25 21:41:59 2007 UTC (4 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.315: +9 -7
lines
Diff to previous 1.315 (colored)
If curlwp is not set before main(), moan about it but continue to set it. curlwp will need to be available earlier for UVM/pmap bootstrap.
Revision 1.315 / (download) - annotate - [select for diffs], Mon Sep 24 00:00:52 2007 UTC (4 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.314: +11 -2
lines
Diff to previous 1.314 (colored)
db_init_commands() early
Revision 1.307.2.3 / (download) - annotate - [select for diffs], Mon Sep 10 10:55:55 2007 UTC (4 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.307.2.2: +6 -2
lines
Diff to previous 1.307.2.2 (colored) to branchpoint 1.307 (colored) next main 1.308 (colored)
Sync with HEAD.
Revision 1.314 / (download) - annotate - [select for diffs], Fri Sep 7 18:56:08 2007 UTC (4 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-x86pmap-base,
nick-csl-alignment-base5
Branch point for: yamt-x86pmap
Changes since 1.313: +6 -2
lines
Diff to previous 1.313 (colored)
Implementation of POSIX message queues. Reviewed by: <ad>, <tech-kern>
Revision 1.311.4.2 / (download) - annotate - [select for diffs], Mon Sep 3 16:48:47 2007 UTC (4 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.311.4.1: +11 -4
lines
Diff to previous 1.311.4.1 (colored) to branchpoint 1.311 (colored)
Sync with HEAD.
Revision 1.248.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:40 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.248.2.3: +94 -58
lines
Diff to previous 1.248.2.3 (colored)
sync with head.
Revision 1.307.2.2 / (download) - annotate - [select for diffs], Mon Sep 3 10:22:57 2007 UTC (4 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.307.2.1: +11 -4
lines
Diff to previous 1.307.2.1 (colored) to branchpoint 1.307 (colored)
Sync with HEAD.
Revision 1.313 / (download) - annotate - [select for diffs], Sun Sep 2 00:41:24 2007 UTC (4 years, 8 months ago) by xtraeme
Branch: MAIN
Changes since 1.312: +11 -4
lines
Diff to previous 1.312 (colored)
Convert the sysmon watchdog framework to use mutex(9) rather than simple_locks and initialize them on init_main via sysmon_wdog_init(). All the sysmon code now is cleaned up and doesn't use old style locking.
Revision 1.312.2.1 / (download) - annotate - [select for diffs], Tue Aug 28 18:43:43 2007 UTC (4 years, 8 months ago) by matt
Branch: matt-armv6
Changes since 1.312: +6 -6
lines
Diff to previous 1.312 (colored)
Pre-init the static structures (lwp0,proc0,session0,etc.) whenever possible. Use curlwp_set()
Revision 1.299.2.21 / (download) - annotate - [select for diffs], Tue Aug 28 14:03:09 2007 UTC (4 years, 8 months ago) by yamt
Branch: vmlocking
Changes since 1.299.2.20: +3 -3
lines
Diff to previous 1.299.2.20 (colored)
- mark aiodone workqueue MPSAFE. - make lfs callbacks acquire kernel_lock by themselves. ok'ed by Andrew Doran.
Revision 1.299.2.20 / (download) - annotate - [select for diffs], Wed Aug 22 00:49:38 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.19: +4 -3
lines
Diff to previous 1.299.2.19 (colored)
Mark ioflush MP safe.
Revision 1.299.2.19 / (download) - annotate - [select for diffs], Mon Aug 20 21:27:26 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.18: +24 -16
lines
Diff to previous 1.299.2.18 (colored)
Sync with HEAD.
Revision 1.307.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:49:04 2007 UTC (4 years, 9 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.307: +25 -12
lines
Diff to previous 1.307 (colored)
Sync with HEAD.
Revision 1.299.2.18 / (download) - annotate - [select for diffs], Mon Aug 13 10:00:12 2007 UTC (4 years, 9 months ago) by yamt
Branch: vmlocking
Changes since 1.299.2.17: +2 -5
lines
Diff to previous 1.299.2.17 (colored)
main: don't call callout_startup2 twice.
Revision 1.311.4.1 / (download) - annotate - [select for diffs], Sat Aug 4 12:33:13 2007 UTC (4 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.311: +9 -2
lines
Diff to previous 1.311 (colored)
Sync with HEAD.
Revision 1.312.4.2 / (download) - annotate - [select for diffs], Sat Aug 4 11:03:01 2007 UTC (4 years, 9 months ago) by ad
Branch: matt-mips64
Changes since 1.312.4.1: +838 -0
lines
Diff to previous 1.312.4.1 (colored) to branchpoint 1.312 (colored) next main 1.313 (colored)
Add cpuctl(8). For now this is not much more than a toy for debugging and benchmarking that allows taking CPUs online/offline.
Revision 1.312.4.1, Sat Aug 4 11:03:00 2007 UTC (4 years, 9 months ago) by ad
Branch: matt-mips64
Changes since 1.312: +0 -838
lines
FILE REMOVED
file init_main.c was added on branch matt-mips64 on 2007-08-04 11:03:01 +0000
Revision 1.312 / (download) - annotate - [select for diffs], Sat Aug 4 11:03:00 2007 UTC (4 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: matt-mips64-base
Branch point for: matt-mips64,
matt-armv6
Changes since 1.311: +9 -2
lines
Diff to previous 1.311 (colored)
Add cpuctl(8). For now this is not much more than a toy for debugging and benchmarking that allows taking CPUs online/offline.
Revision 1.311 / (download) - annotate - [select for diffs], Mon Jul 30 08:45:26 2007 UTC (4 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: hpcarm-cleanup
Branch point for: jmcneill-pm
Changes since 1.310: +3 -9
lines
Diff to previous 1.310 (colored)
move setrootfstime() from init_main.c to vfs_subr2.c
Revision 1.310 / (download) - annotate - [select for diffs], Sat Jul 21 23:15:16 2007 UTC (4 years, 10 months ago) by xtraeme
Branch: MAIN
Changes since 1.309: +13 -2
lines
Diff to previous 1.309 (colored)
Convert sysmon_taskqueue to use mutex(9) and condvar(9) and initialize them in init_main.c via sysmon_task_queue_preinit(). Reviewed and ok by ad@.
Revision 1.309 / (download) - annotate - [select for diffs], Sat Jul 21 19:51:49 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.308: +6 -2
lines
Diff to previous 1.308 (colored)
Replace some uses of lockmgr().
Revision 1.308 / (download) - annotate - [select for diffs], Fri Jul 20 22:15:47 2007 UTC (4 years, 10 months ago) by tsutsui
Branch: MAIN
Changes since 1.307: +2 -5
lines
Diff to previous 1.307 (colored)
Defer callout_startup2() (which calls softintr_establish(9)) call after cpu_configure(9) for now because softintr(9) is initialized in cpu_configure(9) on some ports. Ok'ed by ad@ on current-users, and fixes hangs on m68k ports during scsi probe.
Revision 1.299.2.17 / (download) - annotate - [select for diffs], Sun Jul 15 22:16:34 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.16: +5 -2
lines
Diff to previous 1.299.2.16 (colored)
Initalize the ttyldisc earlier.
Revision 1.299.2.16 / (download) - annotate - [select for diffs], Sun Jul 15 15:52:53 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.15: +14 -2
lines
Diff to previous 1.299.2.15 (colored)
Sync with head.
Revision 1.299.2.15 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:35 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.14: +12 -9
lines
Diff to previous 1.299.2.14 (colored)
Sync with head.
Revision 1.299.2.14 / (download) - annotate - [select for diffs], Sat Jul 14 22:09:42 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.13: +3 -3
lines
Diff to previous 1.299.2.13 (colored)
Make it possible to track time spent by soft interrupts as is done for normal LWPs, and provide a sysctl to switch it on/off. Not enabled by default because microtime() is not free. XXX Not happy with this but I want it get it out of my local tree for the time being.
Revision 1.299.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:09:40 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.299: +59 -38
lines
Diff to previous 1.299 (colored) next main 1.300 (colored)
Sync with head.
Revision 1.307 / (download) - annotate - [select for diffs], Mon Jul 9 21:10:50 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base,
mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Changes since 1.306: +28 -15
lines
Diff to previous 1.306 (colored)
Merge some of the less invasive changes from the vmlocking branch: - kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
Revision 1.306 / (download) - annotate - [select for diffs], Mon Jul 9 10:05:26 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.305: +2 -9
lines
Diff to previous 1.305 (colored)
Remove kcont: - There are no users in tree. - Its functionality has largely been replaced by workqueues and generic soft interrupts. - It's not MP friendly.
Revision 1.299.2.13 / (download) - annotate - [select for diffs], Sun Jul 1 21:43:42 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.12: +7 -4
lines
Diff to previous 1.299.2.12 (colored)
- Adapt to callout API change. - Add a counter to track how often soft interrupts sleep.
Revision 1.305 / (download) - annotate - [select for diffs], Sun Jul 1 07:36:39 2007 UTC (4 years, 10 months ago) by xtraeme
Branch: MAIN
Changes since 1.304: +13 -2
lines
Diff to previous 1.304 (colored)
Imported envsys 2, a brief description of the new features: (Part 1: API) * Support for detachable sensors. * Cleaned up the API for simplicity and efficiency. * Ability to send capacity/critical/warning events to powerd(8). * Adapted all the code to the new locking order. * Compatibility with the old envsys API: the ENVSYS_GTREINFO and ENVSYS_GTREDATA ioctl(2)s are supported. * Added support for a 'dictionary based communication channel' between sysmon_power(9) and powerd(8), that means there is no 32 bytes event size restriction anymore. * Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40. * All drivers with the n^2 gtredata bug were fixed, PR kern/36226. Tested by: blymn: smsc(4). bouyer: ipmi(4), mfi(4). kefren: ug(4). njoly: viaenv(4), adt7463.c. riz: owtemp(4). xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
Revision 1.299.2.12 / (download) - annotate - [select for diffs], Sat Jun 23 18:10:49 2007 UTC (4 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.11: +3 -3
lines
Diff to previous 1.299.2.11 (colored)
physiod workqueue doesn't need to be at IPL_BIO.
Revision 1.299.2.11 / (download) - annotate - [select for diffs], Sun Jun 17 21:31:18 2007 UTC (4 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.10: +5 -2
lines
Diff to previous 1.299.2.10 (colored)
- Increase the number of thread priorities from 128 to 256. How the space is set up is to be revisited. - Implement soft interrupts as kernel threads. A generic implementation is provided, with hooks for fast-path MD code that can run the interrupt threads over the top of other threads executing in the kernel. - Split vnode::v_flag into three fields, depending on how the flag is locked (by the interlock, by the vnode lock, by the file system). - Miscellaneous locking fixes and improvements.
Revision 1.304 / (download) - annotate - [select for diffs], Sun Jun 17 13:34:43 2007 UTC (4 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.303: +5 -2
lines
Diff to previous 1.303 (colored)
periodically resize vmem hash table.
Revision 1.299.2.10 / (download) - annotate - [select for diffs], Sat Jun 9 23:58:04 2007 UTC (4 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.9: +5 -2
lines
Diff to previous 1.299.2.9 (colored)
Sync with head.
Revision 1.299.2.9 / (download) - annotate - [select for diffs], Fri Jun 8 14:17:15 2007 UTC (4 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.8: +12 -17
lines
Diff to previous 1.299.2.8 (colored)
Sync with head.
Revision 1.303 / (download) - annotate - [select for diffs], Thu May 31 05:29:43 2007 UTC (4 years, 11 months ago) by rmind
Branch: MAIN
Changes since 1.302: +5 -2
lines
Diff to previous 1.302 (colored)
- Make aio_worker to handle pending exits and coredumps - Allow aio_suspend() to be ended early by a signal - Fix reference counting on LIO structures (remove hack) - Use two global pools for AIO structures - Minor cleanups Patch provided by <ad>. Some additional modifications by me. Reviewed by <yamt>.
Revision 1.302 / (download) - annotate - [select for diffs], Thu May 17 14:51:37 2007 UTC (5 years ago) by yamt
Branch: MAIN
Changes since 1.301: +12 -17
lines
Diff to previous 1.301 (colored)
merge yamt-idlelwp branch. asked by core@. some ports still needs work. from doc/BRANCHES: idle lwp, and some changes depending on it. 1. separate context switching and thread scheduling. (cf. gmcgarry_ctxsw) 2. implement idle lwp. 3. clean up related MD/MI interfaces. 4. make scheduler(s) modular.
Revision 1.299.2.8 / (download) - annotate - [select for diffs], Sun May 13 17:36:33 2007 UTC (5 years ago) by ad
Branch: vmlocking
Changes since 1.299.2.7: +13 -7
lines
Diff to previous 1.299.2.7 (colored)
- Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
Revision 1.299.2.7 / (download) - annotate - [select for diffs], Fri Apr 13 20:56:17 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.299.2.6: +5 -2
lines
Diff to previous 1.299.2.6 (colored)
- Make the devsw interface MP safe, and add some comments. - Allow individual block/character drivers to be marked MP safe. - Provide wrappers around the device methods that look up the device, returning ENXIO if it's not found, and acquire the kernel lock if needed.
Revision 1.299.2.6 / (download) - annotate - [select for diffs], Tue Apr 10 12:07:12 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.299.2.5: +4 -10
lines
Diff to previous 1.299.2.5 (colored)
Nuke the deferred kthread creation stuff, as it's no longer needed. Pointed out by thorpej@.
Revision 1.299.2.5 / (download) - annotate - [select for diffs], Tue Apr 10 00:22:11 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.299.2.4: +5 -2
lines
Diff to previous 1.299.2.4 (colored)
Changes to select/poll: - Make them MP safe and decouple from the proc locks. - selwakeup: don't call p_find, or traverse per-proc LWP lists (ouch). - selwakeup: don't lock the sleep queue unless we need to.
Revision 1.299.2.4 / (download) - annotate - [select for diffs], Mon Apr 9 22:10:02 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.299.2.3: +4 -4
lines
Diff to previous 1.299.2.3 (colored)
- Add two new arguments to kthread_create1: pri_t pri, bool mpsafe. - Fork kthreads off proc0 as new LWPs, not new processes.
Revision 1.294.2.7 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:59 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.294.2.6: +7 -4
lines
Diff to previous 1.294.2.6 (colored) next main 1.295 (colored)
sync with head.
Revision 1.294.2.6 / (download) - annotate - [select for diffs], Sat Mar 24 12:07:23 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.294.2.5: +1 -11
lines
Diff to previous 1.294.2.5 (colored)
update ncpu when attaching cpus, rather than counting cpus after calling cpu_boot_secondary_processors. no difference at this point, but it should be more cpu-hotplug friendly.
Revision 1.294.2.5 / (download) - annotate - [select for diffs], Sat Mar 24 11:36:02 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.294.2.4: +5 -5
lines
Diff to previous 1.294.2.4 (colored)
initialize ci->ci_schedstate.spc_mutex of APs. (sched_rqinit is called before APs are attached.)
Revision 1.299.2.3 / (download) - annotate - [select for diffs], Wed Mar 21 20:11:49 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.2: +9 -2
lines
Diff to previous 1.299.2.2 (colored)
- Replace more simple_locks, and fix up in a few places. - Use condition variables. - LOCK_ASSERT -> KASSERT.
Revision 1.299.2.2 / (download) - annotate - [select for diffs], Tue Mar 13 17:50:50 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.299.2.1: +4 -2
lines
Diff to previous 1.299.2.1 (colored)
Pull in the initial set of changes for the vmlocking branch.
Revision 1.301 / (download) - annotate - [select for diffs], Tue Mar 13 17:23:49 2007 UTC (5 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Changes since 1.300: +4 -2
lines
Diff to previous 1.300 (colored)
Don't call pipe_init if PIPE_SOCKETPAIR is defined.
Revision 1.299.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:51:49 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.299: +5 -4
lines
Diff to previous 1.299 (colored)
Sync with head.
Revision 1.300 / (download) - annotate - [select for diffs], Mon Mar 12 21:31:11 2007 UTC (5 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.299: +5 -4
lines
Diff to previous 1.299 (colored)
Put a lock around pipe->pipe_peer.
Revision 1.294.2.4 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:31 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.294.2.3: +12 -17
lines
Diff to previous 1.294.2.3 (colored)
Sync with HEAD.
Revision 1.299 / (download) - annotate - [select for diffs], Sat Mar 10 15:56:21 2007 UTC (5 years, 2 months ago) by ad
Branch: MAIN
Branch point for: vmlocking,
mjf-ufs-trans
Changes since 1.298: +2 -7
lines
Diff to previous 1.298 (colored)
lockdebug: - Initialize on the first allocation. - Handle overflow better. PR kern/35723.
Revision 1.298 / (download) - annotate - [select for diffs], Fri Mar 9 14:11:23 2007 UTC (5 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.297: +4 -4
lines
Diff to previous 1.297 (colored)
- Make the proclist_lock a mutex. The write:read ratio is unfavourable, and mutexes are cheaper use than RW locks. - LOCK_ASSERT -> KASSERT in some places. - Hold proclist_lock/kernel_lock longer in a couple of places.
Revision 1.297 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:03 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.296: +9 -9
lines
Diff to previous 1.296 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.296 / (download) - annotate - [select for diffs], Sat Mar 3 10:08:18 2007 UTC (5 years, 2 months ago) by itohy
Branch: MAIN
Changes since 1.295: +3 -3
lines
Diff to previous 1.295 (colored)
Remove extra space so that symbol renaming works properly.
Revision 1.294.2.3 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:16 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.294.2.2: +3 -3
lines
Diff to previous 1.294.2.2 (colored)
- sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.248.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:03 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.248.2.2: +82 -22
lines
Diff to previous 1.248.2.2 (colored)
sync with head.
Revision 1.294.2.2 / (download) - annotate - [select for diffs], Tue Feb 20 21:48:44 2007 UTC (5 years, 3 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.294.2.1: +6 -6
lines
Diff to previous 1.294.2.1 (colored)
General Common Scheduler Framework (CSF) patch import. Huge thanks for Daniel Sieger <dsieger at TechFak.Uni-Bielefeld de> for this work. Short abstract: Split the dispatcher from the scheduler in order to make the scheduler more modular. Introduce initial API for other schedulers' implementations. Discussed in tech-kern@ OK: yamt@, ad@ Note: further work will go soon.
Revision 1.295 / (download) - annotate - [select for diffs], Sat Feb 17 22:31:42 2007 UTC (5 years, 3 months ago) by pavel
Branch: MAIN
CVS Tags: ad-audiomp-base,
ad-audiomp
Changes since 1.294: +3 -3
lines
Diff to previous 1.294 (colored)
Change the process/lwp flags seen by userland via sysctl back to the P_*/L_* naming convention, and rename the in-kernel flags to avoid conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD constant. Restores source compatibility with pre-newlock2 tools like ps or top. Reviewed by Andrew Doran.
Revision 1.294.2.1 / (download) - annotate - [select for diffs], Sat Feb 17 10:30:51 2007 UTC (5 years, 3 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.294: +7 -2
lines
Diff to previous 1.294 (colored)
- separate context switching and thread scheduling. - introduce idle lwp. - change some related MD/MI interfaces and implement i386 version.
Revision 1.294 / (download) - annotate - [select for diffs], Thu Feb 15 20:32:47 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
Branch point for: yamt-idlelwp
Changes since 1.293: +13 -2
lines
Diff to previous 1.293 (colored)
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.293 / (download) - annotate - [select for diffs], Sun Feb 11 14:29:01 2007 UTC (5 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.292: +2 -3
lines
Diff to previous 1.292 (colored)
remove a duplicated inclusion of sleepq.h.
Revision 1.292 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:30 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.291: +49 -15
lines
Diff to previous 1.291 (colored)
Merge newlock2 to head.
Revision 1.276.4.11 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:37 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.276.4.10: +24 -8
lines
Diff to previous 1.276.4.10 (colored) to branchpoint 1.276 (colored) next main 1.277 (colored)
Sync with head.
Revision 1.276.4.10 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:40 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.276.4.9: +0 -1
lines
Diff to previous 1.276.4.9 (colored) to branchpoint 1.276 (colored)
Remove support for SA. Ok core@.
Revision 1.291 / (download) - annotate - [select for diffs], Sat Jan 27 22:54:58 2007 UTC (5 years, 3 months ago) by elad
Branch: MAIN
CVS Tags: newlock2-nbase,
newlock2-base
Changes since 1.290: +10 -5
lines
Diff to previous 1.290 (colored)
Add a comment to indicate the reason for kauth_init() and secmodel_start() being where they are. Suggested by and okay christos@.
Revision 1.290 / (download) - annotate - [select for diffs], Sat Jan 27 01:13:10 2007 UTC (5 years, 3 months ago) by elad
Branch: MAIN
Changes since 1.289: +5 -5
lines
Diff to previous 1.289 (colored)
Start the security model sooner. As with previous commit, we want to allow the secmodel code to control the credential inheritance, etc., so we need it started earlier (also before proc0_init()).
Revision 1.289 / (download) - annotate - [select for diffs], Fri Jan 26 21:57:47 2007 UTC (5 years, 3 months ago) by elad
Branch: MAIN
Changes since 1.288: +5 -5
lines
Diff to previous 1.288 (colored)
Initialize kauth(9) sooner. Since we'll soon want to be able to control the inheritance of credentials, kauth(9) needs to be ready for use much sooner -- at least before the call to proc0_init().
Revision 1.276.4.9 / (download) - annotate - [select for diffs], Fri Jan 19 20:49:54 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.276.4.8: +7 -2
lines
Diff to previous 1.276.4.8 (colored) to branchpoint 1.276 (colored)
Add some DEBUG code to check that items being freed were previously allocated from the same source. Needs to be enabled via DDB.
Revision 1.288 / (download) - annotate - [select for diffs], Fri Jan 19 14:49:10 2007 UTC (5 years, 4 months ago) by hannken
Branch: MAIN
Changes since 1.287: +5 -2
lines
Diff to previous 1.287 (colored)
New file system suspension API to replace vn_start_write and vn_finished_write. The suspension helpers are now put into file system specific operations. This means every file system not supporting these helpers cannot be suspended and therefore snapshots are no longer possible. Implemented for file systems of type ffs. The new API is enabled on a kernel option NEWVNGATE. This option is not enabled by default in any kernel config. Presented and discussed on tech-kern with much input from Bill Studenmund <wrstuden@netbsd.org> and YAMAMOTO Takashi <yamt@netbsd.org>. Welcome to 4.99.9 (new vfs op vfs_suspendctl).
Revision 1.276.4.8 / (download) - annotate - [select for diffs], Thu Jan 18 00:15:36 2007 UTC (5 years, 4 months ago) by christos
Branch: newlock2
Changes since 1.276.4.7: +10 -3
lines
Diff to previous 1.276.4.7 (colored) to branchpoint 1.276 (colored)
make things compile.
Revision 1.287 / (download) - annotate - [select for diffs], Wed Jan 17 12:27:24 2007 UTC (5 years, 4 months ago) by elad
Branch: MAIN
Changes since 1.286: +10 -2
lines
Diff to previous 1.286 (colored)
Oops - this should have gone in a long time ago. Weak alias secmodel_start to a nop routine, for building without a secmodel in the kernel.
Revision 1.276.4.7 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:06 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.276.4.6: +22 -27
lines
Diff to previous 1.276.4.6 (colored) to branchpoint 1.276 (colored)
Sync with head.
Revision 1.276.4.6 / (download) - annotate - [select for diffs], Thu Jan 11 22:22:59 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.276.4.5: +3 -3
lines
Diff to previous 1.276.4.5 (colored) to branchpoint 1.276 (colored)
Checkpoint work in progress.
Revision 1.248.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:04 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.248.2.1: +71 -21
lines
Diff to previous 1.248.2.1 (colored)
sync with head.
Revision 1.276.4.5 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:43 2006 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.276.4.4: +12 -4
lines
Diff to previous 1.276.4.4 (colored) to branchpoint 1.276 (colored)
Checkpoint work in progress.
Revision 1.286 / (download) - annotate - [select for diffs], Thu Dec 21 15:55:25 2006 UTC (5 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.285: +4 -4
lines
Diff to previous 1.285 (colored)
merge yamt-splraiseipl branch. - finish implementing splraiseipl (and makeiplcookie). http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html - complete workqueue(9) and fix its ipl problem, which is reported to cause audio skipping. - fix netbt (at least compilation problems) for some ports. - fix PR/33218.
Revision 1.277.2.6 / (download) - annotate - [select for diffs], Thu Dec 21 14:55:05 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.277.2.5: +2 -62
lines
Diff to previous 1.277.2.5 (colored) to branchpoint 1.277 (colored) next main 1.278 (colored)
revert 1.277.2.2 (test code for this branch) to prepare merge.
Revision 1.277.2.5 / (download) - annotate - [select for diffs], Mon Dec 18 11:42:15 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.277.2.4: +2 -11
lines
Diff to previous 1.277.2.4 (colored) to branchpoint 1.277 (colored)
sync with head.
Revision 1.285 / (download) - annotate - [select for diffs], Mon Dec 11 15:24:28 2006 UTC (5 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4
Changes since 1.284: +2 -11
lines
Diff to previous 1.284 (colored)
- remove a static configuration, FILEASSOC_NHOOKS. do it dynamically instead. - make fileassoc_t a pointer and remove FILEASSOC_INVAL. - clean up kern_fileassoc.c. unify duplicated code. - unexport fileassoc_init using RUN_ONCE(9). - plug memory leaks in fileassoc_file_delete and fileassoc_table_delete. - always call callbacks, regardless of the value of the associated data. ok'ed by elad.
Revision 1.277.2.4 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:43 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.277.2.3: +52 -7
lines
Diff to previous 1.277.2.3 (colored) to branchpoint 1.277 (colored)
sync with head.
Revision 1.284 / (download) - annotate - [select for diffs], Thu Dec 7 20:23:38 2006 UTC (5 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base3
Changes since 1.283: +6 -2
lines
Diff to previous 1.283 (colored)
iostat: avoid sleeping with a held simple_lock.
Revision 1.283 / (download) - annotate - [select for diffs], Sun Nov 26 16:22:36 2006 UTC (5 years, 6 months ago) by elad
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
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,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Changes since 1.282: +6 -7
lines
Diff to previous 1.282 (colored)
I wanted to do this for so long: veriexec_init_fp_ops() -> veriexec_init().
Revision 1.282 / (download) - annotate - [select for diffs], Wed Nov 22 02:02:51 2006 UTC (5 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.281: +4 -5
lines
Diff to previous 1.281 (colored)
Initial implementation of PaX Segvguard (this is still work-in-progress, it's just to get it out of my local tree).
Revision 1.281 / (download) - annotate - [select for diffs], Wed Nov 22 00:41:38 2006 UTC (5 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.280: +11 -2
lines
Diff to previous 1.280 (colored)
Make PaX MPROTECT use specificdata(9), freeing up two P_* flags. While here, make more generic for upcoming PaX features.
Revision 1.276.4.4 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:21 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.276.4.3: +44 -4
lines
Diff to previous 1.276.4.3 (colored) to branchpoint 1.276 (colored)
Sync with head.
Revision 1.276.4.3 / (download) - annotate - [select for diffs], Fri Nov 17 16:34:35 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.276.4.2: +5 -5
lines
Diff to previous 1.276.4.2 (colored) to branchpoint 1.276 (colored)
Checkpoint work in progress.
Revision 1.280 / (download) - annotate - [select for diffs], Sat Nov 11 02:12:53 2006 UTC (5 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.279: +36 -2
lines
Diff to previous 1.279 (colored)
Add SSP support. XXX: This is broken for me right now, because my kernel resets after fxp0 is probed, but it could be some bug in the driver/compiler.
Revision 1.277.2.3 / (download) - annotate - [select for diffs], Sun Oct 22 08:07:53 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.277.2.2: +2 -2
lines
Diff to previous 1.277.2.2 (colored) to branchpoint 1.277 (colored)
use workqueue for aiodoned.
Revision 1.277.2.2 / (download) - annotate - [select for diffs], Sun Oct 22 06:19:20 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.277.2.1: +60 -0
lines
Diff to previous 1.277.2.1 (colored) to branchpoint 1.277 (colored)
add some test code to ensure basic spl operations are compilable and not to panic. i'll remove this code before merging this branch to trunk.
Revision 1.277.2.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:09 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.277: +6 -5
lines
Diff to previous 1.277 (colored)
sync with head
Revision 1.276.4.2 / (download) - annotate - [select for diffs], Sat Oct 21 14:31:56 2006 UTC (5 years, 7 months ago) by ad
Branch: newlock2
Changes since 1.276.4.1: +27 -10
lines
Diff to previous 1.276.4.1 (colored) to branchpoint 1.276 (colored)
- Initialize sleep queues, etc. - Define mi_cpu_init(). XXX This is probably not the right place.
Revision 1.279 / (download) - annotate - [select for diffs], Sun Oct 8 04:28:44 2006 UTC (5 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.278: +3 -2
lines
Diff to previous 1.278 (colored)
Add specificdata support to procs and lwps, each providing their own
wrappers around the speicificdata subroutines. Also:
- Call the new lwpinit() function from main() after calling procinit().
- Move some pool initialization out of kern_proc.c and into files that
are directly related to the pools in question (kern_lwp.c and kern_ras.c).
- Convert uipc_sem.c to proc_{get,set}specific(), and eliminate the p_ksems
member from struct proc.
Revision 1.278 / (download) - annotate - [select for diffs], Mon Oct 2 16:29:57 2006 UTC (5 years, 7 months ago) by elad
Branch: MAIN
Changes since 1.277: +5 -5
lines
Diff to previous 1.277 (colored)
Move the kauth_init() call above auto-configuration; this will fix some recent bugs introduced with the usage of kauth(9) in MD/device code. While here, change the sanity checks to KASSERT(), because they're really bugs we should fix if triggered.
Revision 1.262.2.7 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:48 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.262.2.6: +7 -2
lines
Diff to previous 1.262.2.6 (colored) to branchpoint 1.262 (colored) next main 1.263 (colored)
sync with head.
Revision 1.276.4.1 / (download) - annotate - [select for diffs], Mon Sep 11 16:19:01 2006 UTC (5 years, 8 months ago) by ad
Branch: newlock2
Changes since 1.276: +13 -8
lines
Diff to previous 1.276 (colored)
Add updated locking primatives.
Revision 1.261.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:15 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.261: +44 -22
lines
Diff to previous 1.261 (colored) next main 1.262 (colored)
sync with head
Revision 1.277 / (download) - annotate - [select for diffs], Fri Sep 8 20:58:57 2006 UTC (5 years, 8 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Changes since 1.276: +7 -2
lines
Diff to previous 1.276 (colored)
First take at security model abstraction.
- Add a few scopes to the kernel: system, network, and machdep.
- Add a few more actions/sub-actions (requests), and start using them as
opposed to the KAUTH_GENERIC_ISSUSER place-holders.
- Introduce a basic set of listeners that implement our "traditional"
security model, called "bsd44". This is the default (and only) model we
have at the moment.
- Update all relevant documentation.
- Add some code and docs to help folks who want to actually use this stuff:
* There's a sample overlay model, sitting on-top of "bsd44", for
fast experimenting with tweaking just a subset of an existing model.
This is pretty cool because it's *really* straightforward to do stuff
you had to use ugly hacks for until now...
* And of course, documentation describing how to do the above for quick
reference, including code samples.
All of these changes were tested for regressions using a Python-based
testsuite that will be (I hope) available soon via pkgsrc. Information
about the tests, and how to write new ones, can be found on:
http://kauth.linbsd.org/kauthwiki
NOTE FOR DEVELOPERS: *PLEASE* don't add any code that does any of the
following:
- Uses a KAUTH_GENERIC_ISSUSER kauth(9) request,
- Checks 'securelevel' directly,
- Checks a uid/gid directly.
(or if you feel you have to, contact me first)
This is still work in progress; It's far from being done, but now it'll
be a lot easier.
Relevant mailing list threads:
http://mail-index.netbsd.org/tech-security/2006/01/25/0011.html
http://mail-index.netbsd.org/tech-security/2006/03/24/0001.html
http://mail-index.netbsd.org/tech-security/2006/04/18/0000.html
http://mail-index.netbsd.org/tech-security/2006/05/15/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/01/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/25/0000.html
Many thanks to YAMAMOTO Takashi, Matt Thomas, and Christos Zoulas for help
stablizing kauth(9).
Full credit for the regression tests, making sure these changes didn't break
anything, goes to Matt Fleming and Jaime Fournier.
Happy birthday Randi! :)
Revision 1.262.2.6 / (download) - annotate - [select for diffs], Fri Aug 11 15:45:46 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.262.2.5: +17 -12
lines
Diff to previous 1.262.2.5 (colored) to branchpoint 1.262 (colored)
sync with head
Revision 1.276 / (download) - annotate - [select for diffs], Wed Jul 26 09:33:57 2006 UTC (5 years, 10 months ago) by dogcow
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.275: +1 -1
lines
Diff to previous 1.275 (colored)
at the request of elad, as veriexec.h has returned, revert the changes from 2006-07-25.
Revision 1.275 / (download) - annotate - [select for diffs], Tue Jul 25 00:23:06 2006 UTC (5 years, 10 months ago) by dogcow
Branch: MAIN
Changes since 1.274: +3 -3
lines
Diff to previous 1.274 (colored)
mechanically go through and s,include "veriexec.h",include <sys/verified_exec.h>, as the former has apparently gone away.
Revision 1.274 / (download) - annotate - [select for diffs], Mon Jul 24 16:37:28 2006 UTC (5 years, 10 months ago) by elad
Branch: MAIN
Changes since 1.273: +3 -3
lines
Diff to previous 1.273 (colored)
some fixes:
- adapt to NVERIEXEC in init_sysctl.c.
- we now need "veriexec.h" for NVERIEXEC.
- "opt_verified_exec.h" -> "opt_veriexec.h", and include it only where
it is needed.
Revision 1.273 / (download) - annotate - [select for diffs], Sat Jul 22 10:34:26 2006 UTC (5 years, 10 months ago) by elad
Branch: MAIN
Changes since 1.272: +6 -6
lines
Diff to previous 1.272 (colored)
deprecate the VERIFIED_EXEC option; now we only need the pseudo-device to enable it. while here, some config file tweaks. tons of input from cube@ (thanks!) and okay blymn@.
Revision 1.272 / (download) - annotate - [select for diffs], Fri Jul 14 22:44:28 2006 UTC (5 years, 10 months ago) by kardel
Branch: MAIN
Changes since 1.271: +3 -5
lines
Diff to previous 1.271 (colored)
keep NetBSD boottime semantics: - only set at boot - only tracking delta of set-time operations -> will keep boottime stable across ACPI sleeps uptime(1) will report the time since last boot
Revision 1.271 / (download) - annotate - [select for diffs], Fri Jul 14 18:41:40 2006 UTC (5 years, 10 months ago) by elad
Branch: MAIN
Changes since 1.270: +11 -2
lines
Diff to previous 1.270 (colored)
okay, since there was no way to divide this to two commits, here it goes.. introduce fileassoc(9), a kernel interface for associating meta-data with files using in-kernel memory. this is very similar to what we had in veriexec till now, only abstracted so it can be used more easily by more consumers. this also prompted the redesign of the interface, making it work on vnodes and mounts and not directly on devices and inodes. internally, we still use file-id but that's gonna change soon... the interface will remain consistent. as a result, veriexec went under some heavy changes to conform to the new interface. since we no longer use device numbers to identify file-systems, the veriexec sysctl stuff changed too: kern.veriexec.count.dev_N is now kern.veriexec.tableN.* where 'N' is NOT the device number but rather a way to distinguish several mounts. also worth noting is the plugging of unmount/delete operations wrt/fileassoc and veriexec. tons of input from yamt@, wrstuden@, martin@, and christos@.
Revision 1.268.2.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:50 2006 UTC (5 years, 10 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.268: +5 -4
lines
Diff to previous 1.268 (colored) next main 1.269 (colored)
Merge from HEAD.
Revision 1.270 / (download) - annotate - [select for diffs], Sat Jul 1 05:41:10 2006 UTC (5 years, 10 months ago) by kardel
Branch: MAIN
Changes since 1.269: +0 -2
lines
Diff to previous 1.269 (colored)
always call ntp initialisation for timecounter systems as the ntp code degenerates to the adjtime implementation in the non NTP case
Revision 1.262.2.5 / (download) - annotate - [select for diffs], Mon Jun 26 12:52:56 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.262.2.4: +30 -7
lines
Diff to previous 1.262.2.4 (colored) to branchpoint 1.262 (colored)
sync with head.
Revision 1.269 / (download) - annotate - [select for diffs], Sun Jun 25 08:00:01 2006 UTC (5 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6
Changes since 1.268: +3 -0
lines
Diff to previous 1.268 (colored)
1. implement solaris-like vmem. (still primitive, though) 2. implement solaris-like kmem_alloc/free api, using #1. (note: this implementation is backed by kernel_map, thus can't be used from interrupt context.)
Revision 1.248.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:37 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.248: +48 -155
lines
Diff to previous 1.248 (colored)
sync with head.
Revision 1.266.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:07:15 2006 UTC (5 years, 11 months ago) by chap
Branch: chap-midi
Changes since 1.266: +27 -7
lines
Diff to previous 1.266 (colored) next main 1.267 (colored)
Sync with head.
Revision 1.268 / (download) - annotate - [select for diffs], Fri Jun 9 22:47:56 2006 UTC (5 years, 11 months ago) by kardel
Branch: MAIN
CVS Tags: gdamore-uart-base,
chap-midi-nbase,
chap-midi-base
Branch point for: gdamore-uart
Changes since 1.267: +3 -2
lines
Diff to previous 1.267 (colored)
re-order initialization sequence to have real counters available during autoconfig
Revision 1.267 / (download) - annotate - [select for diffs], Wed Jun 7 22:33:39 2006 UTC (5 years, 11 months ago) by kardel
Branch: MAIN
Changes since 1.266: +26 -7
lines
Diff to previous 1.266 (colored)
merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
time.tv_sec -> time_second
- struct timeval mono_time is gone
mono_time.tv_sec -> time_uptime
- access to time via
{get,}{micro,nano,bin}time()
get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
Revision 1.261.6.4 / (download) - annotate - [select for diffs], Thu Jun 1 23:21:08 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.261.6.3: +9 -8
lines
Diff to previous 1.261.6.3 (colored) next main 1.262 (colored)
initialize ntp variables before timing code would reference them
Revision 1.261.6.3 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:06 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
Changes since 1.261.6.2: +6 -2
lines
Diff to previous 1.261.6.2 (colored)
Sync with head.
Revision 1.263.4.2 / (download) - annotate - [select for diffs], Wed May 24 15:50:40 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.263.4.1: +4 -1
lines
Diff to previous 1.263.4.1 (colored) to branchpoint 1.263 (colored) next main 1.264 (colored)
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.262.2.4 / (download) - annotate - [select for diffs], Wed May 24 10:58:40 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.262.2.3: +6 -2
lines
Diff to previous 1.262.2.3 (colored) to branchpoint 1.262 (colored)
sync with head.
Revision 1.266 / (download) - annotate - [select for diffs], Sun May 14 21:15:11 2006 UTC (6 years ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5,
simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.265: +6 -2
lines
Diff to previous 1.265 (colored)
integrate kauth.
Revision 1.261.6.2 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:58 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.261.6.1: +2 -12
lines
Diff to previous 1.261.6.1 (colored)
Sync with head.
Revision 1.263.2.3 / (download) - annotate - [select for diffs], Wed Apr 19 05:13:59 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.263.2.2: +2 -4
lines
Diff to previous 1.263.2.2 (colored) to branchpoint 1.263 (colored) next main 1.264 (colored)
sync with head.
Revision 1.262.2.3 / (download) - annotate - [select for diffs], Tue Apr 11 11:55:47 2006 UTC (6 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.262.2.2: +2 -3
lines
Diff to previous 1.262.2.2 (colored) to branchpoint 1.262 (colored)
sync with head
Revision 1.265 / (download) - annotate - [select for diffs], Mon Apr 10 11:16:22 2006 UTC (6 years, 1 month ago) by onoe
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4,
elad-kernelauth-base
Changes since 1.264: +2 -3
lines
Diff to previous 1.264 (colored)
Move "opt_maxuprc.h" from init_main.c to kern_proc.c, as the definition of maxuprc has been moved to kern_proc.c (rev. 1.80).
Revision 1.262.2.2 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:39 2006 UTC (6 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.262.2.1: +2 -3
lines
Diff to previous 1.262.2.1 (colored) to branchpoint 1.262 (colored)
sync with head.
Revision 1.263.4.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:27 2006 UTC (6 years, 1 month ago) by tron
Branch: peter-altq
Changes since 1.263: +2 -3
lines
Diff to previous 1.263 (colored)
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
Revision 1.264 / (download) - annotate - [select for diffs], Thu Mar 30 17:40:58 2006 UTC (6 years, 1 month ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base3
Changes since 1.263: +2 -3
lines
Diff to previous 1.263 (colored)
Remove useless whitepsace. This commit is dedicated to Dan Langille.
Revision 1.262.2.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:32 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.262: +2 -6
lines
Diff to previous 1.262 (colored)
sync with head.
Revision 1.263.2.2 / (download) - annotate - [select for diffs], Wed Mar 8 00:53:40 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.263.2.1: +681 -0
lines
Diff to previous 1.263.2.1 (colored) to branchpoint 1.263 (colored)
Adapt to kernel authorization KPI.
Revision 1.263.2.1, Tue Mar 7 03:32:06 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.263: +0 -677
lines
FILE REMOVED
file init_main.c was added on branch elad-kernelauth on 2006-03-08 00:53:40 +0000
Revision 1.263 / (download) - annotate - [select for diffs], Tue Mar 7 03:32:06 2006 UTC (6 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2,
peter-altq-base
Branch point for: peter-altq,
elad-kernelauth
Changes since 1.262: +2 -6
lines
Diff to previous 1.262 (colored)
Clean up fallout proc_is_traced_p() change: - proc_is_traced_p() -> trace_is_enabled(), to match trace_enter() and trace_exit(). - trace_is_enabled() becomes a real function. - Remove unnecessary include files from various files that used to care about KTRACE and SYSTRACE, but do no more.
Revision 1.261.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:18 2006 UTC (6 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.261: +2 -6
lines
Diff to previous 1.261 (colored) next main 1.262 (colored)
sync with head.
Revision 1.262 / (download) - annotate - [select for diffs], Sun Feb 12 01:32:06 2006 UTC (6 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Changes since 1.261: +2 -6
lines
Diff to previous 1.261 (colored)
convert "magiclinks" from a per-fs mount option to a system-wide sysctl. as discussed on tech-kern quite some time ago.
Revision 1.261.6.1 / (download) - annotate - [select for diffs], Sat Feb 4 14:37:37 2006 UTC (6 years, 3 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.261: +26 -8
lines
Diff to previous 1.261 (colored)
Adjust for timecounters, call ntp_init().
Revision 1.244.6.6 / (download) - annotate - [select for diffs], Fri Jan 20 20:48:41 2006 UTC (6 years, 4 months ago) by riz
Branch: netbsd-3
CVS Tags: 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
Changes since 1.244.6.5: +2 -6
lines
Diff to previous 1.244.6.5 (colored) to branchpoint 1.244 (colored) next main 1.245 (colored)
Back out tickets 490, 559, and 560, which added "magic symlinks", at the request of chs@ (thorpej@ concurs), as there is consensus that this should be changed to a system-wide tunable, rather than a mount option.
Revision 1.244.6.5 / (download) - annotate - [select for diffs], Thu Dec 29 00:57:09 2005 UTC (6 years, 4 months ago) by riz
Branch: netbsd-3
Changes since 1.244.6.4: +6 -2
lines
Diff to previous 1.244.6.4 (colored) to branchpoint 1.244 (colored)
Pull up following revision(s) (requested by thorpej in ticket #490): lib/libc/sys/mount.2: revision 1.33 sys/sys/systm.h: revision 1.179 sys/sys/fstypes.h: revision 1.4 include/mntopts.h: revision 1.6 sys/conf/newvers.sh: revision 1.41 sys/kern/vfs_syscalls.c: revision 1.223 sys/conf/files: revision 1.720 sys/kern/vfs_lookup.c: revision 1.61 share/man/man7/symlink.7: revision 1.7 sbin/mount/mount.8: revision 1.47 sys/kern/init_main.c: revision 1.248 via patch share/man/man4/options.4: revision 1.280 via patch Implement expansion of special "magic" strings in symlinks into system-specific values. Submitted by Chris Demetriou in Nov 1995 (!) in PR kern/1781, modified only slighly by me. This is enabled on a per-mount basis with the MNT_MAGICLINKS mount flag. It can be enabled at mountroot() time by building the kernel with the ROOTFS_MAGICLINKS option. The following magic strings are supported by the implementation: @machine value of MACHINE for the system @machine_arch value of MACHINE_ARCH for the system @hostname the system host name, as set with sethostname() @domainname the system domain name, as set with setdomainname() @kernel_ident the kernel config file name @osrelease the releaes number of the OS @ostype the name of the OS (always "NetBSD" for NetBSD) Example usage: mkdir /arch/i386/bin mkdir /arch/sparc/bin ln -s /arch/@machine_arch/bin /bin
Revision 1.261 / (download) - annotate - [select for diffs], Sat Dec 24 19:12:23 2005 UTC (6 years, 5 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Changes since 1.260: +3 -3
lines
Diff to previous 1.260 (colored)
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Revision 1.260 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:29 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.259: +7 -7
lines
Diff to previous 1.259 (colored)
merge ktrace-lwp.
Revision 1.221.2.10 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:11 2005 UTC (6 years, 5 months ago) by christos
Branch: ktrace-lwp
Changes since 1.221.2.9: +3 -28
lines
Diff to previous 1.221.2.9 (colored) next main 1.222 (colored)
Sync with head.
Revision 1.251.6.2 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:29 2005 UTC (6 years, 5 months ago) by yamt
Branch: yamt-readahead
Changes since 1.251.6.1: +2 -34
lines
Diff to previous 1.251.6.1 (colored) to branchpoint 1.251 (colored) next main 1.252 (colored)
sync with head.
Revision 1.259 / (download) - annotate - [select for diffs], Sun Nov 27 05:35:52 2005 UTC (6 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-readahead-base3,
ktrace-lwp-base
Changes since 1.258: +2 -3
lines
Diff to previous 1.258 (colored)
Overhaul how TTY line disciplines are handled:
- Replace references to linesw[0] with a ttyldisc_default() function
that returns the default ("termios") line discipline.
- The linesw[] array is gone, replaced by a linked list.
- ttyldisc_add() and ttyldisc_remove() have been replaced by
ttyldisc_attach() and ttyldisc_detach().
- Things that provide line disciplines are now responsible for
registering those disciplines with the system. The linesw
structures are no longer declared in tty_conf.c
- Line disciplines are now refcounted; a lookup causes a reference to
be held. ttyldisc_release() releases the reference. Attempts to
detach an in-use line discipline result in EBUSY.
- Fix function signature lossage in if_sl.c, if_strip.c, and tty_tb.c
that was masked by the old tty_conf.c
- tty_init() is no longer necessary; delete it and its call from main().
Revision 1.258 / (download) - annotate - [select for diffs], Fri Nov 25 20:32:32 2005 UTC (6 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.257: +2 -6
lines
Diff to previous 1.257 (colored)
Statically initalize the systrace lock. systrace_init() is now not needed on NetBSD. Remove the call from main().
Revision 1.257 / (download) - annotate - [select for diffs], Fri Nov 25 20:13:54 2005 UTC (6 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.256: +2 -7
lines
Diff to previous 1.256 (colored)
Use a once control to initialize the LKM subsystem on first open. Remove the lkm_init() call from main().
Revision 1.256 / (download) - annotate - [select for diffs], Fri Nov 25 20:01:38 2005 UTC (6 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.255: +2 -10
lines
Diff to previous 1.255 (colored)
Use a once control to initialize the NFS server / client shared data from nfs_vfs_init() or sys_nfssvc(). Remove the nfs_init() call from main().
Revision 1.255 / (download) - annotate - [select for diffs], Fri Nov 25 17:33:56 2005 UTC (6 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.254: +2 -8
lines
Diff to previous 1.254 (colored)
Use a once control to call initialize the 802.11 layer when ieee80211_ifattach() is called. "wlan" no longer needs-flag, and remove the ieee80211_init() call from main().
Revision 1.254 / (download) - annotate - [select for diffs], Fri Nov 25 16:16:46 2005 UTC (6 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.253: +2 -10
lines
Diff to previous 1.253 (colored)
- De-couple the software crypto implementation from the rest of the framework. There is no need to waste the space if you are only using algoritms provided by hardware accelerators. To get the software implementations, add "pseudo-device swcr" to your kernel config. - Lazily initialize the opencrypto framework when crypto drivers (either hardware or swcr) register themselves with the framework.
Revision 1.251.6.1 / (download) - annotate - [select for diffs], Tue Nov 22 16:08:15 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-readahead
Changes since 1.251: +9 -2
lines
Diff to previous 1.251 (colored)
sync with head.
Revision 1.253 / (download) - annotate - [select for diffs], Fri Nov 18 21:55:14 2005 UTC (6 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: yamt-readahead-base2
Changes since 1.252: +5 -2
lines
Diff to previous 1.252 (colored)
Only call ieee80211_init() in kernels that include some wlan stuff.
Revision 1.252 / (download) - annotate - [select for diffs], Fri Nov 18 16:40:08 2005 UTC (6 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.251: +6 -2
lines
Diff to previous 1.251 (colored)
Resolve conflicts and adapt to NetBSD. Thanks to dyoung@, scw@, and perry@ for help testing. 2005-08-30 15:27 avatar Properly set ic_curchan before calling back to device driver to do channel switching(ifconfig devX channel Y). This fix should make channel changing works again in monitor mode. Submitted by: sam X-MFC-With: other ic_curchan changes 2005-08-13 18:50 sam revert 1.64: we cannot use the channel characteristics to decide when to do 11g erp sta accounting because b/g channels show up as false positives when operating in 11b. Noticed by: Michal Mertl 2005-08-13 18:31 sam Extend acl support to pass ioctl requests through and use this to add support for getting the current policy setting and collecting the list of mac addresses in the acl table. Submitted by: Michal Mertl (original version) MFC after: 2 weeks 2005-08-10 18:42 sam Don't use ic_curmode to decide when to do 11g station accounting, use the station channel properties. Fixes assert failure/bogus operation when an ap is operating in 11a and has associated stations then switches to 11g. Noticed by: Michal Mertl Reviewed by: avatar MFC after: 2 weeks 2005-08-10 17:22 sam Clarify/fix handling of the current channel: o add ic_curchan and use it uniformly for specifying the current channel instead of overloading ic->ic_bss->ni_chan (or in some drivers ic_ibss_chan) o add ieee80211_scanparams structure to encapsulate scanning-related state captured for rx frames o move rx beacon+probe response frame handling into separate routines o change beacon+probe response handling to treat the scan table more like a scan cache--look for an existing entry before adding a new one; this combined with ic_curchan use corrects handling of stations that were previously found at a different channel o move adhoc neighbor discovery by beacon+probe response frames to a new ieee80211_add_neighbor routine Reviewed by: avatar Tested by: avatar, Michal Mertl MFC after: 2 weeks 2005-08-09 11:19 rwatson Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and IFF_DRV_RUNNING, as well as the move from ifnet.if_flags to ifnet.if_drv_flags. Device drivers are now responsible for synchronizing access to these flags, as they are in if_drv_flags. This helps prevent races between the network stack and device driver in maintaining the interface flags field. Many __FreeBSD__ and __FreeBSD_version checks maintained and continued; some less so. Reviewed by: pjd, bz MFC after: 7 days 2005-08-08 19:46 sam Split crypto tx+rx key indices and add a key index -> node mapping table: Crypto changes: o change driver/net80211 key_alloc api to return tx+rx key indices; a driver can leave the rx key index set to IEEE80211_KEYIX_NONE or set it to be the same as the tx key index (the former disables use of the key index in building the keyix->node mapping table and is the default setup for naive drivers by null_key_alloc) o add cs_max_keyid to crypto state to specify the max h/w key index a driver will return; this is used to allocate the key index mapping table and to bounds check table loookups o while here introduce ieee80211_keyix (finally) for the type of a h/w key index o change crypto notifiers for rx failures to pass the rx key index up as appropriate (michael failure, replay, etc.) Node table changes: o optionally allocate a h/w key index to node mapping table for the station table using the max key index setting supplied by drivers (note the scan table does not get a map) o defer node table allocation to lateattach so the driver has a chance to set the max key id to size the key index map o while here also defer the aid bitmap allocation o add new ieee80211_find_rxnode_withkey api to find a sta/node entry on frame receive with an optional h/w key index to use in checking mapping table; also updates the map if it does a hash lookup and the found node has a rx key index set in the unicast key; note this work is separated from the old ieee80211_find_rxnode call so drivers do not need to be aware of the new mechanism o move some node table manipulation under the node table lock to close a race on node delete o add ieee80211_node_delucastkey to do the dirty work of deleting unicast key state for a node (deletes any key and handles key map references) Ath driver: o nuke private sc_keyixmap mechansim in favor of net80211 support o update key alloc api These changes close several race conditions for the ath driver operating in ap mode. Other drivers should see no change. Station mode operation for ath no longer uses the key index map but performance tests show no noticeable change and this will be fixed when the scan table is eliminated with the new scanning support. Tested by: Michal Mertl, avatar, others Reviewed by: avatar, others MFC after: 2 weeks 2005-08-08 06:49 sam use ieee80211_iterate_nodes to retrieve station data; the previous code walked the list w/o locking MFC after: 1 week 2005-08-08 04:30 sam Cleanup beacon/listen interval handling: o separate configured beacon interval from listen interval; this avoids potential use of one value for the other (e.g. setting powersavesleep to 0 clobbers the beacon interval used in hostap or ibss mode) o bounds check the beacon interval received in probe response and beacon frames and drop frames with bogus settings; not clear if we should instead clamp the value as any alteration would result in mismatched sta+ap configuration and probably be more confusing (don't want to log to the console but perhaps ok with rate limiting) o while here up max beacon interval to reflect WiFi standard Noticed by: Martin <nakal@nurfuerspam.de> MFC after: 1 week 2005-08-06 05:57 sam fix debug msg typo MFC after: 3 days 2005-08-06 05:56 sam Fix handling of frames sent prior to a station being authorized when operating in ap mode. Previously we allocated a node from the station table, sent the frame (using the node), then released the reference that "held the frame in the table". But while the frame was in flight the node might be reclaimed which could lead to problems. The solution is to add an ieee80211_tmp_node routine that crafts a node that does exist in a table and so isn't ever reclaimed; it exists only so long as the associated frame is in flight. MFC after: 5 days 2005-07-31 07:12 sam close a race between reclaiming a node when a station is inactive and sending the null data frame used to probe inactive stations MFC after: 5 days 2005-07-27 05:41 sam when bridging internally bypass the bss node as traffic to it must follow the normal input path Submitted by: Michal Mertl MFC after: 5 days 2005-07-27 03:53 sam bandaid ni_fails handling so ap's with association failures are reconsidered after a bit; a proper fix involves more changes to the scanning infrastructure Reviewed by: avatar, David Young MFC after: 5 days 2005-07-23 01:16 sam the AREF flag is only meaningful in ap mode; adhoc neighbors now are timed out of the sta/neighbor table 2005-07-23 00:25 sam o move inactivity-related debug msgs under IEEE80211_MSG_INACT o probe inactive neighbors in adhoc mode (they don't have an association id so previously were being timed out) MFC after: 3 days 2005-07-22 22:11 sam split xmit of probe request frame out into a separate routine that takes explicit parameters; this will be needed when scanning is decoupled from the state machine to do bg scanning MFC after: 3 days 2005-07-22 21:48 sam split 802.11 frame xmit setup code into ieee80211_send_setup MFC after: 3 days 2005-07-22 18:57 sam simplify ic_newassoc callback MFC after: 3 days 2005-07-22 18:54 sam simplify ieee80211_ibss_merge api MFC after: 3 days 2005-07-22 18:50 sam add stats we know we'll need soon and some spare fields for future expansion MFC after: 3 days 2005-07-22 18:45 sam simplify tim callback api MFC after: 3 days 2005-07-22 18:42 sam don't include 802.3 header in min frame length calculation as it may not be present for a frag; fixes problem with small (fragmented) frames being dropped Obtained from: Atheros MFC after: 3 days 2005-07-22 18:36 sam simplify ieee80211_node_authorize and ieee80211_node_unauthorize api's MFC after: 3 days 2005-07-22 18:31 sam simplifiy ieee80211_send_nulldata api MFC after: 3 days 2005-07-22 18:29 sam simplify rate set api's by removing ic parameter (implicit in node reference) MFC after: 3 days 2005-07-22 18:21 sam reject association requests with a wpa/rsn ie when wpa/rsn is not configured on the ap; previously we either ignored the ie or (possibly) failed an assertion Obtained from: Atheros MFC after: 3 days 2005-07-22 18:16 sam missed one in last commit; add device name to discard msgs 2005-07-22 18:13 sam include device name in discard msgs 2005-07-22 18:12 sam add diag msgs for frames discarded because the direction field is wrong 2005-07-22 18:08 sam split data frame delivery out to a new function ieee80211_deliver_data 2005-07-22 18:00 sam o add IEEE80211_IOC_FRAGTHRESHOLD for getting+setting the tx fragmentation threshold o fix bounds checking on IEEE80211_IOC_RTSTHRESHOLD MFC after: 3 days 2005-07-22 17:55 sam o add IEEE80211_FRAG_DEFAULT o move default settings for RTS and frag thresholds to ieee80211_var.h 2005-07-22 17:50 sam diff reduction against p4: define IEEE80211_FIXED_RATE_NONE and use it instead of -1 2005-07-22 17:37 sam add flags missed in last merge 2005-07-22 17:36 sam Diff reduction against p4: o add ic_flags_ext for eventual extention of ic_flags o define/reserve flag+capabilities bits for superg, bg scan, and roaming support o refactor debug msg macros MFC after: 3 days 2005-07-22 06:17 sam send a response when an auth request is denied due to an acl; might be better to silently ignore the frame but this way we give stations a chance of figuring out what's wrong 2005-07-22 06:15 sam remove excess whitespace 2005-07-22 05:55 sam use IF_HANDOFF when bridging frames internally so if_start gets called; fixes communication between associated sta's MFC after: 3 days 2005-07-11 04:06 sam Handle encrypt of arbitarily fragmented mbuf chains: previously we bailed if we couldn't collect the 16-bytes of data required for an aes block cipher in 2 mbufs; now we deal with it. While here make space accounting signed so a sanity check does the right thing for malformed mbuf chains. Approved by: re (scottl) 2005-07-11 04:00 sam nuke assert that duplicates real check Reviewed by: avatar Approved by: re (scottl)
Revision 1.221.2.9 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:44 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.221.2.8: +32 -113
lines
Diff to previous 1.221.2.8 (colored)
Sync with HEAD. Here we go again...
Revision 1.244.6.4 / (download) - annotate - [select for diffs], Thu Sep 8 21:06:30 2005 UTC (6 years, 8 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.244.6.3: +3 -2
lines
Diff to previous 1.244.6.3 (colored) to branchpoint 1.244 (colored)
Apply patch (requested by elad in ticket #740): Defopt VERIFIED_EXEC.
Revision 1.244.6.3 / (download) - annotate - [select for diffs], Tue Aug 23 14:45:20 2005 UTC (6 years, 9 months ago) by tron
Branch: netbsd-3
Changes since 1.244.6.2: +2 -3
lines
Diff to previous 1.244.6.2 (colored) to branchpoint 1.244 (colored)
Backout ticket 685. It causes build failures.
Revision 1.244.6.2 / (download) - annotate - [select for diffs], Tue Aug 23 13:43:53 2005 UTC (6 years, 9 months ago) by tron
Branch: netbsd-3
Changes since 1.244.6.1: +1 -0
lines
Diff to previous 1.244.6.1 (colored) to branchpoint 1.244 (colored)
Pull up revision 1.250 (requested by elad in ticket #685): defopt verified_exec.
Revision 1.251 / (download) - annotate - [select for diffs], Fri Aug 5 11:03:18 2005 UTC (6 years, 9 months ago) by junyoung
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-readahead
Changes since 1.250: +11 -109
lines
Diff to previous 1.250 (colored)
Move proc0 initialization from main() in init_main.c and proc0_insert() in kern_proc.c into a new function proc0_init() in kern_proc.c, as suggested on tech-kern@ days ago.
Revision 1.250 / (download) - annotate - [select for diffs], Sat Jul 16 22:47:18 2005 UTC (6 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.249: +3 -2
lines
Diff to previous 1.249 (colored)
defopt verified_exec.
Revision 1.249 / (download) - annotate - [select for diffs], Fri Jul 15 03:59:31 2005 UTC (6 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.248: +3 -2
lines
Diff to previous 1.248 (colored)
White space KNF nit.
Revision 1.248 / (download) - annotate - [select for diffs], Thu Jun 23 00:30:28 2005 UTC (6 years, 11 months ago) by thorpej
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.247: +6 -2
lines
Diff to previous 1.247 (colored)
Implement expansion of special "magic" strings in symlinks into system-specific values. Submitted by Chris Demetriou in Nov 1995 (!) in PR kern/1781, modified only slighly by me. This is enabled on a per-mount basis with the MNT_MAGICLINKS mount flag. It can be enabled at mountroot() time by building the kernel with the ROOTFS_MAGICLINKS option. The following magic strings are supported by the implementation: @machine value of MACHINE for the system @machine_arch value of MACHINE_ARCH for the system @hostname the system host name, as set with sethostname() @domainname the system domain name, as set with setdomainname() @kernel_ident the kernel config file name @osrelease the releaes number of the OS @ostype the name of the OS (always "NetBSD" for NetBSD) Example usage: mkdir /arch/i386/bin mkdir /arch/sparc/bin ln -s /arch/@machine_arch/bin /bin
Revision 1.244.6.1 / (download) - annotate - [select for diffs], Fri Jun 10 14:48:43 2005 UTC (6 years, 11 months ago) by tron
Branch: netbsd-3
Changes since 1.244: +14 -2
lines
Diff to previous 1.244 (colored)
Pull up revision 1.245 (requested by elad in ticket #389): Rototill of the verified exec functionality. * We now use hash tables instead of a list to store the in kernel fingerprints. * Fingerprint methods handling has been made more flexible, it is now even simpler to add new methods. * the loader no longer passes in magic numbers representing the fingerprint method so veriexecctl is not longer kernel specific. * fingerprint methods can be tailored out using options in the kernel config file. * more fingerprint methods added - rmd160, sha256/384/512 * veriexecctl can now report the fingerprint methods supported by the running kernel. * regularised the naming of some portions of veriexec.
Revision 1.247 / (download) - annotate - [select for diffs], Sun May 29 22:24:14 2005 UTC (6 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.246: +6 -6
lines
Diff to previous 1.246 (colored)
- add const. - remove unnecessary casts. - add __UNCONST casts and mark them with XXXUNCONST as necessary.
Revision 1.243.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:23 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.243: +14 -6
lines
Diff to previous 1.243 (colored) next main 1.244 (colored)
sync with -current
Revision 1.246 / (download) - annotate - [select for diffs], Mon Apr 25 15:02:07 2005 UTC (7 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.245: +2 -3
lines
Diff to previous 1.245 (colored)
Move the MI printing of `copyright' to the MD cpu_startup() code where the printing of `version' is already performed. This has the benefit of allowing the copyright to be available via dmesg(8) on platforms which need the `msgbuf' to be setup in cpu_startup() before printed output is remembered.
Revision 1.245 / (download) - annotate - [select for diffs], Wed Apr 20 13:44:46 2005 UTC (7 years, 1 month ago) by blymn
Branch: MAIN
Changes since 1.244: +14 -2
lines
Diff to previous 1.244 (colored)
Rototill of the verified exec functionality.
* We now use hash tables instead of a list to store the in kernel
fingerprints.
* Fingerprint methods handling has been made more flexible, it is now
even simpler to add new methods.
* the loader no longer passes in magic numbers representing the
fingerprint method so veriexecctl is not longer kernel specific.
* fingerprint methods can be tailored out using options in the kernel
config file.
* more fingerprint methods added - rmd160, sha256/384/512
* veriexecctl can now report the fingerprint methods supported by the
running kernel.
* regularised the naming of some portions of veriexec.
Revision 1.221.2.8 / (download) - annotate - [select for diffs], Mon Jan 24 08:35:36 2005 UTC (7 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.221.2.7: +2 -5
lines
Diff to previous 1.221.2.7 (colored)
Sync with HEAD.
Revision 1.244 / (download) - annotate - [select for diffs], Sun Jan 23 19:02:02 2005 UTC (7 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
netbsd-3-base,
matt-timespec
Branch point for: netbsd-3
Changes since 1.243: +2 -5
lines
Diff to previous 1.243 (colored)
move the call to link_pool_init() to the end of uvm_init(). needed for sun3.
Revision 1.221.2.7 / (download) - annotate - [select for diffs], Mon Jan 17 19:32:25 2005 UTC (7 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.221.2.6: +5 -4
lines
Diff to previous 1.221.2.6 (colored)
Sync with HEAD.
Revision 1.243 / (download) - annotate - [select for diffs], Sun Jan 9 03:11:48 2005 UTC (7 years, 4 months ago) by mycroft
Branch: MAIN
CVS Tags: kent-audio1-beforemerge
Branch point for: kent-audio2
Changes since 1.242: +5 -4
lines
Diff to previous 1.242 (colored)
Rework the mountroot interface so that vfs_mountroot() opens the root device and just passes it on to the file system functions. This avoids opening and closing the device several times. Mentioned on tech-kern some time ago, IIRC. I've been running this for a long time.
Revision 1.221.2.6 / (download) - annotate - [select for diffs], Tue Oct 19 15:58:02 2004 UTC (7 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.221.2.5: +3 -4
lines
Diff to previous 1.221.2.5 (colored)
Sync with HEAD
Revision 1.242 / (download) - annotate - [select for diffs], Fri Oct 15 07:22:02 2004 UTC (7 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kent-audio1-base,
kent-audio1
Changes since 1.241: +2 -3
lines
Diff to previous 1.241 (colored)
No longer need <sys/disk.h>
Revision 1.241 / (download) - annotate - [select for diffs], Fri Oct 15 07:19:01 2004 UTC (7 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.240: +2 -3
lines
Diff to previous 1.240 (colored)
- Eliminate the need to call disk_init(). - disk_count needs to be protected with disklist_slock, too.
Revision 1.240 / (download) - annotate - [select for diffs], Fri Oct 1 16:30:52 2004 UTC (7 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.239: +3 -2
lines
Diff to previous 1.239 (colored)
introduce a function, proclist_foreach_call, to iterate all procs on a proclist and call the specified function for each of them. primarily to fix a procfs locking problem, but i think that it's useful for others as well. while i'm here, introduce PROCLIST_FOREACH macro, which is similar to LIST_FOREACH but skips marker entries which are used by proclist_foreach_call.
Revision 1.221.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:03 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.221.2.4: +7 -7
lines
Diff to previous 1.221.2.4 (colored)
Fix the sync with head I botched.
Revision 1.221.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:02 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.221.2.3: +7 -7
lines
Diff to previous 1.221.2.3 (colored)
Sync with HEAD.
Revision 1.221.2.3 / (download) - annotate - [select for diffs], Tue Aug 24 17:57:37 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.221.2.2: +3 -3
lines
Diff to previous 1.221.2.2 (colored)
Undo part of the ktrace/lwp changes. In particular: * Remove the "lwp *" argument that was added to vget(). Turns out that nothing actually used it! * Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(), and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted above, didn't use it). * Remove all of the "lwp *" arguments to internal functions that were added just to appease the above.
Revision 1.221.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:43 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.221.2.1: +87 -37
lines
Diff to previous 1.221.2.1 (colored)
Sync with HEAD
Revision 1.239 / (download) - annotate - [select for diffs], Mon Jul 5 07:28:45 2004 UTC (7 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.238: +16 -2
lines
Diff to previous 1.238 (colored)
Call inittodr() from main(). Let file system code set the recorded `last update' time (if any) through the new function setrootfstime().
Revision 1.238 / (download) - annotate - [select for diffs], Thu Jun 3 20:35:30 2004 UTC (7 years, 11 months ago) by nathanw
Branch: MAIN
Changes since 1.237: +3 -2
lines
Diff to previous 1.237 (colored)
Initialize simple_lock in struct cwd; otherwise, one gets an uninitialized lock panic at the first use of cwdshare().
Revision 1.237 / (download) - annotate - [select for diffs], Thu May 6 22:20:30 2004 UTC (8 years ago) by pk
Branch: MAIN
Changes since 1.236: +3 -2
lines
Diff to previous 1.236 (colored)
Provide a mutex for the process limits data structure.
Revision 1.236 / (download) - annotate - [select for diffs], Sun Apr 25 16:42:41 2004 UTC (8 years, 1 month ago) by simonb
Branch: MAIN
Changes since 1.235: +6 -14
lines
Diff to previous 1.235 (colored)
Initialise (most) pools from a link set instead of explicit calls to pool_init. Untouched pools are ones that either in arch-specific code, or aren't initialiased during initial system startup. Convert struct session, ucred and lockf to pools.
Revision 1.235 / (download) - annotate - [select for diffs], Sun Mar 28 22:43:56 2004 UTC (8 years, 1 month ago) by matt
Branch: 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
Changes since 1.234: +5 -2
lines
Diff to previous 1.234 (colored)
Make kernel continuations optional for now.
Revision 1.234 / (download) - annotate - [select for diffs], Sat Mar 27 00:42:38 2004 UTC (8 years, 2 months ago) by jonathan
Branch: MAIN
Changes since 1.233: +6 -2
lines
Diff to previous 1.233 (colored)
Use proper NetBSD conventions for deferred kthread creation, not the other semantics from an earlier incarnation. Call kcont_init() from init_main before device autoconfiguration, so kcont is availble to device drivers if required. Also ensure the kthread process runs any pending continuations once the kthread is finally up and running. For now, use a non-null timeout to poll the queue periodically. Draining any pending requests just before the kthread enters its ltsleep()/kc_run loop is cleaner, but this is the version I tested with an early-in-boot kcont request.)
Revision 1.233 / (download) - annotate - [select for diffs], Tue Mar 9 02:35:45 2004 UTC (8 years, 2 months ago) by junyoung
Branch: MAIN
Changes since 1.232: +6 -6
lines
Diff to previous 1.232 (colored)
Whitespaces.
Revision 1.232 / (download) - annotate - [select for diffs], Fri Jan 9 00:04:53 2004 UTC (8 years, 4 months ago) by tls
Branch: MAIN
Changes since 1.231: +4 -4
lines
Diff to previous 1.231 (colored)
Bump default size of vnode cache to 1% of physical memory, instead of 0.5%, based on some quick measurements on a number of workstations and small fileservers (including my home fileserver running simultaneous builds of the NetBSD source tree and several NetBSD kernels). This brings the hit rate on my machines from below 70% to above 90%. We should be able to tune this as we run, by tracking the hit rate and increasing the size of the cache if memory permits. Some systems will still require significantly larger cache sizes. Some ports -- notably the 64-bit ones -- probably should use more than 1% of physmem as the default due to the larger size of struct vnode.
Revision 1.231 / (download) - annotate - [select for diffs], Mon Jan 5 03:33:06 2004 UTC (8 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.230: +2 -9
lines
Diff to previous 1.230 (colored)
Store the copyright text in conf/copyright, and use conf/newvers.sh to generate the appropriate const char copyright[] = "..."; statement instead of hard coding it into kern/init_main.c. Idea from Simon Burge.
Revision 1.230 / (download) - annotate - [select for diffs], Sun Jan 4 11:33:31 2004 UTC (8 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.229: +2 -6
lines
Diff to previous 1.229 (colored)
Rearrange process exit path to avoid need to free resources from different
process context ('reaper').
From within the exiting process context:
* deactivate pmap and free vmspace while we can still block
* introduce MD cpu_lwp_free() - this cleans all MD-specific context (such
as FPU state), and is the last potentially blocking operation;
all of cpu_wait(), and most of cpu_exit(), is now folded into cpu_lwp_free()
* process is now immediatelly marked as zombie and made available for pickup
by parent; the remaining last lwp continues the exit as fully detached
* MI (rather than MD) code bumps uvmexp.swtch, cpu_exit() is now same
for both 'process' and 'lwp' exit
uvm_lwp_exit() is modified to never block; the u-area memory is now
always just linked to the list of available u-areas. Introduce (blocking)
uvm_uarea_drain(), which is called to release the excessive u-area memory;
this is called by parent within wait4(), or by pagedaemon on memory shortage.
uvm_uarea_free() is now private function within uvm_glue.c.
MD process/lwp exit code now always calls lwp_exit2() immediatelly after
switching away from the exiting lwp.
g/c now unneeded routines and variables, including the reaper kernel thread
Revision 1.229 / (download) - annotate - [select for diffs], Thu Jan 1 00:00:05 2004 UTC (8 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.228: +3 -3
lines
Diff to previous 1.228 (colored)
Welcome to 2004!
Revision 1.228 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:23 2003 UTC (8 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.227: +5 -2
lines
Diff to previous 1.227 (colored)
Replace the traditional buffer memory management -- based on fixed per buffer virtual memory reservation and a private pool of memory pages -- by a scheme based on memory pools. This allows better utilization of memory because buffers can now be allocated with a granularity finer than the system's native page size (useful for filesystems with e.g. 1k or 2k fragment sizes). It also avoids fragmentation of virtual to physical memory mappings (due to the former fixed virtual address reservation) resulting in better utilization of MMU resources on some platforms. Finally, the scheme is more flexible by allowing run-time decisions on the amount of memory to be used for buffers. On the other hand, the effectiveness of the LRU queue for buffer recycling may be somewhat reduced compared to the traditional method since, due to the nature of the pool based memory allocation, the actual least recently used buffer may release its memory to a pool different from the one needed by a newly allocated buffer. However, this effect will kick in only if the system is under memory pressure.
Revision 1.227 / (download) - annotate - [select for diffs], Fri Nov 14 07:13:25 2003 UTC (8 years, 6 months ago) by jonathan
Branch: MAIN
Changes since 1.226: +3 -3
lines
Diff to previous 1.226 (colored)
include <sys/mbuf.h> before FAST_IPSEC-dependent headers.
Revision 1.226 / (download) - annotate - [select for diffs], Tue Nov 4 10:33:15 2003 UTC (8 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.225: +2 -3
lines
Diff to previous 1.225 (colored)
Remove p_nras from struct proc - use LIST_EMPTY(&p->p_raslist) instead. Remove p_raslock and rename p_lwplock p_lock (one lock is enough). Simplify window test when adding a ras and correct test on VM_MAXUSER_ADDRESS. Avoid unpredictable branch in i386 locore.S (pad fields left in struct proc to avoid kernel bump)
Revision 1.225 / (download) - annotate - [select for diffs], Sun Nov 2 16:42:22 2003 UTC (8 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.224: +5 -6
lines
Diff to previous 1.224 (colored)
use LIST_FOREACH() as appropriate
Revision 1.224 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:41 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.223: +32 -3
lines
Diff to previous 1.223 (colored)
Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.223 / (download) - annotate - [select for diffs], Wed Aug 6 20:30:38 2003 UTC (8 years, 9 months ago) by jonathan
Branch: MAIN
Changes since 1.222: +11 -2
lines
Diff to previous 1.222 (colored)
(FAST_IPSEC): Pull in option header-test for FAST_IPSEC (and IPSEC). If FAST_IPSEC is configured, attach fast-ipsec transforms after autoconfiguring devices (perhaps including crypto hardware) but before starting up network-device packet input.
Revision 1.222 / (download) - annotate - [select for diffs], Wed Jul 30 18:45:32 2003 UTC (8 years, 9 months ago) by jonathan
Branch: MAIN
Changes since 1.221: +10 -3
lines
Diff to previous 1.221 (colored)
Move the initialization of the crypto framework from the userland pseudo-device to init_main(), so the framework is ready for registration requests at autoconfiguration time. Thanks to Quentin Garnier for confirming the change was required, and for testing a similar fix.
Revision 1.221.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:35 2003 UTC (8 years, 10 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.221: +8 -8
lines
Diff to previous 1.221 (colored)
Apply the aborted ktrace-lwp changes to a specific branch. This is just for others to review, I'm concerned that patch fuziness may have resulted in some errant code being generated but I'll look at that later by comparing the diff from the base to the branch with the file I attempt to apply to it. This will, at the very least, put the changes in a better context for others to review them and attempt to tinker with removing passing of 'struct lwp' through the kernel.
Revision 1.221 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:17 2003 UTC (8 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.220: +7 -7
lines
Diff to previous 1.220 (colored)
Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
Revision 1.220 / (download) - annotate - [select for diffs], Sun Jun 29 18:43:28 2003 UTC (8 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.219: +3 -3
lines
Diff to previous 1.219 (colored)
Undo part of the ktrace/lwp changes. In particular: * Remove the "lwp *" argument that was added to vget(). Turns out that nothing actually used it! * Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(), and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted above, didn't use it). * Remove all of the "lwp *" arguments to internal functions that were added just to appease the above.
Revision 1.219 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:52 2003 UTC (8 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.218: +8 -8
lines
Diff to previous 1.218 (colored)
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed. Bump the kernel rev up to 1.6V
Revision 1.199.8.2 / (download) - annotate - [select for diffs], Mon Jun 2 09:29:21 2003 UTC (8 years, 11 months ago) by tron
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.199.8.1: +3 -3
lines
Diff to previous 1.199.8.1 (colored) to branchpoint 1.199 (colored) next main 1.200 (colored)
Pull up revision 1.215 (requested by fair in ticket #1303): Update copyright notice.
Revision 1.218 / (download) - annotate - [select for diffs], Wed Mar 19 11:36:32 2003 UTC (9 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.217: +3 -21
lines
Diff to previous 1.217 (colored)
Alternative pid/proc allocater, removes all searches associated with pid lookup and allocation, and any dependency on NPROC or MAXUSERS. NO_PID changed to -1 (and renamed NO_PGID) to remove artificial limit on PID_MAX. As discussed on tech-kern.
Revision 1.217 / (download) - annotate - [select for diffs], Mon Jan 20 20:02:56 2003 UTC (9 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.216: +12 -3
lines
Diff to previous 1.216 (colored)
add support for p1003.1b semaphores. From FreeBSD
Revision 1.216 / (download) - annotate - [select for diffs], Sat Jan 18 10:06:23 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.215: +39 -25
lines
Diff to previous 1.215 (colored)
Merge the nathanw_sa branch.
Revision 1.188.2.23 / (download) - annotate - [select for diffs], Fri Jan 3 17:10:39 2003 UTC (9 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.188.2.22: +3 -3
lines
Diff to previous 1.188.2.22 (colored) next main 1.189 (colored)
Sync with HEAD.
Revision 1.215 / (download) - annotate - [select for diffs], Wed Jan 1 00:00:13 2003 UTC (9 years, 4 months ago) by mycroft
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
fvdl_fs64_base
Changes since 1.214: +3 -3
lines
Diff to previous 1.214 (colored)
Update copyright notice.
Revision 1.188.2.22 / (download) - annotate - [select for diffs], Thu Dec 19 00:50:41 2002 UTC (9 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.188.2.21: +6 -4
lines
Diff to previous 1.188.2.21 (colored)
Sync with HEAD.
Revision 1.214.2.1 / (download) - annotate - [select for diffs], Wed Dec 18 01:06:04 2002 UTC (9 years, 5 months ago) by gmcgarry
Branch: gmcgarry_ucred
Changes since 1.214: +4 -5
lines
Diff to previous 1.214 (colored) next main 1.215 (colored)
Merge pcred and ucred, and poolify. TBD: check backward compatibility and factor-out some higher-level functionality.
Revision 1.199.8.1 / (download) - annotate - [select for diffs], Sun Dec 15 11:21:52 2002 UTC (9 years, 5 months ago) by jmc
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Changes since 1.199: +7 -5
lines
Diff to previous 1.199 (colored)
Pull up revisions 1.213-1.214 (requested by abs in ticket #1033) Allow NOFILE to be more easily overridden.
Revision 1.214 / (download) - annotate - [select for diffs], Wed Dec 11 23:23:45 2002 UTC (9 years, 5 months ago) by abs
Branch: MAIN
CVS Tags: gmcgarry_ucred_base,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw
Branch point for: gmcgarry_ucred
Changes since 1.213: +6 -4
lines
Diff to previous 1.213 (colored)
Define nofile and maxuprc variables (set to NOFILE and MAXUPRC), so they can be patched in a compiled kernel.
Revision 1.188.2.21 / (download) - annotate - [select for diffs], Wed Dec 11 06:43:01 2002 UTC (9 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.188.2.20: +23 -22
lines
Diff to previous 1.188.2.20 (colored)
Sync with HEAD.
Revision 1.213 / (download) - annotate - [select for diffs], Thu Dec 5 10:30:00 2002 UTC (9 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.212: +4 -3
lines
Diff to previous 1.212 (colored)
initialize uvm.aiodoned_proc.
Revision 1.212 / (download) - annotate - [select for diffs], Sun Nov 24 17:33:43 2002 UTC (9 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.211: +4 -3
lines
Diff to previous 1.211 (colored)
Add an EVCNT_ATTACH_STATIC() macro which gathers static evcnts into a link set, which are added to the list of event counters at boot time.
Revision 1.211 / (download) - annotate - [select for diffs], Sun Nov 17 22:53:46 2002 UTC (9 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.210: +21 -22
lines
Diff to previous 1.210 (colored)
add support for __MACHINE_STACK_GROWS_UP platforms. from fredette@
Revision 1.188.2.20 / (download) - annotate - [select for diffs], Mon Nov 11 22:13:31 2002 UTC (9 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.19: +12 -0
lines
Diff to previous 1.188.2.19 (colored)
Catch up to -current
Revision 1.210 / (download) - annotate - [select for diffs], Tue Nov 5 01:24:35 2002 UTC (9 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.209: +10 -2
lines
Diff to previous 1.209 (colored)
Add a new VM map, lkm_map, which machine-dependent code can provide in the event that it needs to use a special VM range (x86_64 falls into this category). We fall back onto kernel_map if machine-dependent code doesn't create a special map.
Revision 1.209 / (download) - annotate - [select for diffs], Wed Oct 23 09:14:12 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge
Changes since 1.208: +6 -2
lines
Diff to previous 1.208 (colored)
merge kqueue branch into -current kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2) based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
Revision 1.188.2.19 / (download) - annotate - [select for diffs], Fri Oct 18 02:44:50 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.18: +7 -1
lines
Diff to previous 1.188.2.18 (colored)
Catch up to -current.
Revision 1.192.2.8 / (download) - annotate - [select for diffs], Thu Oct 10 18:43:03 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.192.2.7: +12 -6
lines
Diff to previous 1.192.2.7 (colored) next main 1.193 (colored)
sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
Revision 1.208 / (download) - annotate - [select for diffs], Tue Oct 1 18:11:58 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge,
kqueue-base
Changes since 1.207: +9 -2
lines
Diff to previous 1.207 (colored)
Add a generic config finalization hook, to be called once all real devices have been discovered. All finalizer routines are iteratively invoked until all of them report that they have done no work. Use this hook to fix a latent bug in RAIDframe autoconfiguration of RAID sets exposed by the rework of SCSI device discovery.
Revision 1.207 / (download) - annotate - [select for diffs], Wed Sep 25 22:21:40 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.206: +2 -3
lines
Diff to previous 1.206 (colored)
Don't include <sys/map.h>.
Revision 1.188.2.18 / (download) - annotate - [select for diffs], Tue Sep 17 21:21:57 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.17: +7 -6
lines
Diff to previous 1.188.2.17 (colored)
Catch up to -current.
Revision 1.192.2.7 / (download) - annotate - [select for diffs], Fri Sep 6 08:47:40 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.192.2.6: +46 -10
lines
Diff to previous 1.192.2.6 (colored)
sync kqueue branch with HEAD
Revision 1.206 / (download) - annotate - [select for diffs], Wed Sep 4 01:32:31 2002 UTC (9 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.205: +5 -5
lines
Diff to previous 1.205 (colored)
Use the queue macros from <sys/queue.h> instead of referring to the queue members directly. Use *_FOREACH whenever possible.
Revision 1.205 / (download) - annotate - [select for diffs], Sat Aug 31 20:02:09 2002 UTC (9 years, 8 months ago) by sommerfeld
Branch: MAIN
Changes since 1.204: +6 -5
lines
Diff to previous 1.204 (colored)
Initialize proc0.p_raslock to avoid a lock assertion on the first fork().
Revision 1.199.6.3 / (download) - annotate - [select for diffs], Thu Aug 29 05:23:05 2002 UTC (9 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.199.6.2: +35 -7
lines
Diff to previous 1.199.6.2 (colored) to branchpoint 1.199 (colored) next main 1.200 (colored)
catch up with -current.
Revision 1.188.2.17 / (download) - annotate - [select for diffs], Tue Aug 27 23:47:21 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.16: +35 -7
lines
Diff to previous 1.188.2.16 (colored)
Catch up to -current.
Revision 1.204 / (download) - annotate - [select for diffs], Sun Aug 25 19:15:55 2002 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.203: +4 -3
lines
Diff to previous 1.203 (colored)
Fix a signed/unsigned comparison warning from GCC 3.3.
Revision 1.203 / (download) - annotate - [select for diffs], Sat Aug 24 00:47:17 2002 UTC (9 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.202: +3 -3
lines
Diff to previous 1.202 (colored)
only print "init: trying /some/init" if RB_ASKNAME or if it's not the first path we're trying. (the intent but not the behaviour of the previous rev.)
Revision 1.202 / (download) - annotate - [select for diffs], Fri Aug 23 06:17:08 2002 UTC (9 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.201: +33 -6
lines
Diff to previous 1.201 (colored)
in start_init(), if RB_ASKNAME is set in boothowto, ask for the path name to start up as init (rather than just cycling thru initpaths[] and panicing when out of options). if RB_ASKNAME isn't set, the old behaviour remains. inspired by changes in der Mouse's patchtree. resolves [kern/18027] from me.
Revision 1.188.2.16 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:12 2002 UTC (9 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.15: +2 -3
lines
Diff to previous 1.188.2.15 (colored)
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.188.2.15 / (download) - annotate - [select for diffs], Mon Jun 24 22:10:38 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.14: +6 -6
lines
Diff to previous 1.188.2.14 (colored)
Curproc->curlwp renaming. Change uses of "curproc->l_proc" back to "curproc", which is more like the original use. Bare uses of "curproc" are now "curlwp". "curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL) so that it is always safe to reference curproc (*de*referencing curproc is another story, but that's always been true).
Revision 1.192.2.6 / (download) - annotate - [select for diffs], Sun Jun 23 17:49:24 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.192.2.5: +3 -2
lines
Diff to previous 1.192.2.5 (colored)
catch up with -current on kqueue branch
Revision 1.199.6.2 / (download) - annotate - [select for diffs], Thu Jun 20 16:02:18 2002 UTC (9 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.199.6.1: +9 -2
lines
Diff to previous 1.199.6.1 (colored) to branchpoint 1.199 (colored)
catch up with -current.
Revision 1.188.2.14 / (download) - annotate - [select for diffs], Thu Jun 20 03:47:08 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.13: +10 -2
lines
Diff to previous 1.188.2.13 (colored)
Catch up to -current.
Revision 1.201 / (download) - annotate - [select for diffs], Mon Jun 17 16:22:50 2002 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.200: +9 -2
lines
Diff to previous 1.200 (colored)
Niels Provos systrace work, ported to NetBSD by kittenz and reworked...
Revision 1.199.6.1 / (download) - annotate - [select for diffs], Thu May 30 14:47:56 2002 UTC (9 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.199: +3 -2
lines
Diff to previous 1.199 (colored)
Catch up with -current.
Revision 1.188.2.13 / (download) - annotate - [select for diffs], Wed May 29 21:33:09 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.12: +3 -2
lines
Diff to previous 1.188.2.12 (colored)
#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.200 / (download) - annotate - [select for diffs], Mon May 27 13:46:45 2002 UTC (10 years ago) by itojun
Branch: MAIN
Changes since 1.199: +3 -2
lines
Diff to previous 1.199 (colored)
re-scan all ifnet after domaininit() for if_afdata initialization.
Revision 1.188.2.12 / (download) - annotate - [select for diffs], Tue Apr 23 19:19:57 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.11: +3 -2
lines
Diff to previous 1.188.2.11 (colored)
Initialize the l_lid field of lwp0.
Revision 1.188.2.11 / (download) - annotate - [select for diffs], Tue Apr 23 03:25:44 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.10: +3 -3
lines
Diff to previous 1.188.2.10 (colored)
Initialize the p_nrlwps field of proc0.
Revision 1.188.2.10 / (download) - annotate - [select for diffs], Mon Apr 1 07:47:50 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.9: +3 -3
lines
Diff to previous 1.188.2.9 (colored)
Catch up to -current. (CVS: It's not just a program. It's an adventure!)
Revision 1.199.2.4 / (download) - annotate - [select for diffs], Sun Mar 17 23:07:42 2002 UTC (10 years, 2 months ago) by thorpej
Branch: newlock
Changes since 1.199.2.3: +3 -3
lines
Diff to previous 1.199.2.3 (colored) to branchpoint 1.199 (colored) next main 1.200 (colored)
Allocate proc0 in machine-dependent code (can't specify align(16) in C code on x86).
Revision 1.192.2.5 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:46 2002 UTC (10 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.192.2.4: +6 -6
lines
Diff to previous 1.192.2.4 (colored)
Catch up with -current.
Revision 1.199.2.3 / (download) - annotate - [select for diffs], Sun Mar 10 21:05:10 2002 UTC (10 years, 2 months ago) by thorpej
Branch: newlock
Changes since 1.199.2.2: +3 -4
lines
Diff to previous 1.199.2.2 (colored) to branchpoint 1.199 (colored)
Some suggestions from Bill Sommerfeld:
* Use a pool cache for turnstiles, so you can save the memset(). Add
some asserts to make sure that inactive turnstiles end up in their
freshly-constructed state.
* Invalidate p->p_ts before returning p to the proc pool (only done if
DIAGNOSTIC).
* Fix up some comments in kern_turnstile.c
* Bugfix in turnstile_remque(): typo ("==" should have been "=").
Revision 1.199.2.2 / (download) - annotate - [select for diffs], Sun Mar 10 19:08:21 2002 UTC (10 years, 2 months ago) by thorpej
Branch: newlock
Changes since 1.199.2.1: +9 -5
lines
Diff to previous 1.199.2.1 (colored) to branchpoint 1.199 (colored)
First cut implementation of turnstiles, a specialized sleep queue used for kernel synchronization objects. A detailed description of turnstiles can be found in: Solaris Internals: Core Kernel Architecture, by Jim Mauro and Richard McDougall, section 3.7. Note this implementation does not yet implement priority inheritence, nor does it currently differentiate between reader and writer queues (though they are provided for in the API).
Revision 1.199.2.1 / (download) - annotate - [select for diffs], Sun Mar 10 07:59:52 2002 UTC (10 years, 2 months ago) by thorpej
Branch: newlock
Changes since 1.199: +3 -3
lines
Diff to previous 1.199 (colored)
Make sure proc structures are aligned to 16 byte boundaries. This ensures that the lower 4 bits of a proc's address are zero. Forthcoming new locking primitives rely on this.
Revision 1.199 / (download) - annotate - [select for diffs], Mon Mar 4 02:30:27 2002 UTC (10 years, 2 months ago) by simonb
Branch: MAIN
CVS Tags: newlock-base,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
eeh-devprop-base,
eeh-devprop
Branch point for: newlock,
netbsd-1-6,
gehenna-devsw
Changes since 1.198: +3 -3
lines
Diff to previous 1.198 (colored)
Use <sys/disk.h> for the prototype of disk_init() rather than declaring our own locally.
Revision 1.188.2.9 / (download) - annotate - [select for diffs], Thu Feb 28 04:14:43 2002 UTC (10 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.8: +5 -5
lines
Diff to previous 1.188.2.8 (colored)
Catch up to -current.
Revision 1.198 / (download) - annotate - [select for diffs], Mon Feb 11 18:11:43 2002 UTC (10 years, 3 months ago) by jdolecek
Branch: MAIN
CVS Tags: ifpoll-base,
ifpoll
Changes since 1.197: +5 -5
lines
Diff to previous 1.197 (colored)
Switch default for pipes to the faster John S. Dyson's implementation. Old, socketpair-based ones are available with option PIPE_SOCKETPAIR.
Revision 1.192.2.4 / (download) - annotate - [select for diffs], Thu Jan 10 19:59:42 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.192.2.3: +5 -2
lines
Diff to previous 1.192.2.3 (colored)
Sync kqueue branch with -current.
Revision 1.188.2.8 / (download) - annotate - [select for diffs], Tue Jan 8 00:32:30 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.7: +3 -3
lines
Diff to previous 1.188.2.7 (colored)
Catch up to -current.
Revision 1.197 / (download) - annotate - [select for diffs], Tue Jan 1 09:17:28 2002 UTC (10 years, 4 months ago) by perry
Branch: MAIN
Changes since 1.196: +3 -3
lines
Diff to previous 1.196 (colored)
Happy New Year!
Revision 1.188.2.7 / (download) - annotate - [select for diffs], Sat Nov 17 01:10:16 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.6: +2 -3
lines
Diff to previous 1.188.2.6 (colored)
Implement POSIX realtime timers, and reimplement getitimer() and setitimer() in terms of them.
Revision 1.188.2.6 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:32 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.5: +4 -1
lines
Diff to previous 1.188.2.5 (colored)
Catch up to -current.
Revision 1.195.4.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:18:44 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.195: +4 -1
lines
Diff to previous 1.195 (colored) next main 1.196 (colored)
Sync the thorpej-mips-cache branch with -current.
Revision 1.196 / (download) - annotate - [select for diffs], Mon Nov 12 15:25:04 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.195: +4 -1
lines
Diff to previous 1.195 (colored)
add RCSIDs
Revision 1.188.2.5 / (download) - annotate - [select for diffs], Mon Nov 5 19:59:02 2001 UTC (10 years, 6 months ago) by briggs
Branch: nathanw_sa
Changes since 1.188.2.4: +3 -3
lines
Diff to previous 1.188.2.4 (colored)
KERNEL_PROC_LOCK/KERNEL_PROC_UNLOCK take struct lwp *, not struct proc *.
Revision 1.192.2.3 / (download) - annotate - [select for diffs], Fri Sep 7 15:54:16 2001 UTC (10 years, 8 months ago) by thorpej
Branch: kqueue
Changes since 1.192.2.2: +5 -1
lines
Diff to previous 1.192.2.2 (colored)
Use a pool for kqueue structures.
Revision 1.192.2.2 / (download) - annotate - [select for diffs], Sat Aug 25 06:16:46 2001 UTC (10 years, 9 months ago) by thorpej
Branch: kqueue
Changes since 1.192.2.1: +2 -2
lines
Diff to previous 1.192.2.1 (colored)
Merge Aug 24 -current into the kqueue branch.
Revision 1.188.2.4 / (download) - annotate - [select for diffs], Fri Aug 24 00:11:24 2001 UTC (10 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.3: +13 -14
lines
Diff to previous 1.188.2.3 (colored)
Catch up with -current.
Revision 1.195 / (download) - annotate - [select for diffs], Thu Aug 16 01:44:53 2001 UTC (10 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.194: +2 -2
lines
Diff to previous 1.194 (colored)
user maps are always pageable.
Revision 1.192.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:39 2001 UTC (10 years, 9 months ago) by lukem
Branch: kqueue
Changes since 1.192: +12 -13
lines
Diff to previous 1.192 (colored)
update to -current
Revision 1.194 / (download) - annotate - [select for diffs], Wed Jul 18 00:51:54 2001 UTC (10 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.193: +11 -12
lines
Diff to previous 1.193 (colored)
When we auto size the vnode cache, make sure we do it *before* we init vfs so it can the size into account when creating its hash lists. This means that for a 2GB system, it'll have a default of 65536 buckets instead of 2048 and when you have 200,000+ vnodes that makes a significant difference.
Revision 1.193 / (download) - annotate - [select for diffs], Sun Jul 15 14:36:06 2001 UTC (10 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.192: +2 -2
lines
Diff to previous 1.192 (colored)
Remove initial newline from copyright[], which was mistakely added in rev.1.191. Fixes kern/13470 by Tetsuya Isaki.
Revision 1.188.2.3 / (download) - annotate - [select for diffs], Thu Jun 21 20:06:43 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.2: +17 -9
lines
Diff to previous 1.188.2.2 (colored)
Catch up to -current.
Revision 1.192 / (download) - annotate - [select for diffs], Sat Jun 16 12:00:02 2001 UTC (10 years, 11 months ago) by jdolecek
Branch: MAIN
Branch point for: kqueue
Changes since 1.191: +10 -1
lines
Diff to previous 1.191 (colored)
Add port of high performance pipe implementation written by John S. Dyson for FreeBSD project. Besides huge speed boost compared with socketpair-based pipes, this implementation also uses pagable kernel memory instead of mbufs. Significant differences to FreeBSD version: * uses uvm_loan() facility for direct write * async/SIGIO handling correct also for sync writer, async reader * limits settable via sysctl, amountpipekva and nbigpipes available via sysctl * pipes are unidirectional - this is enforced on file descriptor level for now only, the code would be updated to take advantage of it eventually * uses lockmgr(9)-based locks instead of home brew variant * scatter-gather write is handled correctly for direct write case, data is transferred by PIPE_DIRECT_CHUNK bytes maximum, to avoid running out of kva All FreeBSD/NetBSD specific code is within appropriate #ifdef, in preparation to feed changes back to FreeBSD tree. This pipe implementation is optional for now, add 'options NEW_PIPE' to your kernel config to use it.
Revision 1.191 / (download) - annotate - [select for diffs], Fri Jun 8 12:53:30 2001 UTC (10 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.190: +7 -8
lines
Diff to previous 1.190 (colored)
use real \n's copyright[]; avoids gcc 3.0-prerelease warnings.
Revision 1.172.2.3 / (download) - annotate - [select for diffs], Sun May 6 15:22:50 2001 UTC (11 years ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Changes since 1.172.2.2: +2 -2
lines
Diff to previous 1.172.2.2 (colored) to branchpoint 1.172 (colored) next main 1.173 (colored)
Pull up revision 1.188 (requested by chris): Add 2001 to Copyright year list.
Revision 1.157.2.7 / (download) - annotate - [select for diffs], Sat Apr 21 17:46:26 2001 UTC (11 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.157.2.6: +2 -2
lines
Diff to previous 1.157.2.6 (colored) to branchpoint 1.157 (colored) next main 1.158 (colored)
Sync with HEAD
Revision 1.190 / (download) - annotate - [select for diffs], Fri Apr 13 23:30:10 2001 UTC (11 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Changes since 1.189: +2 -2
lines
Diff to previous 1.189 (colored)
Remove the use of splimp() from the NetBSD kernel. splnet() and only splnet() is allowed for the protection of data structures used by network devices.
Revision 1.188.2.2 / (download) - annotate - [select for diffs], Mon Apr 9 01:57:51 2001 UTC (11 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.188.2.1: +2 -3
lines
Diff to previous 1.188.2.1 (colored)
Catch up with -current.
Revision 1.157.2.6 / (download) - annotate - [select for diffs], Tue Mar 27 15:32:23 2001 UTC (11 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.157.2.5: +1 -2
lines
Diff to previous 1.157.2.5 (colored) to branchpoint 1.157 (colored)
Sync with HEAD.
Revision 1.189 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:55 2001 UTC (11 years, 2 months ago) by chs
Branch: MAIN
Changes since 1.188: +2 -3
lines
Diff to previous 1.188 (colored)
eliminate the KERN_* error codes in favor of the traditional E* codes. the mapping is: KERN_SUCCESS 0 KERN_INVALID_ADDRESS EFAULT KERN_PROTECTION_FAILURE EACCES KERN_NO_SPACE ENOMEM KERN_INVALID_ARGUMENT EINVAL KERN_FAILURE various, mostly turn into KASSERTs KERN_RESOURCE_SHORTAGE ENOMEM KERN_NOT_RECEIVER <unused> KERN_NO_ACCESS <unused> KERN_PAGES_LOCKED <unused>
Revision 1.188.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:37 2001 UTC (11 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.188: +33 -19
lines
Diff to previous 1.188 (colored)
Initial commit of scheduler activations and lightweight process support.
Revision 1.157.2.5 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:37 2001 UTC (11 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.157.2.4: +1 -1
lines
Diff to previous 1.157.2.4 (colored) to branchpoint 1.157 (colored)
Sync with HEAD
Revision 1.188 / (download) - annotate - [select for diffs], Mon Jan 1 20:18:34 2001 UTC (11 years, 4 months ago) by thorpej
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.187: +2 -2
lines
Diff to previous 1.187 (colored)
Happy new year!
Revision 1.157.2.4 / (download) - annotate - [select for diffs], Wed Dec 13 15:50:18 2000 UTC (11 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.157.2.3: +7 -0
lines
Diff to previous 1.157.2.3 (colored) to branchpoint 1.157 (colored)
Sync with HEAD (for UBC fixes).
Revision 1.187 / (download) - annotate - [select for diffs], Mon Dec 11 05:29:02 2000 UTC (11 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.186: +4 -1
lines
Diff to previous 1.186 (colored)
Introduce 2 new flags in types.h: * __HAVE_SYSCALL_INTERN. If this is defined, e_syscall is replaced by e_syscall_intern, which is called at key places in the kernel. This can be used to set a MD syscall handler pointer. This obsoletes and replaces the *_HAS_SEPARATED_SYSCALL flags. * __HAVE_MINIMAL_EMUL. If this is defined, certain (deprecated) elements in struct emul are omitted.
Revision 1.186 / (download) - annotate - [select for diffs], Fri Dec 8 22:07:36 2000 UTC (11 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.185: +5 -1
lines
Diff to previous 1.185 (colored)
call exec_init() with before letting init(8) exec
Revision 1.157.2.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:13:53 2000 UTC (11 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.157.2.2: +6 -0
lines
Diff to previous 1.157.2.2 (colored) to branchpoint 1.157 (colored)
Sync with HEAD.
Revision 1.185 / (download) - annotate - [select for diffs], Mon Nov 27 08:39:43 2000 UTC (11 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.184: +7 -1
lines
Diff to previous 1.184 (colored)
Initial integration of the Unified Buffer Cache project.
Revision 1.157.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:05:17 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.157.2.1: +7 -29
lines
Diff to previous 1.157.2.1 (colored) to branchpoint 1.157 (colored)
Sync with HEAD.
Revision 1.184 / (download) - annotate - [select for diffs], Tue Nov 21 00:37:56 2000 UTC (11 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.183: +2 -25
lines
Diff to previous 1.183 (colored)
restructure struct emul and execsw, in preparation to make emulations LKMable:
* move all exec-type specific information from struct emul to execsw[] and
provide single struct emul per emulation
* elf:
- kern/exec_elf32.c:probe_funcs[] is gone, execsw[] how has one entry
per emulation and contains pointer to respective probe function
- interp is allocated via MALLOC() rather than on stack
- elf_args structure is allocated via MALLOC() rather than malloc()
* ecoff: the per-emulation hooks moved from alpha and mips specific code
to OSF1 and Ultrix compat code as appropriate, execsw[] has one entry per
emulation supporting ecoff with appropriate probe function
* the makecmds/probe functions don't set emulation, pointer to emulation is
part of appropriate execsw[] entry
* constify couple of structures
Revision 1.157.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:08:55 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.157: +148 -70
lines
Diff to previous 1.157 (colored)
Update thorpej_scsipi to -current as of a month ago
Revision 1.183 / (download) - annotate - [select for diffs], Mon Nov 13 21:32:15 2000 UTC (11 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.182: +2 -2
lines
Diff to previous 1.182 (colored)
change the type of *syscallnames[] array to 'const char * const foo[]'
Revision 1.182 / (download) - annotate - [select for diffs], Sun Oct 29 18:38:47 2000 UTC (11 years, 6 months ago) by he
Branch: MAIN
Changes since 1.181: +6 -5
lines
Diff to previous 1.181 (colored)
Use an rlim_t to store "available memory", so we don't needlessly overflow and/or sign extend.
Revision 1.181 / (download) - annotate - [select for diffs], Wed Sep 13 15:00:25 2000 UTC (11 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.180: +2 -2
lines
Diff to previous 1.180 (colored)
Add an align argument to uvm_map() and some callers of that routine. Works similarly fto pmap_prefer(), but allows callers to specify a minimum power-of-two alignment of the region. How we ever got along without this for so long is beyond me.
Revision 1.180 / (download) - annotate - [select for diffs], Sat Aug 26 03:34:37 2000 UTC (11 years, 9 months ago) by sommerfeld
Branch: MAIN
Changes since 1.179: +1 -3
lines
Diff to previous 1.179 (colored)
More MP clock/scheduler changes: - Periodically invoke roundrobin() from hardclock() on all cpu's rather than from a timer callout; this allows time-slicing on non-primary cpu's. - Make pscnt per-cpu. - Notice psdiv changes on each cpu, and adjust pscnt at that point. Also, invoke setstatclockrate() from the clock interrupt when each cpu notices the divisor change, rather than when starting/stopping the profiling clock.
Revision 1.179 / (download) - annotate - [select for diffs], Tue Aug 22 17:28:28 2000 UTC (11 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.178: +9 -2
lines
Diff to previous 1.178 (colored)
Define the MI parts of the "big kernel lock" perimeter. From Bill Sommerfeld.
Revision 1.178 / (download) - annotate - [select for diffs], Mon Aug 21 02:11:56 2000 UTC (11 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.177: +2 -2
lines
Diff to previous 1.177 (colored)
splhigh() -> splsched()
Revision 1.177 / (download) - annotate - [select for diffs], Sat Aug 12 22:41:55 2000 UTC (11 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.176: +3 -23
lines
Diff to previous 1.176 (colored)
Don't bother with a trampoline to start the pagedaemon and reaper threads.
Revision 1.172.2.2 / (download) - annotate - [select for diffs], Mon Jul 24 20:32:19 2000 UTC (11 years, 10 months ago) by jdolecek
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Changes since 1.172.2.1: +15 -1
lines
Diff to previous 1.172.2.1 (colored) to branchpoint 1.172 (colored)
pullup from trunk (approved by thorpej): adjust maximum number of vnodes in vnode cache according to machine memory size upon boot if the number has not been specified explicitly in kernel config - at this moment, 0.5% of system memory is used for vnodes (but minimum NVNODE vnodes)
Revision 1.172.2.1 / (download) - annotate - [select for diffs], Fri Jul 14 18:10:50 2000 UTC (11 years, 10 months ago) by thorpej
Branch: netbsd-1-5
Changes since 1.172: +23 -22
lines
Diff to previous 1.172 (colored)
Update from trunk: - Fix the likely cause of the "ps(1) hangs machine" problem. Always vslock the user pages for the data being copied out to userspace, so that we won't sleep while holding a lock in case we need to fault the pages in. - Sprinkle some const and ANSI'ify some things while here.
Revision 1.176 / (download) - annotate - [select for diffs], Fri Jul 14 07:21:21 2000 UTC (11 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.175: +23 -22
lines
Diff to previous 1.175 (colored)
- Fix the likely cause of the "ps(1) hangs machine" problem. Always vslock the user pages for the data being copied out to userspace, so that we won't sleep while holding a lock in case we need to fault the pages in. - Sprinkle some const and ANSI'ify some things while here.
Revision 1.175 / (download) - annotate - [select for diffs], Thu Jul 6 09:51:55 2000 UTC (11 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.174: +15 -1
lines
Diff to previous 1.174 (colored)
adjust maximum number of vnodes in vnode cache according to machine memory size upon boot if the number has not been specified explicitly in kernel config - at this moment, 0.5% of system memory is used for vnodes (but minimum NVNODE vnodes)
Revision 1.174 / (download) - annotate - [select for diffs], Tue Jun 27 17:41:12 2000 UTC (11 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.173: +1 -2
lines
Diff to previous 1.173 (colored)
remove include of <vm/vm.h>
Revision 1.173 / (download) - annotate - [select for diffs], Sun Jun 25 13:49:33 2000 UTC (11 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.172: +1 -3
lines
Diff to previous 1.172 (colored)
<vm/vm_pageout.h> is already empty; kill it totally.
Revision 1.168.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:09:04 2000 UTC (11 years, 11 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.168: +9 -6
lines
Diff to previous 1.168 (colored) next main 1.169 (colored)
Sync w/ netbsd-1-5-base.
Revision 1.172 / (download) - annotate - [select for diffs], Tue Jun 6 18:26:35 2000 UTC (11 years, 11 months ago) by soren
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.171: +2 -1
lines
Diff to previous 1.171 (colored)
defopt SYSCALL_DEBUG.
Revision 1.171 / (download) - annotate - [select for diffs], Wed May 31 05:02:31 2000 UTC (11 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.170: +6 -4
lines
Diff to previous 1.170 (colored)
Track which process a CPU is running/has last run on by adding a p_cpu member to struct proc. Use this in certain places when accessing scheduler state, etc. For the single-processor case, just initialize p_cpu in fork1() to avoid having to set it in the low-level context switch code on platforms which will never have multiprocessing. While I'm here, comment a few places where there are known issues for the SMP implementation.
Revision 1.170 / (download) - annotate - [select for diffs], Sun May 28 18:52:32 2000 UTC (12 years ago) by jhawk
Branch: MAIN
Changes since 1.169: +2 -1
lines
Diff to previous 1.169 (colored)
Add proc0 to pidhashtbl so pfind(0) works. Now trace/t 0 works in ddb, etc.
Revision 1.169 / (download) - annotate - [select for diffs], Sun May 28 05:49:05 2000 UTC (12 years ago) by thorpej
Branch: MAIN
Changes since 1.168: +2 -3
lines
Diff to previous 1.168 (colored)
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.168 / (download) - annotate - [select for diffs], Fri May 26 21:20:29 2000 UTC (12 years ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.167: +3 -3
lines
Diff to previous 1.167 (colored)
First sweep at scheduler state cleanup. Collect MI scheduler state into global and per-CPU scheduler state: - Global state: sched_qs (run queues), sched_whichqs (bitmap of non-empty run queues), sched_slpque (sleep queues). NOTE: These may collectively move into a struct schedstate at some point in the future. - Per-CPU state, struct schedstate_percpu: spc_runtime (time process on this CPU started running), spc_flags (replaces struct proc's p_schedflags), and spc_curpriority (usrpri of processes on this CPU). - Every platform must now supply a struct cpu_info and a curcpu() macro. Simplify existing cpu_info declarations where appropriate. - All references to per-CPU scheduler state now made through curcpu(). NOTE: this will likely be adjusted in the future after further changes to struct proc are made. Tested on i386 and Alpha. Changes are mostly mechanical, but apologies in advance if it doesn't compile on a particular platform.
Revision 1.167 / (download) - annotate - [select for diffs], Fri May 26 00:36:52 2000 UTC (12 years ago) by thorpej
Branch: MAIN
Changes since 1.166: +2 -2
lines
Diff to previous 1.166 (colored)
Introduce a new process state distinct from SRUN called SONPROC which indicates that the process is actually running on a processor. Test against SONPROC as appropriate rather than combinations of SRUN and curproc. Update all context switch code to properly set SONPROC when the process becomes the current process on the CPU.
Revision 1.166 / (download) - annotate - [select for diffs], Fri Mar 24 11:57:14 2000 UTC (12 years, 2 months ago) by enami
Branch: MAIN
Changes since 1.165: +3 -6
lines
Diff to previous 1.165 (colored)
Call the routine to calculate callwheelsize from allocsys() instead of main() since some port like alpha and mips calls allocsys() before main() is called. While I'm here, I renamed some function.
Revision 1.165 / (download) - annotate - [select for diffs], Thu Mar 23 06:30:07 2000 UTC (12 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.164: +9 -3
lines
Diff to previous 1.164 (colored)
New callout mechanism with two major improvements over the old timeout()/untimeout() API: - Clients supply callout handle storage, thus eliminating problems of resource allocation. - Insertion and removal of callouts is constant time, important as this facility is used quite a lot in the kernel. The old timeout()/untimeout() API has been removed from the kernel.
Revision 1.164 / (download) - annotate - [select for diffs], Fri Mar 10 01:13:18 2000 UTC (12 years, 2 months ago) by enami
Branch: MAIN
Changes since 1.163: +5 -1
lines
Diff to previous 1.163 (colored)
Create new kernel thread to issue statfs(2) system call to check free disk space rather than doing it in timeout handler. This fixes long standing bug that accounting file can't be put on NFS file system (so, e.g, we couldn't turn on accounting on diskless system).
Revision 1.163 / (download) - annotate - [select for diffs], Mon Jan 24 18:03:19 2000 UTC (12 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.162: +77 -24
lines
Diff to previous 1.162 (colored)
Add a `config_pending' semaphore to block mounting of the root file system until all device driver discovery threads have had a chance to do their work. This in turn blocks initproc's exec of init(8) until root is mounted and process start times and CWD info has been fixed up. Addresses kern/9247.
Revision 1.162 / (download) - annotate - [select for diffs], Wed Jan 19 20:05:50 2000 UTC (12 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.161: +5 -1
lines
Diff to previous 1.161 (colored)
Move callout initialization to a single location; no need to duplicate that code all over the place.
Revision 1.145.2.1 / (download) - annotate - [select for diffs], Sat Jan 15 17:45:59 2000 UTC (12 years, 4 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002
Changes since 1.145: +2 -2
lines
Diff to previous 1.145 (colored) next main 1.146 (colored)
Pull up revision 1.161 (requested by mycroft): Update the copyright notice to include 2000.
Revision 1.161 / (download) - annotate - [select for diffs], Sat Jan 1 05:00:03 2000 UTC (12 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.160: +2 -2
lines
Diff to previous 1.160 (colored)
Update for y2k.
Revision 1.157.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:50 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.157: +15 -1
lines
Diff to previous 1.157 (colored) next main 1.158 (colored)
Pull up to last week's -current.
Revision 1.160 / (download) - annotate - [select for diffs], Thu Dec 16 19:59:17 1999 UTC (12 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Changes since 1.159: +7 -1
lines
Diff to previous 1.159 (colored)
Explicitly set secondary processors in motion before calling uvm_scheduler().
Revision 1.159 / (download) - annotate - [select for diffs], Mon Nov 15 18:49:09 1999 UTC (12 years, 6 months ago) by fvdl
Branch: MAIN
Changes since 1.158: +8 -1
lines
Diff to previous 1.158 (colored)
Add Kirk McKusick's soft updates code to the trunk. Not enabled by default, as the copyright on the main file (ffs_softdep.c) is such that is has been put into gnusrc. options SOFTDEP will pull this in. This code also contains the trickle syncer. Bump version number to 1.4O
Revision 1.157.4.2 / (download) - annotate - [select for diffs], Mon Nov 15 00:41:48 1999 UTC (12 years, 6 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.157.4.1: +2 -1
lines
Diff to previous 1.157.4.1 (colored) to branchpoint 1.157 (colored) next main 1.158 (colored)
Sync with -current
Revision 1.158 / (download) - annotate - [select for diffs], Sat Nov 13 05:02:25 1999 UTC (12 years, 6 months ago) by simonb
Branch: MAIN
CVS Tags: fvdl-softdep-base
Changes since 1.157: +2 -1
lines
Diff to previous 1.157 (colored)
Defopt MAXUPRC.
Revision 1.157.4.1 / (download) - annotate - [select for diffs], Tue Oct 19 12:50:01 1999 UTC (12 years, 7 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.157: +8 -1
lines
Diff to previous 1.157 (colored)
Bring in Kirk McKusick's FFS softdep code on a branch.
Revision 1.157 / (download) - annotate - [select for diffs], Tue Sep 28 14:47:03 1999 UTC (12 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: comdex-fall-1999-base,
comdex-fall-1999
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep
Changes since 1.156: +2 -1
lines
Diff to previous 1.156 (colored)
Remplace kern.shortcorename sysctl with a more flexible sheme, core filename format, which allow to change the name of the core dump, and to relocate it in a directory. Credits to Bill Sommerfeld for giving me the idea :) The default core filename format can be changed by options DEFCORENAME and/or kern.defcorename Create a new sysctl tree, proc, which holds per-process values (for now the corename format, and resources limits). Process is designed by its pid at the second level name. These values are inherited on fork, and the corename fomat is reset to defcorename on suid/sgid exec. Create a p_sugid() function, to take appropriate actions on suid/sgid exec (for now set the P_SUGID flag and reset the per-proc corename). Adjust dosetrlimit() to allow changing limits of one proc by another, with credential controls.
Revision 1.156 / (download) - annotate - [select for diffs], Fri Sep 17 20:11:56 1999 UTC (12 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.155: +10 -7
lines
Diff to previous 1.155 (colored)
- Centralize the declaration and clearing of `cold'. - Call configure() after setting up proc0. - Call initclocks() from configure(), after cpu_configure(). Once the clocks are running, clear `cold'. Then run interrupt-driven autoconfiguration.
Revision 1.155 / (download) - annotate - [select for diffs], Wed Sep 15 18:10:34 1999 UTC (12 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.154: +2 -3
lines
Diff to previous 1.154 (colored)
Rename the machine-dependent autoconfiguration entry point `cpu_configure()', and rename config_init() to configure() and call cpu_configure() from there.
Revision 1.145.4.4 / (download) - annotate - [select for diffs], Mon Aug 2 23:26:39 1999 UTC (12 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.145.4.3: +2 -2
lines
Diff to previous 1.145.4.3 (colored) to branchpoint 1.145 (colored) next main 1.146 (colored)
Update a kthread call.
Revision 1.145.4.3 / (download) - annotate - [select for diffs], Mon Aug 2 22:19:11 1999 UTC (12 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.145.4.2: +6 -3
lines
Diff to previous 1.145.4.2 (colored) to branchpoint 1.145 (colored)
Update from trunk.
Revision 1.154 / (download) - annotate - [select for diffs], Thu Jul 22 21:08:31 1999 UTC (12 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.153: +4 -1
lines
Diff to previous 1.153 (colored)
Add a read/write lock to the proclists and PID hash table. Use the write lock when doing PID allocation, and during the process exit path. Use a read lock every where else, including within schedcpu() (interrupt context). Note that holding the write lock implies blocking schedcpu() from running (blocks softclock). PID allocation is now MP-safe. Note this actually fixes a bug on single processor systems that was probably extremely difficult to tickle; it was possible that schedcpu() would run off a bad pointer if the right clock interrupt happened to come in the middle of a LIST_INSERT_HEAD() or LIST_REMOVE() to/from allproc.
Revision 1.153 / (download) - annotate - [select for diffs], Tue Jul 6 21:44:10 1999 UTC (12 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.152: +3 -3
lines
Diff to previous 1.152 (colored)
Make the kthread API a bit more friendly to loadable kernel modules.
Revision 1.145.4.2 / (download) - annotate - [select for diffs], Mon Jun 21 01:23:59 1999 UTC (12 years, 11 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.145.4.1: +23 -19
lines
Diff to previous 1.145.4.1 (colored) to branchpoint 1.145 (colored)
Sync w/ -current.
Revision 1.152 / (download) - annotate - [select for diffs], Mon Jun 7 20:16:09 1999 UTC (12 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.151: +2 -2
lines
Diff to previous 1.151 (colored)
Don't pass a nam2blk around at all; just have setroot() and friends reference dev_name2blk[] directly. Addresses PR #7622 (ITOH Yasufumi), although in a different way.
Revision 1.145.4.1 / (download) - annotate - [select for diffs], Mon Jun 7 04:25:30 1999 UTC (12 years, 11 months ago) by chs
Branch: chs-ubc2
Changes since 1.145: +16 -1
lines
Diff to previous 1.145 (colored)
merge everything from chs-ubc branch.
Revision 1.151 / (download) - annotate - [select for diffs], Thu May 13 21:58:37 1999 UTC (13 years ago) by thorpej
Branch: MAIN
Changes since 1.150: +2 -2
lines
Diff to previous 1.150 (colored)
Allow the caller to specify a stack for the child process. If NULL, the child inherits the stack pointer from the parent (traditional behavior). Like the signal stack, the stack area is secified as a low address and a size; machine-dependent code accounts for stack direction. This is required for clone(2).
Revision 1.150 / (download) - annotate - [select for diffs], Thu May 13 00:59:04 1999 UTC (13 years ago) by thorpej
Branch: MAIN
Changes since 1.149: +2 -2
lines
Diff to previous 1.149 (colored)
Allow an alternate exit signal (i.e. not SIGCHLD) to be delivered to the parent, specified at fork time. Specify a new flag to wait4(2), WALTSIG, to wait for processes which use an alternate exit signal. This is required for clone(2).
Revision 1.149 / (download) - annotate - [select for diffs], Fri Apr 30 21:23:49 1999 UTC (13 years ago) by thorpej
Branch: MAIN
Changes since 1.148: +10 -5
lines
Diff to previous 1.148 (colored)
Pull signal actions out of struct user, make them a separate proc substructure, and allow them to be shared. Required for clone(2).
Revision 1.148 / (download) - annotate - [select for diffs], Fri Apr 30 18:42:59 1999 UTC (13 years ago) by thorpej
Branch: MAIN
Changes since 1.147: +10 -4
lines
Diff to previous 1.147 (colored)
Break cdir/rdir/cmask info out of struct filedesc, and put it in a new substructure, `cwdinfo'. Implement optional sharing of this substructure. This is required for clone(2).
Revision 1.147 / (download) - annotate - [select for diffs], Sun Apr 25 02:56:30 1999 UTC (13 years, 1 month ago) by simonb
Branch: MAIN
Changes since 1.146: +1 -9
lines
Diff to previous 1.146 (colored)
g/c REAL_CLISTS.
Revision 1.146 / (download) - annotate - [select for diffs], Mon Apr 12 00:22:08 1999 UTC (13 years, 1 month ago) by gwr
Branch: MAIN
Changes since 1.145: +3 -2
lines
Diff to previous 1.145 (colored)
minor nits -- strncpy into p->p_comm
Revision 1.134.2.1 / (download) - annotate - [select for diffs], Fri Apr 9 04:19:54 1999 UTC (13 years, 1 month ago) by chs
Branch: chs-ubc
Changes since 1.134: +23 -3
lines
Diff to previous 1.134 (colored) next main 1.135 (colored)
start aiodone daemon as pid 3, reaper becomes pid 4.
Revision 1.145 / (download) - annotate - [select for diffs], Thu Apr 1 00:22:45 1999 UTC (13 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: netbsd-1-4,
chs-ubc2
Changes since 1.144: +5 -2
lines
Diff to previous 1.144 (colored)
Call cpu_startup() immediately after uvm_init(), but before mbinit(). Call configure() directly immediately after config_init(). This causes autoconfiguration to happen at the same time as before, but creates some kernel submaps earlier, so that e.g. mbinit() can now allocate memory.
Revision 1.144 / (download) - annotate - [select for diffs], Fri Mar 26 01:10:50 1999 UTC (13 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.143: +4 -5
lines
Diff to previous 1.143 (colored)
Assign initproc in main(), not start_init(). It's conventient to do so.
Revision 1.143 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:22 1999 UTC (13 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.142: +1 -41
lines
Diff to previous 1.142 (colored)
completely remove Mach VM support. all that is left is the all the header files as UVM still uses (most of) these.
Revision 1.142 / (download) - annotate - [select for diffs], Fri Mar 5 07:26:21 1999 UTC (13 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.141: +8 -3
lines
Diff to previous 1.141 (colored)
This is sort of gratuitous, but... Strip the leading path off of init's argv[0].
Revision 1.141 / (download) - annotate - [select for diffs], Mon Feb 22 00:12:36 1999 UTC (13 years, 3 months ago) by cjs
Branch: MAIN
Changes since 1.140: +2 -2
lines
Diff to previous 1.140 (colored)
Safer use of printf.
Revision 1.140 / (download) - annotate - [select for diffs], Thu Jan 21 14:50:41 1999 UTC (13 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.139: +10 -3
lines
Diff to previous 1.139 (colored)
Fix initialization of resource limits for number of files and number of processes: - Don't initialize rlim_max to RLIM_INFINITY. The limits for those should be maxfiles and maxproc respectively. Programs expect getrlimit to return reasonable values, so that they can allocate structures (for example jdk does this). - Don't initialize rlim_cur to NOFILE and MAXUPRC respectively, but to min(NOFILE, maxfiles) and min(MAXUPRC, maxproc) respectively.
Revision 1.139 / (download) - annotate - [select for diffs], Sat Jan 16 21:06:44 1999 UTC (13 years, 4 months ago) by chuck
Branch: MAIN
Changes since 1.138: +1 -3
lines
Diff to previous 1.138 (colored)
MNN is no longer optional
Revision 1.138 / (download) - annotate - [select for diffs], Wed Jan 6 13:51:09 1999 UTC (13 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.137: +2 -2
lines
Diff to previous 1.137 (colored)
add copyright 1999
Revision 1.137 / (download) - annotate - [select for diffs], Sat Nov 14 00:08:49 1998 UTC (13 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach
Changes since 1.136: +4 -1
lines
Diff to previous 1.136 (colored)
Implement a way to queue kernel threads for creation after init, pagedaemon, reaper, etc. Caller provides a callback function and argument which will be called to create the threads.
Revision 1.136 / (download) - annotate - [select for diffs], Wed Nov 11 22:45:32 1998 UTC (13 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.135: +10 -4
lines
Diff to previous 1.135 (colored)
fork_kthread() -> kthread_create(). Set P_NOCLDWAIT on kernel threads, which will cause any of their children to be reparented to init(8) (which is already prepared to wait out orphaned processes).
Revision 1.135 / (download) - annotate - [select for diffs], Wed Nov 11 06:34:43 1998 UTC (13 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.134: +19 -28
lines
Diff to previous 1.134 (colored)
Initial version of API for creating kernel threads (likely to change somewhat in the future): - New function, fork_kthread(), takes entry point, argument for entry point, and comment for new proc. May be called by any context, will fork the thread from proc0 (requires slight changes to cpu_fork()). - cpu_set_kpc() now takes a third argument, a void *arg to pass to the thread entry point. Thread entry point now takes void * instead of struct proc *. - Create the pagedaemon and reaper kernel threads using fork_kthread().
Revision 1.134 / (download) - annotate - [select for diffs], Mon Oct 19 22:19:26 1998 UTC (13 years, 7 months ago) by tron
Branch: MAIN
CVS Tags: chs-ubc-base
Branch point for: chs-ubc
Changes since 1.133: +2 -1
lines
Diff to previous 1.133 (colored)
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
Revision 1.133 / (download) - annotate - [select for diffs], Mon Oct 19 11:51:53 1998 UTC (13 years, 7 months ago) by pk
Branch: MAIN
Changes since 1.132: +3 -1
lines
Diff to previous 1.132 (colored)
Allow `curproc' to be defined in <machine/proc.h> to enable a transition to SMP support.
Revision 1.132 / (download) - annotate - [select for diffs], Tue Sep 8 23:57:58 1998 UTC (13 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.131: +21 -1
lines
Diff to previous 1.131 (colored)
Implement a new kernel thread, the "reaper", which performs the task of freeing the VM resources once a process has exited. A valid thread must do this work, as doing so may block in a multi-processor environment.
Revision 1.131 / (download) - annotate - [select for diffs], Mon Aug 31 23:55:37 1998 UTC (13 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.130: +3 -1
lines
Diff to previous 1.130 (colored)
Use the pool allocator and "nointr" pool page allocator for file structures.
Revision 1.130 / (download) - annotate - [select for diffs], Thu Aug 13 02:10:56 1998 UTC (13 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.129: +3 -3
lines
Diff to previous 1.129 (colored)
Merge paddr_t changes into the main branch.
Revision 1.123.2.2 / (download) - annotate - [select for diffs], Sat Aug 8 03:06:53 1998 UTC (13 years, 9 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.123.2.1: +10 -6
lines
Diff to previous 1.123.2.1 (colored) to branchpoint 1.123 (colored) next main 1.124 (colored)
Revert cdevsw mmap routines to return int.
Revision 1.129 / (download) - annotate - [select for diffs], Tue Aug 4 04:03:11 1998 UTC (13 years, 9 months ago) by perry
Branch: MAIN
Changes since 1.128: +3 -3
lines
Diff to previous 1.128 (colored)
Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one. bcopy(x, y, z) -> memcpy(y, x, z) ovbcopy(x, y, z) -> memmove(y, x, z) bcmp(x, y, z) -> memcmp(x, y, z) bzero(x, y) -> memset(x, 0, y)
Revision 1.128 / (download) - annotate - [select for diffs], Sun Aug 2 04:53:12 1998 UTC (13 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.127: +5 -1
lines
Diff to previous 1.127 (colored)
Use the pool allocator for sockets.
Revision 1.127 / (download) - annotate - [select for diffs], Sat Aug 1 01:36:35 1998 UTC (13 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.126: +8 -4
lines
Diff to previous 1.126 (colored)
Initialize the mbuf allocator _before_ autoconfiguration; it might be called when devices attach, take two. Note that it is necessary that mbinit() NOT allocate memory, since it is called before mb_map is created. This is not a problem with the pool allocator that is now used for mbufs and mbuf clusters.
Revision 1.126 / (download) - annotate - [select for diffs], Sat Aug 1 01:20:43 1998 UTC (13 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.125: +4 -8
lines
Diff to previous 1.125 (colored)
Oops, back out previous. I need to attack that problem differently.
Revision 1.125 / (download) - annotate - [select for diffs], Fri Jul 31 22:50:49 1998 UTC (13 years, 9 months ago) by perry
Branch: MAIN
Changes since 1.124: +3 -3
lines
Diff to previous 1.124 (colored)
fix sizeofs so they comply with the KNF style guide. yes, it is pedantic.
Revision 1.124 / (download) - annotate - [select for diffs], Fri Jul 31 21:59:55 1998 UTC (13 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.123: +8 -4
lines
Diff to previous 1.123 (colored)
Initialize the mbuf allocator _before_ autoconfiguration; it might be called when devices attach.
Revision 1.123.2.1 / (download) - annotate - [select for diffs], Thu Jul 30 14:04:03 1998 UTC (13 years, 9 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.123: +3 -3
lines
Diff to previous 1.123 (colored)
Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.
Revision 1.123 / (download) - annotate - [select for diffs], Thu Jun 25 22:17:36 1998 UTC (13 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.122: +2 -1
lines
Diff to previous 1.122 (colored)
defopt NFSSERVER
Revision 1.108.2.1 / (download) - annotate - [select for diffs], Sun May 10 06:57:36 1998 UTC (14 years ago) by mycroft
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002
Changes since 1.108: +3 -2
lines
Diff to previous 1.108 (colored) next main 1.109 (colored)
Update copyright notice.
Revision 1.122 / (download) - annotate - [select for diffs], Mon Mar 30 06:18:05 1998 UTC (14 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.121: +2 -2
lines
Diff to previous 1.121 (colored)
Oops; forgot to update prototype.
Revision 1.121 / (download) - annotate - [select for diffs], Mon Mar 30 06:15:44 1998 UTC (14 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.120: +2 -3
lines
Diff to previous 1.120 (colored)
Argument to main() is no longer used.
Revision 1.120 / (download) - annotate - [select for diffs], Fri Mar 27 01:52:01 1998 UTC (14 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.119: +11 -6
lines
Diff to previous 1.119 (colored)
Make proc0 use the statically-allocate vmspace0 again, and make it use the kernel's pmap, since proc0 (and other that share its address space) are kernel-only processes, and should never contain userspace mappings. This makes it easier to detect errors, like entering user mappings for kernel processes, in pmap modules, and makes some sense, considering that kernel processes are really just "thread contexts" for the kernel.
Revision 1.119 / (download) - annotate - [select for diffs], Sun Mar 22 18:22:07 1998 UTC (14 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.118: +2 -2
lines
Diff to previous 1.118 (colored)
Process 2 (the pagedaemon) always runs in kernel space, so share VM space with proc0.
Revision 1.118 / (download) - annotate - [select for diffs], Sun Mar 1 02:22:27 1998 UTC (14 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.117: +3 -3
lines
Diff to previous 1.117 (colored)
Merge with Lite2 + local changes
Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:12:54 1998 UTC (14 years, 2 months ago) by fvdl
Branch: WFJ-920714,
CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +50 -32
lines
Diff to previous 1.1.1.2 (colored)
Import 4.4BSD-Lite2
Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:09:37 1998 UTC (14 years, 2 months ago) by fvdl
Branch: WFJ-920714,
CSRG
CVS Tags: lite-1,
date-03-may-96
Changes since 1.1.1.1: +394 -1
lines
Diff to previous 1.1.1.1 (colored)
Import 4.4BSD-Lite for reference
Revision 1.117 / (download) - annotate - [select for diffs], Thu Feb 19 00:49:27 1998 UTC (14 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.116: +2 -1
lines
Diff to previous 1.116 (colored)
Include the NFS option header.
Revision 1.116 / (download) - annotate - [select for diffs], Sat Feb 14 00:37:30 1998 UTC (14 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.115: +2 -1
lines
Diff to previous 1.115 (colored)
Prevent the session ID from disappearing if the session leader exits (thus causing s_leader to become NULL) by storing the session ID separately in the session structure. Export the session ID to userspace in the eproc structure. Submitted by Tom Proett <proett@nas.nasa.gov>.
Revision 1.115 / (download) - annotate - [select for diffs], Tue Feb 10 14:09:22 1998 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.114: +3 -1
lines
Diff to previous 1.114 (colored)
- add defopt's for UVM, UVMHIST and PMAP_NEW. - remove unnecessary UVMHIST_DECL's.
Revision 1.114 / (download) - annotate - [select for diffs], Thu Feb 5 07:59:46 1998 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.113: +44 -1
lines
Diff to previous 1.113 (colored)
initial import of the new virtual memory system, UVM, into -current. UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some minor portions derived from the old Mach code. i provided some help getting swap and paging working, and other bug fixes/ideas. chuck silvers <chuq@chuq.com> also provided some other fixes. this is the rest of the MI portion changes. this will be KNF'd shortly. :-)
Revision 1.113 / (download) - annotate - [select for diffs], Thu Jan 8 11:36:16 1998 UTC (14 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.112: +4 -1
lines
Diff to previous 1.112 (colored)
add new version of non contiguous memory code, written by chuck cranor, called "MACHINE_NEW_NONCONGIG". this is required for UVM, the new VM system (also written by chuck) that is coming soon. adds new functions: vm_page_physload() -- tell the VM system about an area of memory. vm_physseg_find() -- returns index in vm_physmem array that this address is in. and several new versions of old functions/macros defined in vm_page.h. this is the MI portion. sparc, and then later i386 portions to come. all other ports need to change to this ASAP! (alpha is already being worked on)
Revision 1.112 / (download) - annotate - [select for diffs], Wed Jan 7 00:41:43 1998 UTC (14 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.111: +3 -2
lines
Diff to previous 1.111 (colored)
Happy new year!
Revision 1.111 / (download) - annotate - [select for diffs], Tue Jan 6 21:18:00 1998 UTC (14 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.110: +12 -11
lines
Diff to previous 1.110 (colored)
Clean up the forking of init and the pagedaemon slightly: call fork1() directly (which provides a pointer to the new process).
Revision 1.110 / (download) - annotate - [select for diffs], Tue Jan 6 08:06:47 1998 UTC (14 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.109: +1 -36
lines
Diff to previous 1.109 (colored)
Garbage-collect cpu_set_init_frame(); it hasn't been needed for some time now.
Revision 1.109 / (download) - annotate - [select for diffs], Mon Jan 5 04:52:48 1998 UTC (14 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.108: +2 -6
lines
Diff to previous 1.108 (colored)
Initialize proc0's file descriptor table with fdinit1().
Revision 1.108 / (download) - annotate - [select for diffs], Sun Oct 19 02:00:19 1997 UTC (14 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.107: +2 -2
lines
Diff to previous 1.107 (colored)
Add const where appropriate.
Revision 1.107 / (download) - annotate - [select for diffs], Fri Oct 17 21:40:00 1997 UTC (14 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.106: +7 -3
lines
Diff to previous 1.106 (colored)
Display The NetBSD Foundation, Inc.'s copyright notice at boot time.
Revision 1.101.4.2 / (download) - annotate - [select for diffs], Tue Oct 14 10:25:54 1997 UTC (14 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.101.4.1: +10 -3
lines
Diff to previous 1.101.4.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)
Update marc-pcmcia branch from trunk.
Revision 1.106 / (download) - annotate - [select for diffs], Mon Oct 13 00:48:07 1997 UTC (14 years, 7 months ago) by explorer
Branch: MAIN
CVS Tags: marc-pcmcia-base
Changes since 1.105: +7 -1
lines
Diff to previous 1.105 (colored)
o Make usage of /dev/random dependant on pseudo-device rnd # /dev/random and in-kernel generator in config files. o Add declaration to all architectures. o Clean up copyright message in rnd.c, rnd.h, and rndpool.c to include that this code is derived in part from Ted Tyso's linux code.
Revision 1.105 / (download) - annotate - [select for diffs], Fri Oct 10 08:19:41 1997 UTC (14 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.104: +2 -3
lines
Diff to previous 1.104 (colored)
GC pageproc and bclnlist.
Revision 1.104 / (download) - annotate - [select for diffs], Thu Oct 9 23:53:01 1997 UTC (14 years, 7 months ago) by explorer
Branch: MAIN
Changes since 1.103: +1 -7
lines
Diff to previous 1.103 (colored)
make /dev/random standard, per message from Jason
Revision 1.103 / (download) - annotate - [select for diffs], Thu Oct 9 23:17:37 1997 UTC (14 years, 7 months ago) by explorer
Branch: MAIN
Changes since 1.102: +9 -1
lines
Diff to previous 1.102 (colored)
add hooks to initialize the random driver
Revision 1.101.4.1 / (download) - annotate - [select for diffs], Tue Sep 16 03:51:00 1997 UTC (14 years, 8 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.101: +3 -2
lines
Diff to previous 1.101 (colored)
Update marc-pcmcia branch from trunk.
Revision 1.102 / (download) - annotate - [select for diffs], Thu Sep 11 23:02:33 1997 UTC (14 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.101: +3 -2
lines
Diff to previous 1.101 (colored)
Fix execve(2) and *setregs() interfaces so emulations can set registers in a more correct way. (See tech-kern.)
Revision 1.101.6.1 / (download) - annotate - [select for diffs], Mon Sep 8 23:08:26 1997 UTC (14 years, 8 months ago) by thorpej
Branch: thorpej-signal
Changes since 1.101: +10 -4
lines
Diff to previous 1.101 (colored) next main 1.102 (colored)
Allocate process 0's sigacts statically.
Revision 1.101 / (download) - annotate - [select for diffs], Sat Jun 14 04:18:34 1997 UTC (14 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-signal-base,
marc-pcmcia-bp,
bouyer-scsipi
Branch point for: thorpej-signal,
marc-pcmcia
Changes since 1.100: +3 -2
lines
Diff to previous 1.100 (colored)
Call cpu_dumpconf() after cpu_rootconf().
Revision 1.100 / (download) - annotate - [select for diffs], Thu Jun 12 17:12:17 1997 UTC (14 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.99: +2 -4
lines
Diff to previous 1.99 (colored)
remove swap configuration.
Revision 1.99 / (download) - annotate - [select for diffs], Fri May 16 21:39:55 1997 UTC (15 years ago) by gwr
Branch: MAIN
Changes since 1.98: +4 -7
lines
Diff to previous 1.98 (colored)
Eliminate vmspace.vm_pmap and all references to it unless __VM_PMAP_HACK is defined (for temporary compatibility). The __VM_PMAP_HACK code should be removed after all the ports that define it have removed all vm_pmap references.
Revision 1.98 / (download) - annotate - [select for diffs], Wed Mar 26 22:38:45 1997 UTC (15 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.97: +6 -1
lines
Diff to previous 1.97 (colored)
Move findroot/setroot stuff from configure() to cpu_rootconf().
Revision 1.97 / (download) - annotate - [select for diffs], Sun Feb 2 02:55:06 1997 UTC (15 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Changes since 1.96: +2 -2
lines
Diff to previous 1.96 (colored)
Add missing \n in printf format for "cannot mount root" error message. Pointed out by cgd@netbsd.org
Revision 1.96 / (download) - annotate - [select for diffs], Fri Jan 31 05:25:24 1997 UTC (15 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.95: +8 -8
lines
Diff to previous 1.95 (colored)
fix check_console() changes: * prototype it before it is used (several ports compile with -Wstrict-prototypes -Wmissing-prototypes), so this is _necessary_. * conform to C syntax (yes, that's right, it wouldn't parse). * make error check less error-prone, + style fixups.
Revision 1.95 / (download) - annotate - [select for diffs], Fri Jan 31 02:25:47 1997 UTC (15 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.94: +16 -7
lines
Diff to previous 1.94 (colored)
- NFSCLIENT -> NFS - Run mountroot hooks before we attempt to mount the root device, and destroy mountroot hooks after the root file system has been sucessfully mounted. - Don't panic if we can't mount root. Instead, set RB_ASKNAME and call setroot(), which will prompt the operator for the root device and file system type.
Revision 1.94 / (download) - annotate - [select for diffs], Fri Jan 31 00:50:38 1997 UTC (15 years, 3 months ago) by mouse
Branch: MAIN
Changes since 1.93: +2 -1
lines
Diff to previous 1.93 (colored)
Oops, forgot the #include.
Revision 1.93 / (download) - annotate - [select for diffs], Fri Jan 31 00:47:12 1997 UTC (15 years, 3 months ago) by mouse
Branch: MAIN
Changes since 1.92: +27 -1
lines
Diff to previous 1.92 (colored)
Apply the interim fix from PR 2236, reformatted and a comment added. Not a real fix, but it should help until we get a real fix done.
Revision 1.92.2.1 / (download) - annotate - [select for diffs], Tue Jan 14 21:27:02 1997 UTC (15 years, 4 months ago) by thorpej
Branch: thorpej-setroot
Changes since 1.92: +16 -7
lines
Diff to previous 1.92 (colored) next main 1.93 (colored)
Snapshot of work-in-progress, committed to private branch. These changes implement machine-independent root device and file system selection. Notable features: - All ports behave in a consistent manner regarding root device selection. - No more "options GENERIC"; all kernels have the ability to boot with RB_ASKNAME to select root device and file system type. - Root file system type can be wildcarded; a machine-independent function will try all possible file systems for the selected root device until one succeeds. - If the root file system fails to mount, the operator will be given the chance to select a new root device and file system type, rather than having the machine simply panic. - nfs_mountroot() no longer panics if any part of the NFS mount process fails; it now returns an error, giving the operator a chance to recover. - New, more consistent, config(8) grammar. The constructs: config netbsd swap generic config netbsd root on nfs have been replaced with: config netbsd root on ? type ? config netbsd root on ? type nfs Additionally, the operator may select or wildcard root file system type in the kernel configuration file: config netbsd root on cd0a type cd9660 config(8) now requires that a "root" specification be made. "root" may be wired down or wildcarded. "swap" and "dump" specifications are optional, and follow previous semantics. - config(8) has a new "file-system" keyword, used to configure file systems into the kernel. Eventually, this will be used to generate the default vfssw[]. - "options NFSCLIENT" is obsolete, and is replaced by "file-system NFS". "options NFSSERVER" still exists, since NFS server support is independent of the NFS file system client. - sys/arch/<foo>/<foo>/swapgeneric.c is no longer used, and will be removed; all information is now generated by config(8). As of this commit, all ports except arm32 have been updated to use the new setroot(). Only SPARC, i386, and Alpha ports have been tested at this time. Port masters should test these changes on their ports, and report any problems back to me. More changes are on their way, including RB_ASKNAME support in nfs_mountroot() (to prompt for server address and path) and, potentially, the ability to select rarp/bootparam or bootp in nfs_mountroot().
Revision 1.92 / (download) - annotate - [select for diffs], Sun Dec 22 10:21:06 1996 UTC (15 years, 5 months ago) by cgd
Branch: MAIN
Branch point for: thorpej-setroot
Changes since 1.91: +3 -3
lines
Diff to previous 1.91 (colored)
* catch up with system call argument type fixups/const poisoning. * Fix arguments to various copyin()/copyout() invocations, to avoid gratuitous casts. * Some KNF formatting fixes
Revision 1.91 / (download) - annotate - [select for diffs], Tue Dec 3 00:22:43 1996 UTC (15 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.90: +7 -1
lines
Diff to previous 1.90 (colored)
Make NFSSERVER work without NFSCLIENT. This is achieved by splitting the client and server/shared data initialization into separate functions, and calling the server/shared initialization directly from main(). Problem noted in PR #1308 (Kenneth Stailey) and PR #1780 (Chris Demetriou). Fix suggested in PR #1780 by Chris Demetriou, and munged a bit by me, and OK'd by Frank van der Linden <fvdl@netbsd.org>.
Revision 1.90 / (download) - annotate - [select for diffs], Sun Oct 13 02:32:30 1996 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.89: +6 -6
lines
Diff to previous 1.89 (colored)
backout previous kprintf change
Revision 1.89 / (download) - annotate - [select for diffs], Thu Oct 10 22:46:12 1996 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.88: +6 -6
lines
Diff to previous 1.88 (colored)
printf -> kprintf, sprintf -> ksprintf
Revision 1.88 / (download) - annotate - [select for diffs], Thu Oct 10 00:27:41 1996 UTC (15 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.87: +1 -2
lines
Diff to previous 1.87 (colored)
Fix botch in netbsd-1-2 merge (multiple inclusion of <sys/tty.h>), pointed out by Jonathan Stone <jonathan@DSG.Standford.EDU>.
Revision 1.87 / (download) - annotate - [select for diffs], Wed Oct 9 00:59:15 1996 UTC (15 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.86: +2 -1
lines
Diff to previous 1.86 (colored)
Merge the netbsd-1-2 branch back into the mainline.
Revision 1.86 / (download) - annotate - [select for diffs], Sat Oct 5 06:32:43 1996 UTC (15 years, 7 months ago) by scottr
Branch: MAIN
Changes since 1.85: +2 -2
lines
Diff to previous 1.85 (colored)
Expand tab in copyright message; it loses on some consoles.
Revision 1.84.4.1 / (download) - annotate - [select for diffs], Sun Jun 2 09:08:06 1996 UTC (15 years, 11 months ago) by mrg
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA
Changes since 1.84: +3 -1
lines
Diff to previous 1.84 (colored) next main 1.85 (colored)
pull up tty stats "bug fix".
Revision 1.85 / (download) - annotate - [select for diffs], Wed May 29 19:10:16 1996 UTC (16 years ago) by mrg
Branch: MAIN
Changes since 1.84: +3 -1
lines
Diff to previous 1.84 (colored)
call tty_init().
Revision 1.84 / (download) - annotate - [select for diffs], Mon Apr 22 01:38:12 1996 UTC (16 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Changes since 1.83: +1 -2
lines
Diff to previous 1.83 (colored)
remove include of <sys/cpu.h>
Revision 1.83 / (download) - annotate - [select for diffs], Thu Apr 4 00:26:28 1996 UTC (16 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.82: +2 -1
lines
Diff to previous 1.82 (colored)
call config_init() before autoconfiguration, to initialize alldevs and allevents lists.
Revision 1.82 / (download) - annotate - [select for diffs], Fri Feb 9 18:59:21 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.81: +14 -5
lines
Diff to previous 1.81 (colored)
More proto fixes
Revision 1.81 / (download) - annotate - [select for diffs], Sun Feb 4 02:15:09 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.80: +10 -2
lines
Diff to previous 1.80 (colored)
First pass at prototyping
Revision 1.80 / (download) - annotate - [select for diffs], Sun Jan 7 22:03:47 1996 UTC (16 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.79: +3 -1
lines
Diff to previous 1.79 (colored)
New generic disk framework. Highlights: - New metrics handling. Metrics are now kept in the new `struct disk'. Busy time is now stored as a timeval, and transfer count in bytes. - Storage for disklabels is now dynamically allocated, so that the size of the disk structure is not machine-dependent. - Several new functions for attaching and detaching disks, and handling metrics calculation. Old-style instrumentation is still supported in drivers that did it before. However, old-style instrumentation is being deprecated, and will go away once the userland utilities are updated for the new framework. For usage and architectural details, see the forthcoming disk(9) manual page.
Revision 1.79 / (download) - annotate - [select for diffs], Sat Dec 9 04:07:41 1995 UTC (16 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.78: +11 -13
lines
Diff to previous 1.78 (colored)
Eliminate an extra variable.
Revision 1.78 / (download) - annotate - [select for diffs], Sat Oct 7 06:28:05 1995 UTC (16 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Changes since 1.77: +6 -6
lines
Diff to previous 1.77 (colored)
Prefix names of system call implementation functions with `sys_'.
Revision 1.77 / (download) - annotate - [select for diffs], Sat Apr 22 19:42:47 1995 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.76: +27 -1
lines
Diff to previous 1.76 (colored)
- new copyargs routine. - use emul_xxx - deprecate nsysent; use constant SYS_MAXSYSCALL instead. - deprecate ep_setup - call sendsig and setregs indirectly.
Revision 1.76 / (download) - annotate - [select for diffs], Sat Mar 25 22:05:15 1995 UTC (17 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.75: +45 -13
lines
Diff to previous 1.75 (colored)
make it reasonable for processes to not double-map it's user area and kstack
Revision 1.75 / (download) - annotate - [select for diffs], Sun Mar 19 23:27:03 1995 UTC (17 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.74: +3 -15
lines
Diff to previous 1.74 (colored)
Nuke startinit_verbose.
Revision 1.74 / (download) - annotate - [select for diffs], Wed Jan 18 06:14:43 1995 UTC (17 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.73: +4 -3
lines
Diff to previous 1.73 (colored)
Turn mountlist into a CIRCLEQ, and handle setting and checking of MNT_ROOTFS differently.
Revision 1.73 / (download) - annotate - [select for diffs], Thu Jan 12 05:22:18 1995 UTC (17 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.72: +2 -2
lines
Diff to previous 1.72 (colored)
cast pointers to longs.
Revision 1.72 / (download) - annotate - [select for diffs], Sat Dec 24 14:07:52 1994 UTC (17 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.71: +2 -1
lines
Diff to previous 1.71 (colored)
make return type explicit, from James Jegers
Revision 1.71 / (download) - annotate - [select for diffs], Mon Dec 19 14:36:46 1994 UTC (17 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.70: +2 -2
lines
Diff to previous 1.70 (colored)
use ALIGNBYTES for calculating alignment. no reason not to, and good style to do so.
Revision 1.70 / (download) - annotate - [select for diffs], Thu Nov 3 05:58:44 1994 UTC (17 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.69: +2 -2
lines
Diff to previous 1.69 (colored)
you cannot ALIGN() backwards
Revision 1.69 / (download) - annotate - [select for diffs], Fri Oct 28 23:17:22 1994 UTC (17 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.68: +3 -3
lines
Diff to previous 1.68 (colored)
kill space.
Revision 1.68 / (download) - annotate - [select for diffs], Thu Oct 20 04:22:35 1994 UTC (17 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.67: +16 -8
lines
Diff to previous 1.67 (colored)
update for new syscall args description mechanism
Revision 1.67 / (download) - annotate - [select for diffs], Tue Oct 18 06:28:06 1994 UTC (17 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.66: +15 -3
lines
Diff to previous 1.66 (colored)
DEBUG and/or DIAGNOSTIC shouldn't cause thing to be printed for "normal" cases, unless the user explicitly requests it. add variable startinit_verbose to control init-starting messages.
Revision 1.61.2.3 / (download) - annotate - [select for diffs], Tue Oct 11 09:27:12 1994 UTC (17 years, 7 months ago) by mycroft
Branch: netbsd-1-0
CVS Tags: netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0
Changes since 1.61.2.2: +5 -3
lines
Diff to previous 1.61.2.2 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)
Update from trunk.
Revision 1.66 / (download) - annotate - [select for diffs], Tue Oct 11 09:26:01 1994 UTC (17 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.65: +5 -3
lines
Diff to previous 1.65 (colored)
Avoid GCC generating a call to memset().
Revision 1.61.2.2 / (download) - annotate - [select for diffs], Thu Oct 6 04:18:22 1994 UTC (17 years, 7 months ago) by mycroft
Branch: netbsd-1-0
Changes since 1.61.2.1: +30 -14
lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored)
Update from trunk.
Revision 1.65 / (download) - annotate - [select for diffs], Thu Sep 22 02:17:00 1994 UTC (17 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.64: +2 -1
lines
Diff to previous 1.64 (colored)
Maintain vfs reference counts.
Revision 1.64 / (download) - annotate - [select for diffs], Sat Sep 10 04:44:23 1994 UTC (17 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.63: +29 -14
lines
Diff to previous 1.63 (colored)
Nuke the silly `--' hack when there are no flags.
Revision 1.63 / (download) - annotate - [select for diffs], Tue Aug 30 03:05:29 1994 UTC (17 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.62: +12 -8
lines
Diff to previous 1.62 (colored)
Convert process, file, and namei lists and hash tables to use queue.h.
Revision 1.61.2.1 / (download) - annotate - [select for diffs], Sun Jul 17 23:52:19 1994 UTC (17 years, 10 months ago) by cgd
Branch: netbsd-1-0
Changes since 1.61: +1 -1
lines
Diff to previous 1.61 (colored)
from trunk.
Revision 1.62 / (download) - annotate - [select for diffs], Sun Jul 17 23:52:09 1994 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.61: +1 -1
lines
Diff to previous 1.61 (colored)
fix RCS ID. *sigh*
Revision 1.61 / (download) - annotate - [select for diffs], Sun Jul 3 11:45:41 1994 UTC (17 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.60: +406 -1
lines
Diff to previous 1.60 (colored)
No more HP copyright.
Revision 1.60 / (download) - annotate - [select for diffs], Sun Jul 3 00:19:54 1994 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.59: +1 -1
lines
Diff to previous 1.59 (colored)
kill a relic
Revision 1.59 / (download) - annotate - [select for diffs], Thu Jun 30 19:00:49 1994 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.58: +1 -1
lines
Diff to previous 1.58 (colored)
fix warning
Revision 1.58 / (download) - annotate - [select for diffs], Thu Jun 30 15:57:05 1994 UTC (17 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.57: +1 -1
lines
Diff to previous 1.57 (colored)
fix some lossage
Revision 1.57 / (download) - annotate - [select for diffs], Wed Jun 29 06:32:15 1994 UTC (17 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.56: +1 -1
lines
Diff to previous 1.56 (colored)
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.56 / (download) - annotate - [select for diffs], Wed Jun 8 11:28:30 1994 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.55: +1 -1
lines
Diff to previous 1.55 (colored)
Update to 4.4-Lite fs code.
Revision 1.55 / (download) - annotate - [select for diffs], Fri Jun 3 04:26:06 1994 UTC (17 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.54: +1 -1
lines
Diff to previous 1.54 (colored)
kill old init-starting code
Revision 1.54 / (download) - annotate - [select for diffs], Tue May 31 21:56:06 1994 UTC (17 years, 11 months ago) by phil
Branch: MAIN
Changes since 1.53: +1 -1
lines
Diff to previous 1.53 (colored)
pc532 now does new init process
Revision 1.53 / (download) - annotate - [select for diffs], Sun May 29 05:20:11 1994 UTC (18 years ago) by gwr
Branch: MAIN
Changes since 1.52: +1 -1
lines
Diff to previous 1.52 (colored)
Now the sun3 stars init the new way.
Revision 1.52 / (download) - annotate - [select for diffs], Fri May 27 23:01:02 1994 UTC (18 years ago) by deraadt
Branch: MAIN
Changes since 1.51: +1 -1
lines
Diff to previous 1.51 (colored)
ufs/ufs/quote.h? no.. not yet..
Revision 1.51 / (download) - annotate - [select for diffs], Fri May 27 12:49:52 1994 UTC (18 years ago) by mycroft
Branch: MAIN
Changes since 1.50: +1 -1
lines
Diff to previous 1.50 (colored)
hp300 port is blessed.
Revision 1.50 / (download) - annotate - [select for diffs], Fri May 27 11:25:00 1994 UTC (18 years ago) by mycroft
Branch: MAIN
Changes since 1.49: +1 -1
lines
Diff to previous 1.49 (colored)
The i386 port is now blessed.
Revision 1.49 / (download) - annotate - [select for diffs], Fri May 27 10:33:23 1994 UTC (18 years ago) by chopps
Branch: MAIN
Changes since 1.48: +1 -1
lines
Diff to previous 1.48 (colored)
amiga now included in list of new init bootstrap users
Revision 1.48 / (download) - annotate - [select for diffs], Fri May 27 08:51:21 1994 UTC (18 years ago) by mycroft
Branch: MAIN
Changes since 1.47: +1 -1
lines
Diff to previous 1.47 (colored)
Fix thinko in last change.
Revision 1.47 / (download) - annotate - [select for diffs], Fri May 27 08:46:50 1994 UTC (18 years ago) by mycroft
Branch: MAIN
Changes since 1.46: +1 -1
lines
Diff to previous 1.46 (colored)
Get the arguments to vm_allocate() right in new init code.
Revision 1.46 / (download) - annotate - [select for diffs], Fri May 27 07:54:34 1994 UTC (18 years ago) by glass
Branch: MAIN
Changes since 1.45: +1 -1
lines
Diff to previous 1.45 (colored)
pmax and sparc take the 4.4-lite path
Revision 1.45 / (download) - annotate - [select for diffs], Sat May 21 07:47:54 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.44: +1 -1
lines
Diff to previous 1.44 (colored)
add latent stupport for new way of starting init
Revision 1.44 / (download) - annotate - [select for diffs], Thu May 19 05:57:17 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.43: +1 -1
lines
Diff to previous 1.43 (colored)
kill a notdef
Revision 1.43 / (download) - annotate - [select for diffs], Wed May 18 05:12:36 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.42: +1 -1
lines
Diff to previous 1.42 (colored)
mostly-machine-indepedent switch, and changes to match. also, hack init_main
Revision 1.42 / (download) - annotate - [select for diffs], Mon May 16 09:50:40 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.41: +1 -1
lines
Diff to previous 1.41 (colored)
kill uname-related crap
Revision 1.41 / (download) - annotate - [select for diffs], Fri May 13 00:51:05 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.40: +1 -1
lines
Diff to previous 1.40 (colored)
setrq -> setrunqueue, sched -> scheduler
Revision 1.40 / (download) - annotate - [select for diffs], Thu May 5 05:37:58 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.39: +1 -1
lines
Diff to previous 1.39 (colored)
lots of changes: prototype migration, move lots of variables, definitions, and structure elements around. kill some unnecessary type and macro definitions. standardize clock handling. More changes than you'd want.
Revision 1.39 / (download) - annotate - [select for diffs], Wed May 4 03:41:46 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.38: +1 -1
lines
Diff to previous 1.38 (colored)
Rename a lot of process flags.
Revision 1.38 / (download) - annotate - [select for diffs], Fri Mar 18 18:57:13 1994 UTC (18 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.37: +1 -1
lines
Diff to previous 1.37 (colored)
Clean up uname(2) code some more.
Revision 1.37 / (download) - annotate - [select for diffs], Sun Feb 13 04:18:06 1994 UTC (18 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.36: +1 -1
lines
Diff to previous 1.36 (colored)
KNFify uname code.
Revision 1.36 / (download) - annotate - [select for diffs], Wed Jan 26 21:55:44 1994 UTC (18 years, 4 months ago) by mw
Branch: MAIN
Changes since 1.35: +1 -1
lines
Diff to previous 1.35 (colored)
amiga wants RTC started early, too (like i386 and mac)
Revision 1.25.2.11 / (download) - annotate - [select for diffs], Fri Jan 14 03:42:13 1994 UTC (18 years, 4 months ago) by deraadt
Branch: magnum
Changes since 1.25.2.10: +1 -1
lines
Diff to previous 1.25.2.10 (colored) next main 1.26 (colored)
`extern int cpu' isn't used at all.
Revision 1.35 / (download) - annotate - [select for diffs], Fri Jan 14 03:41:49 1994 UTC (18 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.34: +1 -1
lines
Diff to previous 1.34 (colored)
`extern int cpu' isn't used at all.
Revision 1.34 / (download) - annotate - [select for diffs], Sun Jan 9 15:56:22 1994 UTC (18 years, 4 months ago) by briggs
Branch: MAIN
Changes since 1.33: +1 -1
lines
Diff to previous 1.33 (colored)
Ugh. Missed the other. mac=>mac68k...
Revision 1.33 / (download) - annotate - [select for diffs], Sun Jan 9 15:54:20 1994 UTC (18 years, 4 months ago) by briggs
Branch: MAIN
Changes since 1.32: +1 -1
lines
Diff to previous 1.32 (colored)
mac => mac68k
Revision 1.32 / (download) - annotate - [select for diffs], Sat Jan 8 04:15:41 1994 UTC (18 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.31: +1 -1
lines
Diff to previous 1.31 (colored)
#include vm_user.h.
Revision 1.31 / (download) - annotate - [select for diffs], Sat Dec 18 04:19:44 1993 UTC (18 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.30: +1 -1
lines
Diff to previous 1.30 (colored)
Canonicalize all #includes.
Revision 1.25.2.10 / (download) - annotate - [select for diffs], Thu Nov 25 20:10:51 1993 UTC (18 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.25.2.9: +1 -1
lines
Diff to previous 1.25.2.9 (colored)
Make the update daemon internal to the kernel. (No, this is *not* the FreeBSD implementation, so don't ask.)
Revision 1.25.2.9 / (download) - annotate - [select for diffs], Wed Nov 24 23:33:37 1993 UTC (18 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.25.2.8: +1 -1
lines
Diff to previous 1.25.2.8 (colored)
Move the bdevvp()s for swap and root devices after the new location of swap and root config. Make the new code not #ifdef i386.
Revision 1.25.2.8 / (download) - annotate - [select for diffs], Wed Nov 24 21:30:02 1993 UTC (18 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.25.2.7: +1 -1
lines
Diff to previous 1.25.2.7 (colored)
Do root and swap configuration right before mountroot(), as they may have to poke at disklabels and whatnot, and we want to do that when we can sleep().
Revision 1.30 / (download) - annotate - [select for diffs], Tue Nov 23 07:49:04 1993 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.29: +1 -1
lines
Diff to previous 1.29 (colored)
initialize pseudo devices with pdevinit[], not with a bunch of #include/#ifdef pairs..
Revision 1.25.2.7 / (download) - annotate - [select for diffs], Sun Nov 14 20:31:33 1993 UTC (18 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.25.2.6: +1 -1
lines
Diff to previous 1.25.2.6 (colored)
Canonicalize all #includes.
Revision 1.25.2.6 / (download) - annotate - [select for diffs], Sun Nov 14 14:46:45 1993 UTC (18 years, 6 months ago) by cgd
Branch: magnum
Changes since 1.25.2.5: +1 -1
lines
Diff to previous 1.25.2.5 (colored)
Update from trunk: Add the System V message queue and semaphore facilities. Implemented by Daniel Boulet <danny@BouletFermat.ab.ca>
Revision 1.29 / (download) - annotate - [select for diffs], Sun Nov 14 13:22:48 1993 UTC (18 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.28: +1 -1
lines
Diff to previous 1.28 (colored)
Add the System V message queue and semaphore facilities. Implemented by Daniel Boulet <danny@BouletFermat.ab.ca>
Revision 1.28 / (download) - annotate - [select for diffs], Fri Oct 15 06:16:22 1993 UTC (18 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.27: +1 -1
lines
Diff to previous 1.27 (colored)
get rid of __main() -- it's going into libkern
Revision 1.25.2.5 / (download) - annotate - [select for diffs], Wed Sep 29 06:31:00 1993 UTC (18 years, 8 months ago) by mycroft
Branch: magnum
Changes since 1.25.2.4: +1 -1
lines
Diff to previous 1.25.2.4 (colored)
init_main.c: Remove calls to startrtclock(), startkgclock(), and enablertclock(). sys_process.c: Remove profil() (now in subr_prof.c). vfs_bio.c: Merge changes from trunk. kern_clock.c, tty_pty.c: Trivial changes to match KNF.
Revision 1.25.2.4 / (download) - annotate - [select for diffs], Tue Sep 28 05:45:55 1993 UTC (18 years, 8 months ago) by deraadt
Branch: magnum
Changes since 1.25.2.3: +1 -1
lines
Diff to previous 1.25.2.3 (colored)
define some things from sys/kernel.h
Revision 1.25.2.3 / (download) - annotate - [select for diffs], Tue Sep 28 03:00:38 1993 UTC (18 years, 8 months ago) by deraadt
Branch: magnum
Changes since 1.25.2.2: +1 -1
lines
Diff to previous 1.25.2.2 (colored)
temp hack so the sparc code compiles
Revision 1.25.2.2 / (download) - annotate - [select for diffs], Fri Sep 24 08:50:48 1993 UTC (18 years, 8 months ago) by mycroft
Branch: magnum
Changes since 1.25.2.1: +1 -1
lines
Diff to previous 1.25.2.1 (colored)
Make all files using spl*() #include cpu.h. Changes from trunk. init_main.c: New method of pseudo-device of initialization. kern_clock.c: hardclock() and softclock() now take a pointer to a clockframe. softclock() only does callouts. kern_synch.c: Remove spurious declaration of endtsleep(). Adjust uses of averunnable for new struct loadav. subr_prf.c: Allow printf() formats in panic(). tty.c: averunnable changes. vfs_subr.c: va_size and va_bytes are now quads.
Revision 1.27 / (download) - annotate - [select for diffs], Wed Sep 15 22:30:32 1993 UTC (18 years, 8 months ago) by cgd
Branch: MAIN
CVS Tags: magnum-base
Changes since 1.26: +1 -1
lines
Diff to previous 1.26 (colored)
make allproc be volatile, and cast things accordingly. suggested by torek, because CSRG had problems with reordering of assignments to allproc leading to strange panics from kernels compiled with gcc2...
Revision 1.25.2.1 / (download) - annotate - [select for diffs], Tue Sep 14 18:24:08 1993 UTC (18 years, 8 months ago) by mycroft
Branch: magnum
Changes since 1.25: +1 -1
lines
Diff to previous 1.25 (colored)
init_main.c: clock changes from 4.4; initclocks() is called after vfsinit(). No startrtclock() or enablertclock(). Some pseudo-device cruft, but this needs to be updated. kern_clock.c: from 4.4: gatherstats() --> statclock(). statclock(), hardclock(), and softclock() take a `struct clockframe *'. New initclocks(), harclock(), statclock(), startprofclock(), and stopprofclock(). kern_synch.c: from 4.4: machine-independent swtch(), which is now where process time is integrated. Calls cpu_swtch() with the current process as an arg. subr_autoconf.c: Fix typo. subr_prf.c: msgbufp and msgbufmapped are define in machdep.c tty.c: Make TIOCHPCL #ifdef COMPAT_43. Incorporate changes from main branch.
Revision 1.26 / (download) - annotate - [select for diffs], Sun Sep 12 07:56:22 1993 UTC (18 years, 8 months ago) by glass
Branch: MAIN
Changes since 1.25: +1 -1
lines
Diff to previous 1.25 (colored)
check return codes on copyout()s, panic if they fail.
Revision 1.25 / (download) - annotate - [select for diffs], Tue Aug 31 13:46:31 1993 UTC (18 years, 8 months ago) by deraadt
Branch: MAIN
Branch point for: magnum
Changes since 1.24: +1 -1
lines
Diff to previous 1.24 (colored)
fixed a little /lib/cpp boo-boo
Revision 1.24 / (download) - annotate - [select for diffs], Sun Aug 29 01:50:49 1993 UTC (18 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.23: +1 -1
lines
Diff to previous 1.23 (colored)
print more DIAGNOSITC info, and startrtclock early on the mac (like i386)
Revision 1.23 / (download) - annotate - [select for diffs], Mon Aug 23 16:04:11 1993 UTC (18 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.22: +1 -1
lines
Diff to previous 1.22 (colored)
RLIMIT_OFILE --> RLIMIT_NOFILE
Revision 1.22 / (download) - annotate - [select for diffs], Sat Aug 14 06:38:29 1993 UTC (18 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.21: +1 -1
lines
Diff to previous 1.21 (colored)
ppp from paul mackerras
Revision 1.21 / (download) - annotate - [select for diffs], Sat Aug 7 06:25:43 1993 UTC (18 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.20: +1 -1
lines
Diff to previous 1.20 (colored)
do the Net/2 thing with startrtclock() for non-i386 architectures. i386's startrtclock should be moved down, as well, but i believe it does some magic...
Revision 1.20 / (download) - annotate - [select for diffs], Wed Jul 28 02:21:58 1993 UTC (18 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.19: +1 -1
lines
Diff to previous 1.19 (colored)
incorporate changes from 0-9-base to 0-9-ALPHA
Revision 1.19.2.5 / (download) - annotate - [select for diffs], Thu Jul 22 10:10:51 1993 UTC (18 years, 10 months ago) by mycroft
Branch: netbsd-0-9
CVS Tags: netbsd-0-9-patch-001,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA
Changes since 1.19.2.4: +1 -1
lines
Diff to previous 1.19.2.4 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)
Change bcopy()s back to copyout()s.
Revision 1.19.2.4 / (download) - annotate - [select for diffs], Tue Jul 20 06:02:37 1993 UTC (18 years, 10 months ago) by mycroft
Branch: netbsd-0-9
Changes since 1.19.2.3: +1 -1
lines
Diff to previous 1.19.2.3 (colored) to branchpoint 1.19 (colored)
HI CHRIS! You forgot to change the init stuff back to using bcopy() rather than copyout().
Revision 1.19.2.3 / (download) - annotate - [select for diffs], Tue Jul 20 03:20:33 1993 UTC (18 years, 10 months ago) by cgd
Branch: netbsd-0-9
Changes since 1.19.2.2: +1 -1
lines
Diff to previous 1.19.2.2 (colored) to branchpoint 1.19 (colored)
do the right thing with stack size & limits, so exec doesn't get hosed later.
Revision 1.19.2.2 / (download) - annotate - [select for diffs], Mon Jul 19 22:40:41 1993 UTC (18 years, 10 months ago) by cgd
Branch: netbsd-0-9
Changes since 1.19.2.1: +1 -1
lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored)
add back in: (1) uname code (2) gcc2 compat stuff (3) minor bug fixes (i.e. init args fix) (i.e. no code written by wfj...)
Revision 1.19.2.1 / (download) - annotate - [select for diffs], Mon Jul 19 22:34:54 1993 UTC (18 years, 10 months ago) by cgd
Branch: netbsd-0-9
Changes since 1.19: +1 -1
lines
Diff to previous 1.19 (colored)
revert init_main.c to net/2
Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 18 08:17:36 1993 UTC (18 years, 10 months ago) by andrew
Branch: MAIN
CVS Tags: netbsd-0-9-base
Branch point for: netbsd-0-9
Changes since 1.18: +1 -1
lines
Diff to previous 1.18 (colored)
* don't used copyout() to relocate icode - use bcopy() instead
Revision 1.18 / (download) - annotate - [select for diffs], Sat Jul 10 03:25:03 1993 UTC (18 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.17: +1 -1
lines
Diff to previous 1.17 (colored)
handle the initflags problem in a simple (if twisted) way. also, remind the pagedaemon that it's a daemon, not an r... 8-)
Revision 1.17 / (download) - annotate - [select for diffs], Sat Jul 10 02:48:57 1993 UTC (18 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +1 -1
lines
Diff to previous 1.16 (colored)
Change the names of processes 0 and 2.
Revision 1.16 / (download) - annotate - [select for diffs], Sun Jun 27 06:01:29 1993 UTC (18 years, 11 months ago) by andrew
Branch: MAIN
Changes since 1.15: +1 -1
lines
Diff to previous 1.15 (colored)
ANSIfications - removed all implicit function return types and argument definitions. Ensured that all files include "systm.h" to gain access to general prototypes. Casts where necessary.
Revision 1.15 / (download) - annotate - [select for diffs], Mon Jun 21 02:06:10 1993 UTC (18 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +1 -1
lines
Diff to previous 1.14 (colored)
> NetBSD 0.8a (TDR) #2: Mon Jun 21 11:06:03 MDT 1993 produces "uname -v" output "TDR#2" "uname -a" then is.. > NetBSD gecko 0.8a TDR#2 i386
Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 18 02:11:20 1993 UTC (18 years, 11 months ago) by brezak
Branch: MAIN
Changes since 1.13: +1 -1
lines
Diff to previous 1.13 (colored)
Find version number for uname.
Revision 1.13 / (download) - annotate - [select for diffs], Thu May 20 15:36:20 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.12: +1 -1
lines
Diff to previous 1.12 (colored)
hack on the uname "machine name" stuff for hopefully the last time. now it uses MACHINE, as defined in param.h
Revision 1.12 / (download) - annotate - [select for diffs], Thu May 20 02:54:14 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.11: +1 -1
lines
Diff to previous 1.11 (colored)
add $Id$ strings, and clean up file headers where necessary
Revision 1.11 / (download) - annotate - [select for diffs], Thu May 20 02:06:00 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.10: +1 -1
lines
Diff to previous 1.10 (colored)
make uname stuff in init_main machine independent
Revision 1.10 / (download) - annotate - [select for diffs], Fri May 7 04:09:18 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.9: +1 -1
lines
Diff to previous 1.9 (colored)
fix uname initialization
Revision 1.9 / (download) - annotate - [select for diffs], Thu May 6 10:48:25 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.8: +1 -1
lines
Diff to previous 1.8 (colored)
diffs for uname (posix!) system call, provided by John Brezak <brezak@osf.org>
Revision 1.8 / (download) - annotate - [select for diffs], Wed Apr 28 04:19:25 1993 UTC (19 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.7: +1 -1
lines
Diff to previous 1.7 (colored)
Give processes 0 and 2 more appropriate names (`scheduler' and `swapper', respectively).
Revision 1.7 / (download) - annotate - [select for diffs], Sat Apr 10 20:46:16 1993 UTC (19 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1,
netbsd-0-8
Changes since 1.6: +1 -1
lines
Diff to previous 1.6 (colored)
version's not supposed to be printed here; it's supposed to be printed in machdep.c
Revision 1.6 / (download) - annotate - [select for diffs], Tue Apr 6 14:23:00 1993 UTC (19 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.5: +1 -1
lines
Diff to previous 1.5 (colored)
changed order of copyright/version notice (to match 4.4 boot string)...
Revision 1.5 / (download) - annotate - [select for diffs], Sat Apr 3 11:19:42 1993 UTC (19 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.4: +1 -1
lines
Diff to previous 1.4 (colored)
got rid of accidental extra newline
Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 3 02:18:32 1993 UTC (19 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.3: +1 -1
lines
Diff to previous 1.3 (colored)
added changes from Steven Reiz <sreiz@aie.nl> (based on those by Poul-Henning Kamp <phk@data.fls.dk>) to get the kernel to compile properly when gcc2.* is cc. (should still work when gcc1.39 is in use.)
Revision 1.3 / (download) - annotate - [select for diffs], Sat Apr 3 01:41:32 1993 UTC (19 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.2: +1 -1
lines
Diff to previous 1.2 (colored)
now just prints out version. also, got rid of kernel_version, and fixed wfj's trampling on UCB copyright notices.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 23 22:16:43 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.1: +1 -1
lines
Diff to previous 1.1 (colored)
got rid of hightlighted test, and changed copyright/kernel version string delcarations
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: WFJ-920714,
CSRG
CVS Tags: patchkit-0-2-2,
WFJ-386bsd-01
Changes since 1.1: +1 -1
lines
Diff to previous 1.1 (colored)
initial import of 386bsd-0.1 sources
Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN
Initial revision