The NetBSD Project

CVS log for src/sys/rump/include/rump/rump.h

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.73 / (download) - annotate - [select for diffs], Wed Nov 4 22:06:38 2020 UTC (3 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.72: +2 -1 lines
Diff to previous 1.72 (colored)

PR/55781: Ruslan Nikolaev: rump_init() does differentiate when all CPUs are
initialized

Revision 1.72 / (download) - annotate - [select for diffs], Sun Jun 14 23:38:25 2020 UTC (3 years, 9 months ago) by kamil
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.71: +1 -8 lines
Diff to previous 1.71 (colored)

Remove old compat include of rump_syscallshotgun.h

It was separated in 2016 and is no longer needed.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Jun 14 22:12:58 2020 UTC (3 years, 9 months ago) by kamil
Branch: MAIN
Changes since 1.70: +5 -6 lines
Diff to previous 1.70 (colored)

Fix header compatibility with C++

This file is OS-agnostic and cannot include OS specific headers.

The fallback for NetBSD specific symbol __BEGIN_DECLS didn't work as it was
misspelled as _BEGIN_DECLS.

Revision 1.70 / (download) - annotate - [select for diffs], Thu May 11 18:16:00 2017 UTC (6 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.69: +6 -4 lines
Diff to previous 1.69 (colored)

... but define RUMP_REGISTER_T if not defined.

Revision 1.69 / (download) - annotate - [select for diffs], Thu May 11 18:08:10 2017 UTC (6 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.68: +3 -2 lines
Diff to previous 1.68 (colored)

Use the same exposure rules for register_t as <machine/types.h> does.
Eventually we could remove -D_KERNTYPES from all the rump libraries...

Revision 1.68 / (download) - annotate - [select for diffs], Sun Jan 31 23:14:34 2016 UTC (8 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2
Changes since 1.67: +5 -84 lines
Diff to previous 1.67 (colored)

Move "shotgun approach to rump syscalls" from rump.h to a separate header,
sort of as a hint that relying on those macros is not necessarily the
way you want to do things in 2016.  Include things from rump.h for compat
for the time being, though.

Revision 1.67 / (download) - annotate - [select for diffs], Fri Jan 29 20:35:48 2016 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.66: +10 -1 lines
Diff to previous 1.66 (colored)

PR/50631: Joerg Sonnenberger: Don't rename syscalls before you include
the relevant headers.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Jan 25 12:25:38 2016 UTC (8 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.65: +1 -12 lines
Diff to previous 1.65 (colored)

prop_dictionary_t hasn't been needed here in, um, 5 years, so remove
the type madness.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Jan 25 11:45:57 2016 UTC (8 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.64: +1 -2 lines
Diff to previous 1.64 (colored)

Don't include <rump/rumpvnode_if.h> from rump.h.  It's not needed
unless you're doing something special, but requires register_t.
Adjust the few places which actually need rumpvnode_if.h.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Nov 1 12:34:28 2015 UTC (8 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)

fix typo: fnctl -> fcntl

from Robert Millan <rmh@gnu.org> via rumpkernel-users

Revision 1.63 / (download) - annotate - [select for diffs], Fri Jun 13 15:45:02 2014 UTC (9 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.62: +15 -1 lines
Diff to previous 1.62 (colored)

Add rump_boot_etfs_register(), which can be used to specify etfs
nodes that will be available immediately when mountroot is done
and file systems are available.

The intended use is for example for firmware images to be available when
config_mountroot() hooks run.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Apr 2 17:09:23 2014 UTC (9 years, 11 months ago) by justin
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Branch point for: tls-earlyentropy
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

Add Android support for rump kernel.

Reviewed by pooka@

Revision 1.61 / (download) - annotate - [select for diffs], Mon Mar 10 22:48:29 2014 UTC (10 years ago) by pooka
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Changes since 1.60: +2 -1 lines
Diff to previous 1.60 (colored)

add a compat prototype for rump_getversion()

Revision 1.60 / (download) - annotate - [select for diffs], Mon Mar 10 22:44:10 2014 UTC (10 years ago) by pooka
Branch: MAIN
Changes since 1.59: +2 -1 lines
Diff to previous 1.59 (colored)

rump_getversion() does not require a thread context, so make it a straight
call instead of being wrapped around rump_pub_getversion().

Revision 1.59 / (download) - annotate - [select for diffs], Mon Mar 10 22:38:53 2014 UTC (10 years ago) by pooka
Branch: MAIN
Changes since 1.58: +3 -1 lines
Diff to previous 1.58 (colored)

Move the "is arch capable of loading native kernel modules into
rump kernel" clauses from bsd.own.mk to Makefile.rump.  Also,
add a rump_nativeabi_p() call to determine if rump kernel is
compiled with native ABI support.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Feb 20 00:41:05 2014 UTC (10 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Remove the "host" signal model.  I'm not sure it ever made any sense.
I'm also quite sure nobody ever really wanted to use it.

Change the "raise" sigmodel to include the rump kernel PID in the call
to rumpuser_kill().  The purpose is to provide some hint for non-POSIX
platforms which don't sport signals and multiplex many clients in a
single address space.

While this is technically an ABI change, see above.  Also, since
rumpuser_kill() was not documented, I'll just claim I'm fixing a bug in
the implementation (and will be sure to document the interface correctly
very soon).

Revision 1.57 / (download) - annotate - [select for diffs], Tue Jul 16 20:17:06 2013 UTC (10 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.56: +5 -1 lines
Diff to previous 1.56 (colored)

Give reader-friendly aliases to rfork flags.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Apr 27 15:13:11 2013 UTC (10 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: khorben-n900
Branch point for: rmind-smpnet
Changes since 1.55: +2 -9 lines
Diff to previous 1.55 (colored)

Get rid of the rump__init() macro.  it was never useful and just makes
debugging less obvious.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Nov 21 17:41:27 2012 UTC (11 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, agc-symver-base, agc-symver
Changes since 1.54: +6 -1 lines
Diff to previous 1.54 (colored)

export register_t to rump kernel users on solaris

Revision 1.54 / (download) - annotate - [select for diffs], Fri Jul 20 09:27:11 2012 UTC (11 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.53: +36 -8 lines
Diff to previous 1.53 (colored)

Revert rev 1.51.  Turns out the defines are still useful when you really
want a local client.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Mar 21 16:41:08 2011 UTC (13 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.52: +2 -4 lines
Diff to previous 1.52 (colored)

Update copyright statements.

no functional change.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Mar 9 10:10:19 2011 UTC (13 years ago) by pooka
Branch: MAIN
Changes since 1.51: +49 -0 lines
Diff to previous 1.51 (colored)

Duh, the nfsd hacks in tests still used RUMP_SYS_NETWORKING.  It
appears that using nxr to search for users wasn't a very good idea.
Put networking back and make the test of the defines give out
#errors.

me be fixink this

Revision 1.51 / (download) - annotate - [select for diffs], Tue Mar 8 18:35:10 2011 UTC (13 years ago) by pooka
Branch: MAIN
Changes since 1.50: +1 -78 lines
Diff to previous 1.50 (colored)

g/c old-style syscall selection method

Revision 1.50 / (download) - annotate - [select for diffs], Sun Jan 2 12:52:25 2011 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.49: +5 -1 lines
Diff to previous 1.49 (colored)

There is a use case where preserving the parent's fd table is
relevant, so to accommodate that change rump_lwproc_newproc() to
rump_lwproc_rfork().  The new interface has the rfork() fd table
semantics.  The equivalent of rump_lwproc_newproc() is
rump_lwproc_rfork(RUMP_RFCFDG).

Revision 1.49 / (download) - annotate - [select for diffs], Tue Nov 30 14:23:24 2010 UTC (13 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.48: +7 -3 lines
Diff to previous 1.48 (colored)

Require server to be explicitly initialized with rump_init_server(url).
Also, add rump_daemonize_begin() / rump_daemonize_end() to help
with the "can't daemon() after pthread_create()" problem.  Applications
could accomplish the same, but since it's such a common operation,
provide a little help.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Nov 30 10:46:59 2010 UTC (13 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.47: +1 -2 lines
Diff to previous 1.47 (colored)

RUMPCN_FORCEFREE is no longer needed.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Nov 15 20:37:21 2010 UTC (13 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.46: +3 -2 lines
Diff to previous 1.46 (colored)

Add a new signal model RUMP_SIGMODEL_RECORD which records all
signals which are posted to a process.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Oct 27 20:44:50 2010 UTC (13 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base4
Changes since 1.45: +1 -2 lines
Diff to previous 1.45 (colored)

Start rework of system call proxying over socket ("sysproxy").
This incarnation is written in the user namespace as opposed to
the previous one which was done in kernel namespace.  Also, rump
does all the handshaking now instead of excepting an application
to come up with the user namespace socket.

There's still a lot to do, including making code "a bit" more
robust, actually running different clients in a different process
inside the kernel and splitting the client side library from librump.
I'm committing this now so that I don't lose it, plus it generally
works as long as you don't use it in unexcepted ways: i've tested
ifconfig(8), route(8), envstat(8) and sysctl(8).

Revision 1.45 / (download) - annotate - [select for diffs], Mon Sep 6 18:43:28 2010 UTC (13 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base3
Changes since 1.44: +25 -1 lines
Diff to previous 1.44 (colored)

add a few more system calls

Revision 1.44 / (download) - annotate - [select for diffs], Tue May 11 20:09:11 2010 UTC (13 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

_RUMPKERNEL -> _KERNEL

Revision 1.43 / (download) - annotate - [select for diffs], Sat May 1 23:16:31 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.42: +2 -1 lines
Diff to previous 1.42 (colored)

forward-declare struct uio (required by rumpvnode_if.h)

Revision 1.42 / (download) - annotate - [select for diffs], Sat May 1 14:40:36 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.41: +3 -1 lines
Diff to previous 1.41 (colored)

Add rump_printevcnts() which dumps values from all event counters.
(NOTE! it is run unscheduled for various experimentation etcetc. reasons)

Revision 1.41 / (download) - annotate - [select for diffs], Mon Apr 26 23:40:22 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.40: +8 -2 lines
Diff to previous 1.40 (colored)

Add directory support to etfs: host directories and their contents
will be mapped to rumpfs based on the given key.  The directory
can be mapped either for a single level or recursively down the
entire subtree.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Apr 24 01:47:34 2010 UTC (13 years, 11 months ago) by dholland
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

Remove trailing comma in enum, per PR kern/43200.

(trailing commas in enums are allowed in C99, but not C89, and possibly
not in C++, so let's be nice to older and deviant compilers)

Revision 1.39 / (download) - annotate - [select for diffs], Wed Apr 21 11:38:05 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.38: +9 -1 lines
Diff to previous 1.38 (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.38 / (download) - annotate - [select for diffs], Wed Apr 14 14:12:48 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.37: +4 -8 lines
Diff to previous 1.37 (colored)

Use "struct kauth_cred *" instead of kauth_cred_t in all exported
interfaces.  Allows to remove hairbrained _t typedef dance.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Feb 24 14:56:04 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.36: +4 -1 lines
Diff to previous 1.36 (colored)

Expose rump_schedule() and rump_unschedule().  These can be used
for wrapping application space calls to the rump kernel without
having to do heavyweight interface specification with ifspec.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Feb 11 01:13:58 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.35: +10 -1 lines
Diff to previous 1.35 (colored)

Add RUMP_SYS_FILEOPS for syscalls which operate on files (or at least
close to that).

Revision 1.35 / (download) - annotate - [select for diffs], Wed Dec 23 17:17:59 2009 UTC (14 years, 3 months ago) by stacktic
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.34: +4 -1 lines
Diff to previous 1.34 (colored)

Fixed ukfs build on non-NetBSD system.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Dec 9 00:23:28 2009 UTC (14 years, 3 months ago) by haad
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.33: +5 -1 lines
Diff to previous 1.33 (colored)

Add RUMP_SYS_OPEN define to replace open calls with their RUMP version.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Nov 3 18:22:16 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.32: +5 -2 lines
Diff to previous 1.32 (colored)

Add rump_boot_set/gethowto(), which can be called before rump_init()
to control .... *tadaa* boothowto.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Oct 14 18:18:53 2009 UTC (14 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.31: +1 -5 lines
Diff to previous 1.31 (colored)

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

Revision 1.31 / (download) - annotate - [select for diffs], Wed Oct 14 17:29:19 2009 UTC (14 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.30: +27 -92 lines
Diff to previous 1.30 (colored)

Adjust rump sources for external/internal interfaces.
No functional change.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Oct 13 20:08:08 2009 UTC (14 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.29: +1 -5 lines
Diff to previous 1.29 (colored)

don't define curlwp, it's just (unused) sugar

Revision 1.29 / (download) - annotate - [select for diffs], Sun Oct 11 23:23:09 2009 UTC (14 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 (colored)

add recvmsg and sendmsg to networking rump syscalls

Revision 1.28 / (download) - annotate - [select for diffs], Fri Oct 9 14:41:36 2009 UTC (14 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

Provide an interface for reboot.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Oct 7 09:50:43 2009 UTC (14 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.26: +2 -8 lines
Diff to previous 1.26 (colored)

g/c some prehistoric interfaces which have been superceded by others.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Oct 7 09:17:54 2009 UTC (14 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.25: +4 -1 lines
Diff to previous 1.25 (colored)

Allow to set size and host file offset for etfs files and rumpblk.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Oct 6 16:23:03 2009 UTC (14 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.24: +4 -3 lines
Diff to previous 1.24 (colored)

Give a p2k node an internal state.  This allows us to do proper
reference counting and not release nodes based just on puffs'
impression of if they are free.

This also allows us to reclaim vnodes already in inactive if the
file system so desires.  Some file systems, most notably ffs, change
file state already in inactive.  This could lead to a deadlock in
the middle of inactive and reclaim if some other puffs operation
was processed in between (as exposed by haad's open(at) test
program).

Also, properly thread the componentname from lookup to the actual
vnode operation.  This required the changes the rump componentname
routines.  Yes, the rename case is truly mindbogglingly disgusting.
Puke for yourself.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Aug 3 14:23:30 2009 UTC (14 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

* get rid of the old fakeblk registration interface.  Instead,
  introduce a new and improved "etfs" interface, which can be used
  to register host files accessible from rump fs namespace.  This
  new interface is not restriced to block devices, and neither does
  it require the same pathname in host namespace and rump namespace.
  Therefore, the same host file can be represented both as a char
  and block device in rump namespace.

* adjust rumpblk to make the above possible

* improve rumpfs: nodes are now created properly and not implicitly
  tied to the vnode lifecycle

Revision 1.23 / (download) - annotate - [select for diffs], Tue May 26 15:44:35 2009 UTC (14 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base
Changes since 1.22: +5 -1 lines
Diff to previous 1.22 (colored)

add ioctl to list of compile-time translated calls

Revision 1.22 / (download) - annotate - [select for diffs], Fri May 22 12:47:39 2009 UTC (14 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)

forward declare struct stat to avoid implicit header dependencies

Revision 1.21 / (download) - annotate - [select for diffs], Fri May 22 10:51:54 2009 UTC (14 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.20: +8 -1 lines
Diff to previous 1.20 (colored)

Add compat routines for vattr translation over time_t change.

Revision 1.20 / (download) - annotate - [select for diffs], Fri May 22 08:59:32 2009 UTC (14 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.19: +7 -1 lines
Diff to previous 1.19 (colored)

Add handrolled stat30 compat syscalls for calling post-time_t rump
kernels from pre-time_t userlands.

Revision 1.19 / (download) - annotate - [select for diffs], Fri May 22 08:34:14 2009 UTC (14 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored)

Add rump_getversion(), which returns the version of NetBSD for the
rump kernel.

Revision 1.18 / (download) - annotate - [select for diffs], Thu May 7 16:04:25 2009 UTC (14 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, jym-xensuspend-base
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

Add rump_set_curlwp() for context switch to an existing lwp/proc.

Revision 1.17 / (download) - annotate - [select for diffs], Mon May 4 14:31:25 2009 UTC (14 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)

Nuke RUMPCN_HASNTBUF.  The inspiration behind it must've been ... deep.

Revision 1.16 / (download) - annotate - [select for diffs], Sun May 3 17:09:49 2009 UTC (14 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3
Branch point for: yamt-nfs-mp
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Rename rump_cred_destroy() to rump_cred_put() -- they've been
refcounted since forever now.

Revision 1.15 / (download) - annotate - [select for diffs], Sun May 3 16:01:44 2009 UTC (14 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Add rump_vfs_getmp(), which returns struct mount for a given path.
(yes, it does not take a reference to the mountpoint)

Revision 1.14 / (download) - annotate - [select for diffs], Sat May 2 15:20:08 2009 UTC (14 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.13: +10 -2 lines
Diff to previous 1.13 (colored)

Since rump_module_load() doesn't actually load the module, change
the name to rump_module_init().  Also, adjust the signature to take
a direct pointer to modinfo and allow passing of props.  Finally,
provide rump_module_fini().

Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 29 18:00:49 2009 UTC (14 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.12: +4 -1 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Fri Mar 27 13:47:53 2009 UTC (15 years ago) by pooka
Branch: MAIN
CVS Tags: nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.11: +3 -1 lines
Diff to previous 1.11 (colored)

rump_virtif_create prototype

Revision 1.11 / (download) - annotate - [select for diffs], Fri Mar 27 13:18:27 2009 UTC (15 years ago) by pooka
Branch: MAIN
Changes since 1.10: +35 -1 lines
Diff to previous 1.10 (colored)

shotgun approach to rump syscalls

Revision 1.10 / (download) - annotate - [select for diffs], Sun Feb 22 20:28:06 2009 UTC (15 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.9: +1 -3 lines
Diff to previous 1.9 (colored)

PR kern/26878 FFSv2 + softdep = livelock (no free ram)
PR kern/16942 panic with softdep and quotas
PR kern/19565 panic: softdep_write_inodeblock: indirect pointer #1 mismatch
PR kern/26274 softdep panic: allocdirect_merge: ...
PR kern/26374 Long delay before non-root users can write to softdep partitions
PR kern/28621 1.6.x "vp != NULL" panic in ffs_softdep.c:4653 while unmounting a softdep (+quota) filesystem
PR kern/29513 FFS+Softdep panic with unfsck-able file-corruption
PR kern/31544 The ffs softdep code appears to fail to write dirty bits to disk
PR kern/31981 stopping scsi disk can cause panic (softdep)
PR kern/32116 kernel panic in softdep (assertion failure)
PR kern/32532 softdep_trackbufs deadlock
PR kern/37191 softdep: locking against myself
PR kern/40474 Kernel panic after remounting raid root with softdep

Retire softdep, pass 2. As discussed and later formally announced on the
mailing lists.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Feb 20 18:02:19 2009 UTC (15 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

missed one prototype

Revision 1.8 / (download) - annotate - [select for diffs], Fri Feb 20 17:59:58 2009 UTC (15 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

typedef rump_sysproxy_t

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 6 20:01:41 2009 UTC (15 years, 1 month ago) by pooka
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.6: +1 -6 lines
Diff to previous 1.6 (colored)

Rip out the rwlock spl emulation code.  It never did anything useful
except keep my feet warm by consuming an insane amount of cpu
cycles -- in rump our current "cpu" context is never interrupted
& we have MULTIPROCESSOR.

(itch i'm scratching: it made the networking stack 10-20% slower.
this is one of the places where fast code actually matters)

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 8 03:27:10 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: nick-hppapmap, mjf-devfs2
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Put syspuffs_glueinit in the rump kernel namespace.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jan 7 21:12:30 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

_rump_init() - > rump__init()

Revision 1.4 / (download) - annotate - [select for diffs], Fri Nov 21 06:09:52 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

rump_vfs_load() is really rump_module_load(), so call it that and
move it from rumpvfs to rumpkern.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Nov 19 14:10:49 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (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.2 / (download) - annotate - [select for diffs], Mon Nov 17 13:24:14 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.1: +1 -5 lines
Diff to previous 1.1 (colored)

Remove rump_vp locking interfaces, use RUMP_VOP instead.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Nov 17 08:53:12 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN

Move rump public headers to include/rump

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>