Up to [cvs.NetBSD.org] / src / sys / rump / librump / rumpkern
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.127 / (download) - annotate - [select for diffs], Wed May 1 17:52:34 2013 UTC (2 weeks, 3 days ago) by pooka
Branch: MAIN
CVS Tags: khorben-n900,
HEAD
Changes since 1.126: +5 -3
lines
Diff to previous 1.126 (colored)
Actually, there's no point in unconditionally compiling in weak stubs which will never be used in the NetBSD build. Comment hyperstubs.c out from SRCS, but retain the source module as documentation.
Revision 1.126 / (download) - annotate - [select for diffs], Tue Apr 30 13:54:53 2013 UTC (2 weeks, 4 days ago) by pooka
Branch: MAIN
Changes since 1.125: +3 -2
lines
Diff to previous 1.125 (colored)
weak stubs for optional hypercalls
Revision 1.125 / (download) - annotate - [select for diffs], Sat Apr 27 15:34:53 2013 UTC (3 weeks ago) by pooka
Branch: MAIN
Changes since 1.124: +3 -2
lines
Diff to previous 1.124 (colored)
* treat kern_malloc.c as an unreal allocator (it's so lightweight) * get rid of the rumpuser_realloc() hypercall * pass size to rumpuser_free()
Revision 1.124 / (download) - annotate - [select for diffs], Fri Mar 15 12:09:58 2013 UTC (2 months ago) by pooka
Branch: MAIN
CVS Tags: agc-symver-base,
agc-symver
Changes since 1.123: +2 -2
lines
Diff to previous 1.123 (colored)
Allow Makefile.rump to append to SRCS.
Revision 1.123 / (download) - annotate - [select for diffs], Sun Mar 10 17:05:12 2013 UTC (2 months, 1 week ago) by pooka
Branch: MAIN
Changes since 1.122: +4 -4
lines
Diff to previous 1.122 (colored)
Use kern_malloc.c instead of the relegated allocators in memalloc.c. Previously this didn't make sense due to the use of kmem_map, but the new malloc is more dynamic and puts sense into using it.
Revision 1.122 / (download) - annotate - [select for diffs], Sun Mar 10 16:27:11 2013 UTC (2 months, 1 week ago) by pooka
Branch: MAIN
Changes since 1.121: +4 -2
lines
Diff to previous 1.121 (colored)
Always include subr_vmem.c, even with RUMP_UNREAL_ALLOCATORS=yes (previously it was just missing in that case). Record wchan to unreal pool_init() to avoid memory leak warning.
Revision 1.121 / (download) - annotate - [select for diffs], Sun Dec 30 23:52:12 2012 UTC (4 months, 2 weeks ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
tls-maxphys-nbase,
tls-maxphys-base
Changes since 1.120: +2 -2
lines
Diff to previous 1.120 (colored)
Take into account armv6 hacks from common/lib/libc/arch/arm/atomic to allow this to build with -march=armv6k
Revision 1.120 / (download) - annotate - [select for diffs], Sun Nov 4 11:12:31 2012 UTC (6 months, 1 week ago) by apb
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.119: +3 -2
lines
Diff to previous 1.119 (colored)
Add references to ${_NETBSD_VERSION_DEPENDS} for files that
need to be re-created when the NetBSD version changes. They
will also be re-created when any build settings are changed.
Revision 1.119 / (download) - annotate - [select for diffs], Fri Jul 20 09:20:05 2012 UTC (9 months, 4 weeks ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.118: +9 -6
lines
Diff to previous 1.118 (colored)
Make it possible to select between real and unreal allocators from make. Plus some gratuitous renaming.
Revision 1.118 / (download) - annotate - [select for diffs], Fri Jun 22 12:45:43 2012 UTC (10 months, 3 weeks ago) by rmind
Branch: MAIN
Changes since 1.117: +3 -1
lines
Diff to previous 1.117 (colored)
rumpkern:
- Add subr_kcpuset.c and subr_pserialize.c modules.
- Add kcpuset_{running,attached} for RUMP env.
Revision 1.117 / (download) - annotate - [select for diffs], Sun Apr 29 02:29:41 2012 UTC (12 months, 2 weeks ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
jmcneill-usbmp-base9,
jmcneill-usbmp-base10
Changes since 1.116: +1 -2
lines
Diff to previous 1.116 (colored)
G/C kern_malloc_stdtype.c
Revision 1.116 / (download) - annotate - [select for diffs], Sat Mar 10 21:52:00 2012 UTC (14 months, 1 week ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base4,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7
Changes since 1.115: +3 -2
lines
Diff to previous 1.115 (colored)
P1003_1B_SEMAPHORE is no longer optional.
Revision 1.115 / (download) - annotate - [select for diffs], Thu Feb 2 19:43:08 2012 UTC (15 months, 2 weeks ago) by tls
Branch: MAIN
CVS Tags: netbsd-6-base,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.114: +3 -1
lines
Diff to previous 1.114 (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.114 / (download) - annotate - [select for diffs], Sun Dec 4 19:24:59 2011 UTC (17 months, 2 weeks ago) by jym
Branch: MAIN
Changes since 1.113: +3 -1
lines
Diff to previous 1.113 (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.113 / (download) - annotate - [select for diffs], Sun Nov 27 00:38:12 2011 UTC (17 months, 3 weeks ago) by tsutsui
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.112: +1 -2
lines
Diff to previous 1.112 (colored)
Revert "stopcap fix" for rump by christos, which causes build failure on most non-x86 ports and seems unnecessary. (caused by wrong rump_namei.h?)
Revision 1.112 / (download) - annotate - [select for diffs], Fri Nov 25 17:54:15 2011 UTC (17 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.111: +2 -1
lines
Diff to previous 1.111 (colored)
Add subr_open_disk.c for getdiskinfo(). Once we get rid of getdiskinfo, this will not be needed.
Revision 1.111 / (download) - annotate - [select for diffs], Sat Nov 19 22:51:30 2011 UTC (17 months, 4 weeks ago) by tls
Branch: MAIN
Changes since 1.110: +2 -2
lines
Diff to previous 1.110 (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.110 / (download) - annotate - [select for diffs], Sun Jun 12 06:36:38 2011 UTC (23 months, 1 week ago) by mrg
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.109: +2 -2
lines
Diff to previous 1.109 (colored)
include uvm_object.c in the rump kernel for the new uvm_obj* functions. don't build the uvm_object.c uvm_object_printit() for _RUMPKERNEL. (XXX) add empty panic() stubs for uvm_loanbreak() and ubc_purge(). fixes some more 5.99.53 rump build issues.
Revision 1.109 / (download) - annotate - [select for diffs], Thu May 19 21:24:55 2011 UTC (2 years ago) by joerg
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.108: +2 -2
lines
Diff to previous 1.108 (colored)
Spell --fatal-warnings with two hyphens
Revision 1.108 / (download) - annotate - [select for diffs], Mon Mar 21 05:15:18 2011 UTC (2 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.107: +3 -1
lines
Diff to previous 1.107 (colored)
Include bsd.own.mk before making decisions based on mk.conf.
Revision 1.107 / (download) - annotate - [select for diffs], Mon Jan 17 16:20:20 2011 UTC (2 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.106: +6 -3
lines
Diff to previous 1.106 (colored)
use compat code from sys/compat/common
Revision 1.106 / (download) - annotate - [select for diffs], Thu Jan 6 11:22:55 2011 UTC (2 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.105: +5 -1
lines
Diff to previous 1.105 (colored)
Support LOCKDEBUG. To use it, compile sys/rump with RUMP_LOCKDEBUG=yes. requested by martin (sparc64 gdb cannot reliably produce a stack trace)
Revision 1.105 / (download) - annotate - [select for diffs], Tue Jan 4 16:23:36 2011 UTC (2 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.104: +3 -15
lines
Diff to previous 1.104 (colored)
Add SMP support for all architectures. tested on sparc64 by martin
Revision 1.104 / (download) - annotate - [select for diffs], Fri Dec 17 00:53:16 2010 UTC (2 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.103: +10 -2
lines
Diff to previous 1.103 (colored)
Support MKREPRO
Revision 1.103 / (download) - annotate - [select for diffs], Fri Nov 26 09:25:39 2010 UTC (2 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.102: +2 -2
lines
Diff to previous 1.102 (colored)
Duh, it's x86_64, not amd64. This should make the races which require SMP trigger in the amd64/qemu runs again.
Revision 1.102 / (download) - annotate - [select for diffs], Mon Nov 22 10:50:50 2010 UTC (2 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.101: +2 -2
lines
Diff to previous 1.101 (colored)
rename atomic_cas_up to rump_atomic_cas_up to avoid collisions
Revision 1.101 / (download) - annotate - [select for diffs], Sun Nov 21 22:17:24 2010 UTC (2 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.100: +11 -1
lines
Diff to previous 1.100 (colored)
Encode smp-capability into the makefile so that it can be used to avoid potential screwups.
Revision 1.100 / (download) - annotate - [select for diffs], Sun Nov 21 21:46:43 2010 UTC (2 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.99: +5 -3
lines
Diff to previous 1.99 (colored)
Add a lockless uniprocessor version of atomic_cas_generic.c, which is currently used by all the archs that previously used cas_generic.
Revision 1.99 / (download) - annotate - [select for diffs], Sun Nov 21 17:34:11 2010 UTC (2 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.98: +2 -1
lines
Diff to previous 1.98 (colored)
Realize the >1yo comment above rump_reboot and retire them to make room for sys_reboot.
Revision 1.98 / (download) - annotate - [select for diffs], Wed Oct 27 20:37:11 2010 UTC (2 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base4
Changes since 1.97: +2 -2
lines
Diff to previous 1.97 (colored)
"i build dead files". ok, so let's not.
Revision 1.97 / (download) - annotate - [select for diffs], Mon Sep 6 20:10:20 2010 UTC (2 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
uebayasi-xip-base3
Changes since 1.96: +2 -2
lines
Diff to previous 1.96 (colored)
Use standard uvm aobj pager. Most of the kernel aobj pager complexity comes from swap handling, but that is included only with VMSWAP.
Revision 1.96 / (download) - annotate - [select for diffs], Wed Sep 1 19:37:58 2010 UTC (2 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.95: +4 -4
lines
Diff to previous 1.95 (colored)
Implement rump_lwproc: the new lwp/proc management routines for rump. These move the management of the pid/lwpid space from the application into the kernel, make code more robust, and make it possible to attach multiple lwp's to non-proc0 processes.
Revision 1.95 / (download) - annotate - [select for diffs], Mon Aug 30 09:44:40 2010 UTC (2 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.94: +2 -1
lines
Diff to previous 1.94 (colored)
Include kern_prot.c for setuid etc.
Revision 1.94 / (download) - annotate - [select for diffs], Mon Aug 30 09:44:11 2010 UTC (2 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.93: +46 -15
lines
Diff to previous 1.93 (colored)
Use one line per sys/kern source module. no functional change.
Revision 1.93 / (download) - annotate - [select for diffs], Sat Aug 21 13:20:43 2010 UTC (2 years, 8 months ago) by pgoyette
Branch: MAIN
Changes since 1.92: +8 -7
lines
Diff to previous 1.92 (colored)
Add the new kern_cfglock.c to rump.
Revision 1.92 / (download) - annotate - [select for diffs], Mon Jul 19 15:33:16 2010 UTC (2 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10,
uebayasi-xip-base2
Changes since 1.91: +2 -1
lines
Diff to previous 1.91 (colored)
* move stat syscalls to newstyle compat * implement compat for pollts
Revision 1.91 / (download) - annotate - [select for diffs], Wed Jun 16 11:45:21 2010 UTC (2 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.90: +4 -3
lines
Diff to previous 1.90 (colored)
Reinstate the blanket pmap.h for archs which do not conform to the kernel ABI (i.e. not i386 or amd64). Due to the "half function, half macro, all noodles" nature of pmap.h, it's too entangling and too brittle to keep up with an ifdeffy MI implementation.
Revision 1.90 / (download) - annotate - [select for diffs], Sun Jun 13 15:17:02 2010 UTC (2 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.89: +5 -1
lines
Diff to previous 1.89 (colored)
Fix previous in emul.c -- only numbers are operands for cpp comparisons. Apparently non-numbers logically produce arch-dependent behaviour.
Revision 1.89 / (download) - annotate - [select for diffs], Thu Jun 10 21:40:42 2010 UTC (2 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.88: +4 -4
lines
Diff to previous 1.88 (colored)
Use kern_proc.c instead of a collection of stubs. But what we really wanted from this commit was the support for proc_specificdata. TODO: make creating a new process actually use kern_proc and maybe even add an interface which starts a process with "any pid you don't like"
Revision 1.88 / (download) - annotate - [select for diffs], Sun Jun 6 20:09:38 2010 UTC (2 years, 11 months ago) by njoly
Branch: MAIN
Changes since 1.87: +2 -2
lines
Diff to previous 1.87 (colored)
Make vers.c depend on sys/param.h too, to ensure that this file is regenerated for on kernel version bump. Avoids __NetBSD_Version__ and osrelease out of sync problem for mkupdate builds. ok from pooka@.
Revision 1.87 / (download) - annotate - [select for diffs], Tue May 18 16:30:22 2010 UTC (3 years ago) by pooka
Branch: MAIN
Changes since 1.86: +3 -3
lines
Diff to previous 1.86 (colored)
Whoops, default to MP locking.
Revision 1.86 / (download) - annotate - [select for diffs], Tue May 18 16:29:36 2010 UTC (3 years ago) by pooka
Branch: MAIN
Changes since 1.85: +8 -3
lines
Diff to previous 1.85 (colored)
Add uniprocessor versions of mutex/rw/cv. They work only on virtual unicpu configurations (i.e. RUMP_NCPU==1), but are massively faster than the multiprocessor versions since the fast path does not have to perform any cache coherent operations. _Applications_ with lock-happy kernel paths, i.e. _not_ lock microbenchmarks, measure up to tens of percents speedup on my Core2 Duo. Every globally atomic state required by normal locks/atomic ops implies a hideous speed penalty even for the fast path. While this requires a unicpu configuration, it should be noted that we are talking about a virtual unicpu configuration. The host can have as many processors as it desires, and the speed benefit of virtual unicpu is still there. It's pretty obvious that in terms of scalability simple workload partitioning and replication into multiple kernels wins hands down over complicated locking or locklessing algorithms which depend on globally atomic state.
Revision 1.85 / (download) - annotate - [select for diffs], Tue May 18 15:12:19 2010 UTC (3 years ago) by pooka
Branch: MAIN
Changes since 1.84: +4 -4
lines
Diff to previous 1.84 (colored)
Move routines related to kernel locking and scheduling from locks.c to klock.c. No functional change.
Revision 1.84 / (download) - annotate - [select for diffs], Tue May 11 22:21:05 2010 UTC (3 years ago) by pooka
Branch: MAIN
Changes since 1.83: +4 -8
lines
Diff to previous 1.83 (colored)
Actually, push defining _RUMPKERNEL down to libkern, since it's not needed elsewhere.
Revision 1.83 / (download) - annotate - [select for diffs], Tue May 11 21:08:07 2010 UTC (3 years ago) by pooka
Branch: MAIN
Changes since 1.82: +8 -1
lines
Diff to previous 1.82 (colored)
Limit visibility of _RUMPKERNEL to prevent abuse.
Revision 1.82 / (download) - annotate - [select for diffs], Fri Apr 30 20:54:17 2010 UTC (3 years ago) by pooka
Branch: MAIN
Changes since 1.81: +4 -1
lines
Diff to previous 1.81 (colored)
Include devsw_conv0 from an i386 kernel compilation (no, we don't care about the arch as long as all the devices we care about are present). The file should be autogenerated, but that requires some more changes to config(1).
Revision 1.81 / (download) - annotate - [select for diffs], Mon Apr 26 23:17:13 2010 UTC (3 years ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.80: +3 -3
lines
Diff to previous 1.80 (colored)
Implement kobj_renamespace() for rump. Support for a few archs is missing, but that doesn't really matter, since they are living in their own "everything is a macro" happyland and don't support the native kernel ABI anyway.
Revision 1.80 / (download) - annotate - [select for diffs], Wed Apr 21 16:29:08 2010 UTC (3 years ago) by pooka
Branch: MAIN
Changes since 1.79: +2 -2
lines
Diff to previous 1.79 (colored)
Move sys_module from vfs to kern -- while modules cannot be loaded, there's not forbidden about querying the list of (builtin) modules even when running without vfs.
Revision 1.79 / (download) - annotate - [select for diffs], Wed Apr 21 16:16:31 2010 UTC (3 years ago) by pooka
Branch: MAIN
Changes since 1.78: +5 -5
lines
Diff to previous 1.78 (colored)
support kern_resource
Revision 1.78 / (download) - annotate - [select for diffs], Wed Apr 21 11:38:05 2010 UTC (3 years ago) by pooka
Branch: MAIN
Changes since 1.77: +3 -3
lines
Diff to previous 1.77 (colored)
Move all signal-related from emul.c to signals.c. Additionally, define a few alternate signal models for the rump kernel, including ones where signals are ignored or sent to host processes.
Revision 1.77 / (download) - annotate - [select for diffs], Wed Apr 14 14:49:05 2010 UTC (3 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.76: +4 -3
lines
Diff to previous 1.76 (colored)
Use kern_syscall.c instead of homegrown syscall dis/establishment routines.
Revision 1.76 / (download) - annotate - [select for diffs], Wed Apr 14 10:27:53 2010 UTC (3 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.75: +3 -3
lines
Diff to previous 1.75 (colored)
Include kern_tc and use a timecounter driver instead of homerolled kern_tc implementation.
Revision 1.75 / (download) - annotate - [select for diffs], Mon Apr 12 22:17:23 2010 UTC (3 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.74: +4 -3
lines
Diff to previous 1.74 (colored)
support lwp specificdata
Revision 1.74 / (download) - annotate - [select for diffs], Tue Feb 16 20:42:47 2010 UTC (3 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.73: +1 -2
lines
Diff to previous 1.73 (colored)
Globally define -Wno-pointer-sign, as it has become a pointless exercise of "add it to every Makefile individually". XXX: should autosynchronize with the rest of the kernel buildflags in sys/conf/Makefile.kern.inc.
Revision 1.73 / (download) - annotate - [select for diffs], Sun Jan 31 15:12:42 2010 UTC (3 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.72: +4 -4
lines
Diff to previous 1.72 (colored)
Include newly-created subr_device.c and remove few special case device accessor copypastes. This makes it possible to link static binaries which use -lrumpdev.
Revision 1.72 / (download) - annotate - [select for diffs], Sun Jan 31 02:08:36 2010 UTC (3 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.71: +2 -2
lines
Diff to previous 1.71 (colored)
include kern_hook.c
Revision 1.71 / (download) - annotate - [select for diffs], Fri Jan 15 19:01:04 2010 UTC (3 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.70: +4 -4
lines
Diff to previous 1.70 (colored)
Use subr_percpu.c instead of homegrown implementation. ...except when using malloc(3)-relegated allocators (happens in production e.g. on Linux), since subr_percpu.c uses vmem and i don't want to reimplement vmem.
Revision 1.70 / (download) - annotate - [select for diffs], Wed Dec 16 21:25:55 2009 UTC (3 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.69: +2 -2
lines
Diff to previous 1.69 (colored)
update to newnewvers.sh usage
Revision 1.69 / (download) - annotate - [select for diffs], Wed Dec 16 20:57:15 2009 UTC (3 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.68: +7 -1
lines
Diff to previous 1.68 (colored)
Generate vers.c and include it in the kernel component.
Revision 1.68 / (download) - annotate - [select for diffs], Mon Dec 14 21:19:23 2009 UTC (3 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.67: +3 -1
lines
Diff to previous 1.67 (colored)
Make librump play with mips nicely. Define ARCH_ELFSIZE for mips to be 32. This works for N64 kernels because objcopy them to be 32bit to the bootloaders can handle them.
Revision 1.67 / (download) - annotate - [select for diffs], Sun Dec 13 08:25:20 2009 UTC (3 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.66: +4 -4
lines
Diff to previous 1.66 (colored)
rename LD32DIR to MLIBDIR.
Revision 1.66 / (download) - annotate - [select for diffs], Tue Dec 1 09:52:29 2009 UTC (3 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.65: +2 -2
lines
Diff to previous 1.65 (colored)
Include cpu crosscall support (instead of stubbing it out).
Revision 1.65 / (download) - annotate - [select for diffs], Fri Nov 27 13:45:15 2009 UTC (3 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.64: +7 -5
lines
Diff to previous 1.64 (colored)
Now that Makefile.rump was changed and everything gets built in update builds too, flip the allocator define to prefer the kernel pool/kmem instead of malloc(3). Use malloc(3) only if RUMP_USE_UNREAL_ALLOCATORS is defined.
Revision 1.64 / (download) - annotate - [select for diffs], Thu Nov 26 17:24:52 2009 UTC (3 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.63: +2 -2
lines
Diff to previous 1.63 (colored)
include sys_pipe.c
Revision 1.63 / (download) - annotate - [select for diffs], Fri Nov 6 16:16:59 2009 UTC (3 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.62: +3 -3
lines
Diff to previous 1.62 (colored)
Enable kernel kmem/vmem/pool/pool_cache by default again instead of malloc(3) allocators.
Revision 1.62 / (download) - annotate - [select for diffs], Wed Nov 4 19:21:51 2009 UTC (3 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.61: +2 -2
lines
Diff to previous 1.61 (colored)
misc_stub and emul have been the same thing for a looong time now, so just move the few remaining routines in misc_stub to emul.
Revision 1.61 / (download) - annotate - [select for diffs], Wed Nov 4 19:17:53 2009 UTC (3 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.60: +2 -2
lines
Diff to previous 1.60 (colored)
Give the kthread->pthread interface emulation its own module.
Revision 1.60 / (download) - annotate - [select for diffs], Wed Nov 4 18:25:36 2009 UTC (3 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.59: +3 -3
lines
Diff to previous 1.59 (colored)
Pull all relegating memory allocators under a common roof in memalloc.c
Revision 1.59 / (download) - annotate - [select for diffs], Wed Nov 4 17:01:45 2009 UTC (3 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.58: +4 -3
lines
Diff to previous 1.58 (colored)
move copy-related routines to their own module
Revision 1.58 / (download) - annotate - [select for diffs], Wed Nov 4 16:55:20 2009 UTC (3 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.57: +5 -5
lines
Diff to previous 1.57 (colored)
Use std. uiomove() & friends.
Revision 1.57 / (download) - annotate - [select for diffs], Wed Nov 4 13:32:39 2009 UTC (3 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.56: +4 -3
lines
Diff to previous 1.56 (colored)
Use kern_mutex_obj.c directly instead of copypasting code.
Revision 1.56 / (download) - annotate - [select for diffs], Tue Nov 3 18:44:15 2009 UTC (3 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.55: +2 -4
lines
Diff to previous 1.55 (colored)
move module to SRCS where it logically belongs. no functional change.
Revision 1.55 / (download) - annotate - [select for diffs], Tue Oct 20 10:42:41 2009 UTC (3 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.54: +5 -1
lines
Diff to previous 1.54 (colored)
Actually, put uvm_readahead into rumpkern, since while it's technically vfs stuff, sys_descrip depends on it and readahead itself uses only the pager interface.
Revision 1.54 / (download) - annotate - [select for diffs], Mon Oct 19 22:07:29 2009 UTC (3 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.53: +2 -2
lines
Diff to previous 1.53 (colored)
treat sun2 like the other losing platforms.
Revision 1.53 / (download) - annotate - [select for diffs], Fri Oct 16 00:14:53 2009 UTC (3 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.52: +2 -2
lines
Diff to previous 1.52 (colored)
Include sys_select.c for proper select()/poll() support.
Revision 1.52 / (download) - annotate - [select for diffs], Thu Oct 15 00:28:46 2009 UTC (3 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.51: +6 -5
lines
Diff to previous 1.51 (colored)
Add initial work on a rump virtual cpu scheduler. This is necessary for kernel code which has been written to avoid MP contention by using cpu-local storage (most prominently, select and pool_cache). Instead of always assuming rump_cpu, the scheduler must now be run (and unrun) on all entry points into rump. Likewise, rumpuser unruns and re-runs the scheduler around each potentially blocking operation. As an optimization, I modified some locking primitives to try to get the lock without blocking before releasing the cpu. Also, ltsleep was modified to assume that it is never called without the biglock held and made to use the biglock as the sleep interlock. Otherwise there is just too much drama with deadlocks. If some kernel code wants to call ltsleep without the biglock, then, *snif*, it's no longer supported and rump and should be modified to support newstyle locks anyway.
Revision 1.51 / (download) - annotate - [select for diffs], Wed Oct 14 17:29:19 2009 UTC (3 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.50: +3 -1
lines
Diff to previous 1.50 (colored)
Adjust rump sources for external/internal interfaces. No functional change.
Revision 1.50 / (download) - annotate - [select for diffs], Fri Oct 2 18:50:15 2009 UTC (3 years, 7 months ago) by elad
Branch: MAIN
Changes since 1.49: +3 -3
lines
Diff to previous 1.49 (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.49 / (download) - annotate - [select for diffs], Fri Oct 2 15:51:26 2009 UTC (3 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.48: +5 -4
lines
Diff to previous 1.48 (colored)
Include humanize and extent support in rumpkern.
Revision 1.48 / (download) - annotate - [select for diffs], Wed Sep 16 15:10:23 2009 UTC (3 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.47: +4 -4
lines
Diff to previous 1.47 (colored)
include init_sysctl_base.c
Revision 1.47 / (download) - annotate - [select for diffs], Sun Sep 6 20:54:19 2009 UTC (3 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.46: +3 -3
lines
Diff to previous 1.46 (colored)
Run rump_dev_init() where available.
Revision 1.46 / (download) - annotate - [select for diffs], Tue Jun 2 23:28:53 2009 UTC (3 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
jymxensuspend-base
Changes since 1.45: +2 -2
lines
Diff to previous 1.45 (colored)
include syscalls.c
Revision 1.45 / (download) - annotate - [select for diffs], Sat May 2 14:16:52 2009 UTC (4 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
jym-xensuspend-base
Branch point for: yamt-nfs-mp
Changes since 1.44: +3 -4
lines
Diff to previous 1.44 (colored)
Do not include securelevel, it includes too many dependencies on vfs in its current form.
Revision 1.44 / (download) - annotate - [select for diffs], Wed Apr 29 17:51:47 2009 UTC (4 years ago) by pooka
Branch: MAIN
Changes since 1.43: +3 -2
lines
Diff to previous 1.43 (colored)
Add proof-of-concept code for enabling system calls to rump virtual kernels running in other processes on the same machine or on an entirely different host. I wrote this a while ago and am now committing it mainly to avoid losing it. It works, but could do with a little tuning here and there. What this will hopefully eventually buy us is the ability to use standard userland tools to configure rump kernels, e.g. ifconfig(8) and route(8) could be used to configure the networking stack provided by a rump kernel. Also some distributed OS implications may apply. fun fact: a system call which just does copyin/copyout takes >1000x longer when made over the LAN as compared to when made on the same machine.
Revision 1.43 / (download) - annotate - [select for diffs], Thu Apr 16 14:07:17 2009 UTC (4 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Changes since 1.42: +7 -2
lines
Diff to previous 1.42 (colored)
When I switched to real kauth, I forgot to include a secmodel. Fix this oversight by including bsd44. Makes permissions for p2k work again.
Revision 1.42 / (download) - annotate - [select for diffs], Sun Mar 29 18:22:08 2009 UTC (4 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.41: +3 -3
lines
Diff to previous 1.41 (colored)
include subr_evcnt
Revision 1.41 / (download) - annotate - [select for diffs], Wed Mar 18 17:56:15 2009 UTC (4 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.40: +5 -5
lines
Diff to previous 1.40 (colored)
Support kqueue in the rump virtual kernel.
Revision 1.40 / (download) - annotate - [select for diffs], Fri Jan 30 02:30:03 2009 UTC (4 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Changes since 1.39: +3 -3
lines
Diff to previous 1.39 (colored)
Turn of real allocators and fall back to malloc(3) for the time being. Since we have many threads but pretend to have only one cpu, the pool code runs into concurrency trouble for cpu-private data.
Revision 1.39 / (download) - annotate - [select for diffs], Fri Jan 23 13:14:16 2009 UTC (4 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.38: +6 -4
lines
Diff to previous 1.38 (colored)
Add a compile-time option to use kmem/vmem/pools from the kernel sources instead of homegrown allocators. Default to "on", even though they appear to be a few percent slower at least on short jobs (e.g. untar to tmpfs).
Revision 1.38 / (download) - annotate - [select for diffs], Sun Jan 18 20:42:11 2009 UTC (4 years, 3 months ago) by he
Branch: MAIN
Changes since 1.37: +2 -2
lines
Diff to previous 1.37 (colored)
Change the use of formally undocumented features, which have now been
made to fail. Specifically, change
.ifdef(SYMBOL) -> .ifdef SYMBOL or .if defined(SYMBOL),
and corresponding for .ifndef.
Also correct one error in lib/libm/Makefile (.ifdef (${MKCOMPLEX} != "no")?!?).
Revision 1.37 / (download) - annotate - [select for diffs], Wed Jan 14 23:22:09 2009 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.36: +3 -2
lines
Diff to previous 1.36 (colored)
Do rump kernel symbol protection for vax. All archs support it now.
Revision 1.36 / (download) - annotate - [select for diffs], Mon Jan 12 02:22:55 2009 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.35: +12 -1
lines
Diff to previous 1.35 (colored)
* Add adapted version of the userspace atomic_cas ops for platforms lacking special instructions. We always use the spinlocked version (could use RAS on UP NetBSD host, but it's not portable). * Add platform-based symbol quirk tables for selectively not renaming toolchain symbols for some platforms. Although, this should really depend on the (toolchain,platform)-tuple and not just the platform. This allows arm, hppa, mips and sh3 to build succesfully with an isolated rump kernel namespace. ... now, one arch remains: vax. you must compile vax. then, only then will you MI be.
Revision 1.35 / (download) - annotate - [select for diffs], Thu Jan 8 19:14:37 2009 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.34: +1 -6
lines
Diff to previous 1.34 (colored)
Remove vax MD source which is now brought in automatically via libkern.
Revision 1.34 / (download) - annotate - [select for diffs], Tue Jan 6 01:00:57 2009 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.33: +4 -2
lines
Diff to previous 1.33 (colored)
adjust LD32DIR comment. per discussion with mrg
Revision 1.33 / (download) - annotate - [select for diffs], Mon Jan 5 21:42:37 2009 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.32: +1 -2
lines
Diff to previous 1.32 (colored)
Rename malloc() to kern_malloc() to avoid name conflict with libc. Now it is possible to use the kernel linker with rump.
Revision 1.32 / (download) - annotate - [select for diffs], Mon Jan 5 14:35:47 2009 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.31: +2 -1
lines
Diff to previous 1.31 (colored)
Assemble with _LOCORE.
Revision 1.31 / (download) - annotate - [select for diffs], Sun Jan 4 20:30:21 2009 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.30: +9 -13
lines
Diff to previous 1.30 (colored)
Include libkern contents in librump.
Revision 1.30 / (download) - annotate - [select for diffs], Fri Jan 2 14:03:15 2009 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.29: +9 -1
lines
Diff to previous 1.29 (colored)
Add kludge to allow amd64 compat to build. This is not a proper fix which most likely requires some compat lib build infra toggle.
Revision 1.29 / (download) - annotate - [select for diffs], Fri Jan 2 02:54:13 2009 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.28: +3 -3
lines
Diff to previous 1.28 (colored)
Include kernel printf routines in rump instead of relying on the magic libc symbol. This also allows to bid farewell to subr_prf2.c and merge the contents back to subr_prf.c. The host kernel bridging is now done via rumpuser_putchar().
Revision 1.28 / (download) - annotate - [select for diffs], Thu Jan 1 19:43:57 2009 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.27: +1 -2
lines
Diff to previous 1.27 (colored)
Purge multiple kernel opt files.
Revision 1.27 / (download) - annotate - [select for diffs], Thu Jan 1 19:07:43 2009 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.26: +17 -6
lines
Diff to previous 1.26 (colored)
Define MODULAR for rump core components. This enables module loading via the kernel module framework (instead of dlopen()). For now it only works on amd64 and i386, but for the rest it should just be a matter of including the relevant kobj_machdep.c modules from the kernel sources.
Revision 1.26 / (download) - annotate - [select for diffs], Wed Dec 31 13:08:57 2008 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.25: +4 -3
lines
Diff to previous 1.25 (colored)
Include rb.c instead of relying on it being in libc.
Revision 1.25 / (download) - annotate - [select for diffs], Tue Dec 30 09:49:21 2008 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.24: +2 -1
lines
Diff to previous 1.24 (colored)
-I${RUMPTOP}/librump/rumpkern so that build from src/lib works.
noted by Geoff Wing on current-users
Revision 1.24 / (download) - annotate - [select for diffs], Mon Dec 29 22:16:15 2008 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.23: +7 -1
lines
Diff to previous 1.23 (colored)
Switch i386 away from rump/include/machine. This means that rump on i386 now uses the native kernel ABI. This in turn means that rump modules and kernel modules are binary equivalent and can be used interchangeably.
Revision 1.23 / (download) - annotate - [select for diffs], Mon Dec 29 17:45:55 2008 UTC (4 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.22: +2 -2
lines
Diff to previous 1.22 (colored)
include subr_devsw in rumpkern
Revision 1.22 / (download) - annotate - [select for diffs], Thu Dec 18 11:16:36 2008 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.21: +7 -3
lines
Diff to previous 1.21 (colored)
include snprintb
Revision 1.21 / (download) - annotate - [select for diffs], Thu Dec 18 11:09:34 2008 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.20: +2 -3
lines
Diff to previous 1.20 (colored)
.PATH maintenance
Revision 1.20 / (download) - annotate - [select for diffs], Wed Nov 19 14:10:49 2008 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Changes since 1.19: +15 -19
lines
Diff to previous 1.19 (colored)
Split vfs out of rumpkern into rumpvfs. Non-fs rumps no longer include the file system code. File system rumps explicitly need to include rumpvfs from now on.
Revision 1.19 / (download) - annotate - [select for diffs], Tue Nov 18 11:36:58 2008 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.18: +4 -4
lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Mon Nov 17 08:53:12 2008 UTC (4 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.17: +1 -54
lines
Diff to previous 1.17 (colored)
Move rump public headers to include/rump
Revision 1.17 / (download) - annotate - [select for diffs], Sat Oct 25 22:27:38 2008 UTC (4 years, 6 months ago) by apb
Branch: MAIN
CVS Tags: netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b
Branch point for: nick-hppapmap,
netbsd-5
Changes since 1.16: +7 -7
lines
Diff to previous 1.16 (colored)
Use ${TOOL_SED} instead if plain sed in Makefiles.
Revision 1.16 / (download) - annotate - [select for diffs], Wed Oct 15 13:04:26 2008 UTC (4 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-base2,
haad-dm-base1
Branch point for: haad-dm
Changes since 1.15: +2 -1
lines
Diff to previous 1.15 (colored)
Add support bits necessary for rumpnet functionality.
Revision 1.15 / (download) - annotate - [select for diffs], Sat Oct 11 13:40:58 2008 UTC (4 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.14: +3 -3
lines
Diff to previous 1.14 (colored)
Move uidinfo to its own module in kern_uidinfo.c and include in rump. No functional change to uidinfo.
Revision 1.14 / (download) - annotate - [select for diffs], Fri Oct 10 20:19:35 2008 UTC (4 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4
Changes since 1.13: +7 -6
lines
Diff to previous 1.13 (colored)
Add a simple percpu implementation (which isn't actually percpu at all, since we don't currently have the notion of "real" cpu in rump...but that's beyond the point).
Revision 1.13 / (download) - annotate - [select for diffs], Fri Oct 10 13:14:41 2008 UTC (4 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.12: +4 -4
lines
Diff to previous 1.12 (colored)
Support callouts and call callout_hardclock() from the timer interrupt thread. The sleepq implementation required for callouts is horrible, kludged only for callouts, and generally unacceptable. It needs revisiting, but I'm not sure yet should rump or kern_timeout be improved. It's almost untested as of now, but committing this will give me some maneuvering space while letting application compile.
Revision 1.12 / (download) - annotate - [select for diffs], Thu Oct 9 21:30:06 2008 UTC (4 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.11: +6 -4
lines
Diff to previous 1.11 (colored)
add kern_rate, subr_iostat and subr_once
Revision 1.11 / (download) - annotate - [select for diffs], Thu Oct 9 21:25:50 2008 UTC (4 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.10: +24 -14
lines
Diff to previous 1.10 (colored)
Reorganize SRCS+= into smaller chunks to make adding new files easier. No functional change.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Oct 9 17:58:33 2008 UTC (4 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored)
No point in having our private atomic ops, just use the ones now available in libc.
Revision 1.9 / (download) - annotate - [select for diffs], Tue Sep 30 19:25:56 2008 UTC (4 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.8: +3 -3
lines
Diff to previous 1.8 (colored)
Switch to std kern_auth.
Revision 1.8 / (download) - annotate - [select for diffs], Sat Sep 27 16:03:30 2008 UTC (4 years, 7 months ago) by pooka
Branch: MAIN
Branch point for: mjf-devfs2
Changes since 1.7: +4 -4
lines
Diff to previous 1.7 (colored)
Help out reinoud a bit with the challenge of adding vfs_dirhash.c here
Revision 1.7 / (download) - annotate - [select for diffs], Thu Sep 25 16:23:45 2008 UTC (4 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.6: +8 -7
lines
Diff to previous 1.6 (colored)
Move global malloc types from kern_malloc into a separate module.
Revision 1.6 / (download) - annotate - [select for diffs], Mon Aug 4 15:02:16 2008 UTC (4 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2
Branch point for: wrstuden-revivesa
Changes since 1.5: +10 -6
lines
Diff to previous 1.5 (colored)
Add support for using real kmem/vmem. Don't enable it by default, though, since it a) is a lot of unnecessary indirection in rump b) requires callouts which are so far unimplemented.
Revision 1.5 / (download) - annotate - [select for diffs], Sat Aug 2 15:31:14 2008 UTC (4 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.4: +7 -7
lines
Diff to previous 1.4 (colored)
sort sys/kern SRCS alphabetically.
Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 1 19:34:51 2008 UTC (4 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.3: +4 -4
lines
Diff to previous 1.3 (colored)
support real sysctls
Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 31 05:38:05 2008 UTC (4 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (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.2 / (download) - annotate - [select for diffs], Wed Jul 30 01:32:47 2008 UTC (4 years, 9 months ago) by oster
Branch: MAIN
CVS Tags: simonb-wapbl-nbase,
simonb-wapbl-base
Branch point for: simonb-wapbl
Changes since 1.1: +16 -10
lines
Diff to previous 1.1 (colored)
Fix race during creation of rumpdefs.h, rumpvnode_if.h, and rumpvnode_if.c. Patch from pooka@ with tweak from me. Approved by: pooka
Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 29 13:17:47 2008 UTC (4 years, 9 months ago) by pooka
Branch: MAIN
Install rump libraries and utilities to the base system and remove the
private non-installed build infrastructure from sys/rump.
breakdown of commit:
* install relevant headers into /usr/include/rump
* build sys/rump/librump/rumpuser and sys/rump/librump/rumpkern
from src/lib and install as librumpuser and librump, respectively
+ this retains the ability to test a librump build with just the
kernel sources at hand
* move sys/rump/fs/lib/libukfs and sys/rump/fs/lib/libp2k to src/lib
for general consumption, they are not kernel-space dwellers anyway
* build and install sys/rump/fs/lib/lib$fs as librumpfs_$fs
* add chapter 3 manual pages for rump, rumpuser, ukfs and p2k
* build and install userspace kernel file system daemons if MKPUFFS=yes
is spexified
* retire fsconsole for now, it will make a comeback with an actually
implemented version shortly