Commit Graph

22 Commits

Author SHA1 Message Date
pooka
cb6989bfcf fool some KASSERTs 2007-08-09 09:11:57 +00:00
pooka
c36b0d0bc4 whoops, committed old signature of vrele2() 2007-08-09 09:06:44 +00:00
pooka
2c3d0e9d16 Add some stubs for lfs. 2007-08-09 08:56:44 +00:00
pooka
39afc34cc7 * compile subr_time.c from kern/
* some pmap stubs
2007-08-09 07:42:07 +00:00
pooka
24c0b6d0d0 Provide rump_getvninfo() and use that in libp2k_lookup() to avoid an
extra getattr for stuff the file system already cached in the vnode.
2007-08-08 14:09:07 +00:00
pooka
804db68101 Make genfs_islocked return always 1 instead of 0. But these should
really get tracked ...
2007-08-08 14:07:35 +00:00
pooka
427705465b Provide rumpmachine bswap.h, which makes bswapxx() call rumpuser
directly instead of relying on a symbol in rumpkern.  I would like
to make it call the libc symbol directly, but I don't currently know
how to make it do that MI.

Makes hfs work (on i386), as it avoids endless recursion in bswap64().
Thanks to dillo for the image!
2007-08-08 13:12:08 +00:00
pooka
7772c7295b * compile param.c
* move opts to a separate directory
2007-08-08 09:06:11 +00:00
pooka
034104770f add microtime 2007-08-08 07:50:33 +00:00
pooka
f815ddfdf3 flush pages in vflushbuf() 2007-08-07 21:23:19 +00:00
pooka
d70a2a3a9d realpath() can also fail, take that into account 2007-08-07 20:40:53 +00:00
pooka
3c4d6d00f7 * adjust device block number based on if we're putting pages to a
fs block boudary or not
* round writes to DEV_BSIZE, just to be kosher
2007-08-07 19:43:56 +00:00
pooka
44eee227b6 remove the allocstorage param from makepage - not needed 2007-08-07 19:40:17 +00:00
pooka
7d41c1505d track dirty vm objects 2007-08-07 19:37:05 +00:00
pooka
34c0850533 When doing "ubc faults", truncate offsets to page boundary to get
the last page also if it's accessed from the middle of the page.
2007-08-07 19:14:51 +00:00
pooka
09afbbeda4 mutex_pwned - needed for kassert 2007-08-07 17:55:49 +00:00
pooka
b24ef6ec06 flip order of includes to get NETBSDSRCDIR. from agc 2007-08-07 10:13:31 +00:00
pooka
140d9a0ccb offset orgies, part n+1. this is still not right, but at least it's better 2007-08-07 09:03:43 +00:00
pooka
a92a4f649f Allow to de/register pathnames which should be faked as block
devices instead of faking all non-blks as blks in namei().
2007-08-06 22:20:57 +00:00
pooka
01c3dea5a1 Instead of going for a PAGE_SIZE nuke, do getpages() in a more
sniper style.  Makes efs (& other file systems with bsize < PAGE_SIZE)
work better.
2007-08-06 20:46:28 +00:00
pooka
544155dcc3 implement uvm_vnp_zerorange() 2007-08-06 16:09:33 +00:00
pooka
daafee8742 Introduce RUMPs - Runnable Userspace Meta-Programs
/sys/rump contains programs which run unmodified kernel code in an
emulated userspace environment.  The kernel environment is provided
by librump.  Currently supported are a number of file systems,
which by using puffs integrate seamlessly into the system and
provide a similar user experience to if the code was running as
part of the kernel.  Potential future rumpification targets include
for example parts of the networking stack and some device drivers.

This work was supported by Google Summer of Code 2007.
2007-08-05 22:28:00 +00:00