History log of /netbsd/sys/rump/librump/rumpkern/emul.c (Results 76 – 100 of 199)
Revision Date Author Comments
# 59e540bb 31-Mar-2010 pooka <pooka@NetBSD.org>

We don't have a real rootdev (by default at least), so set it to NODEV.


# bc4e4239 01-Mar-2010 pooka <pooka@NetBSD.org>

add signal stubs required by mfs


# d621e29e 08-Feb-2010 joerg <joerg@NetBSD.org>

Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based

Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.

show more ...


# 6c9f003a 31-Jan-2010 pooka <pooka@NetBSD.org>

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.


# 88447903 31-Jan-2010 pooka <pooka@NetBSD.org>

include kern_hook.c


# e5bb7fe8 15-Jan-2010 pooka <pooka@NetBSD.org>

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
re

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.

show more ...


# 065afcb6 13-Jan-2010 pooka <pooka@NetBSD.org>

Minimize unnecessary differences in rump.


# 8bb03ea9 13-Jan-2010 pooka <pooka@NetBSD.org>

Add a few symbols used by the tty code.


# 04d095d3 09-Jan-2010 pooka <pooka@NetBSD.org>

Include kern_pmf.c in rumpdev.


# cd6e1fbf 08-Jan-2010 dyoung <dyoung@NetBSD.org>

Expand PMF_FN_* macros.


# 3313b745 25-Dec-2009 elad <elad@NetBSD.org>

allow rump to build


# 590ffe15 16-Dec-2009 pooka <pooka@NetBSD.org>

Generate vers.c and include it in the kernel component.


# 1e98588f 03-Dec-2009 pooka <pooka@NetBSD.org>

Decide it's not worth the fuss to have rumpfs as a module and just
hardcode attach into rump_vfs_init(). Saves us from a lot of
pingpong init bouncing from one component to another to get the order

Decide it's not worth the fuss to have rumpfs as a module and just
hardcode attach into rump_vfs_init(). Saves us from a lot of
pingpong init bouncing from one component to another to get the order
right.

show more ...


# 612479bd 01-Dec-2009 pooka <pooka@NetBSD.org>

Include cpu crosscall support (instead of stubbing it out).


# aee2ff8e 26-Nov-2009 pooka <pooka@NetBSD.org>

For rumpfs, do mountroot instead of the bunch of homegrown hacks
currently there. Still needs a little massage to get the kernel
interfaces right and avoid copypaste especially from main().

Also, m

For rumpfs, do mountroot instead of the bunch of homegrown hacks
currently there. Still needs a little massage to get the kernel
interfaces right and avoid copypaste especially from main().

Also, move it a bit more into the direction of a real file system
(finally!) by giving it a vfsops. Most ops are still unimplemented,
though.

show more ...


# d502da58 04-Nov-2009 pooka <pooka@NetBSD.org>

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.


# c03306bc 04-Nov-2009 pooka <pooka@NetBSD.org>

Give the kthread->pthread interface emulation its own module.


# 8ef52102 04-Nov-2009 pooka <pooka@NetBSD.org>

Pull all relegating memory allocators under a common roof in memalloc.c


# 080522e1 04-Nov-2009 pooka <pooka@NetBSD.org>

move copy-related routines to their own module


# a69d5558 04-Nov-2009 pooka <pooka@NetBSD.org>

Use std. uiomove() & friends.


# 3e88e8e7 21-Oct-2009 rmind <rmind@NetBSD.org>

Sync rump with kernel changes.


# 254ffabc 16-Oct-2009 pooka <pooka@NetBSD.org>

Include sys_select.c for proper select()/poll() support.


# 85599515 15-Oct-2009 pooka <pooka@NetBSD.org>

Give lwp usage some much-needed love: stop treating lwp0 as the
all-sink and make sure each separate thread in rump has its own
lwp. Happy-go-lucky callers will get scheduled a temporary lwp
on entr

Give lwp usage some much-needed love: stop treating lwp0 as the
all-sink and make sure each separate thread in rump has its own
lwp. Happy-go-lucky callers will get scheduled a temporary lwp
on entry, while true lwp connoisseurs may request a stable lwp
for their purposes. Some more love may be required later down the
road, but for now different threads will stepping on each others
toes.

show more ...


# 9454f185 15-Oct-2009 pooka <pooka@NetBSD.org>

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)

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.

show more ...


# d09e2773 14-Oct-2009 pooka <pooka@NetBSD.org>

"rumppriv" goes back to "rump" per internal interface naming change.


12345678