The NetBSD Project

CVS log for src/sys/rump/librump/rumpkern/locks.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.88 / (download) - annotate - [select for diffs], Thu Nov 2 10:31:55 2023 UTC (3 months, 3 weeks ago) by martin
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.87: +2 -9 lines
Diff to previous 1.87 (colored)

Back out the following revisions on behalf of core:

	sys/sys/lwp.h: revision 1.228
	sys/sys/pipe.h: revision 1.40
	sys/kern/uipc_socket.c: revision 1.306
	sys/kern/kern_sleepq.c: revision 1.84
	sys/rump/librump/rumpkern/locks_up.c: revision 1.13
	sys/kern/sys_pipe.c: revision 1.165
	usr.bin/fstat/fstat.c: revision 1.119
	sys/rump/librump/rumpkern/locks.c: revision 1.87
	sys/ddb/db_xxx.c: revision 1.78
	sys/ddb/db_command.c: revision 1.187
	sys/sys/condvar.h: revision 1.18
	sys/ddb/db_interface.h: revision 1.42
	sys/sys/socketvar.h: revision 1.166
	sys/kern/uipc_syscalls.c: revision 1.209
	sys/kern/kern_condvar.c: revision 1.60

  Add cv_fdrestart() [...]
  Use cv_fdrestart() to implement fo_restart.
  Simplify/streamline pipes a little bit [...]

This changes have caused regressions and need to be debugged.
The cv_fdrestart() addition needs more discussion.

Revision 1.87 / (download) - annotate - [select for diffs], Fri Oct 13 18:48:56 2023 UTC (4 months, 1 week ago) by ad
Branch: MAIN
Changes since 1.86: +9 -2 lines
Diff to previous 1.86 (colored)

Add cv_fdrestart() (better name suggestions welcome):

Like cv_broadcast(), but make any LWPs that share the same file descriptor
table as the caller return ERESTART when resuming.  Used to dislodge LWPs
waiting for I/O that prevent a file descriptor from being closed, without
upsetting access to the file (not descriptor) made from another direction.

Revision 1.86 / (download) - annotate - [select for diffs], Sun Jul 16 23:12:17 2023 UTC (7 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored)

rump: Fix comment to reflect l_private -> l_sched.info.

Comment was misspelled `l->private', hence didn't come up in grep.

Revision 1.85 / (download) - annotate - [select for diffs], Sun Jul 16 23:05:53 2023 UTC (7 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.84: +4 -4 lines
Diff to previous 1.84 (colored)

rump: Use l_sched.info, not l_private, for cv waits.

- l_sched is scheduler-private, used only by sched_m2.c, should be safe
- l_private is lwp-private, used by tls in user threads, would like to
  reuse for kthreads too

Revision 1.84 / (download) - annotate - [select for diffs], Wed Apr 12 06:35:40 2023 UTC (10 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.83: +3 -10 lines
Diff to previous 1.83 (colored)

kern: Nix mutex_owner.

There is no valid reason to use this except in assertions of the form

	KASSERT(mutex_owner(lock) == curlwp),

which is more obviously spelled as

	KASSERT(mutex_owned(lock)).

Exception: There's one horrible kludge in zfs that abuses this, which
should be eliminated.

XXX kernel revbump -- deleting symbol

PR kern/47114

Revision 1.83 / (download) - annotate - [select for diffs], Wed Oct 26 23:22:22 2022 UTC (15 months, 4 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.82: +2 -3 lines
Diff to previous 1.82 (colored)

rwlock(9): Nix extern _rw_init in .c; use sys/rwlock.h.

Revision 1.82 / (download) - annotate - [select for diffs], Wed Oct 26 23:21:20 2022 UTC (15 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.81: +5 -5 lines
Diff to previous 1.81 (colored)

mutex(9): Properly declare _mutex_init in sys/mutex.h.

Revision 1.80.4.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:01 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.80: +9 -2 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

Merge changes from current as of 20200406

Revision 1.80.10.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:09 2020 UTC (3 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.80: +9 -2 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

Sync with head.

Revision 1.81 / (download) - annotate - [select for diffs], Sat Feb 22 21:44:51 2020 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: 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-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3
Changes since 1.80: +9 -2 lines
Diff to previous 1.80 (colored)

rump rw_lock_op

Revision 1.74.2.2 / (download) - annotate - [select for diffs], Mon Apr 2 09:07:52 2018 UTC (5 years, 10 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.74.2.1: +26 -10 lines
Diff to previous 1.74.2.1 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #687):
	sys/kern/kern_rwlock_obj.c: revision 1.4
	sys/rump/librump/rumpkern/locks.c: revision 1.80
	sys/kern/kern_rwlock.c: revision 1.50
	sys/arch/x86/x86/db_memrw.c: revision 1.5,1.6
	sys/ddb/db_command.c: revision 1.150-1.153
	share/man/man4/ddb.4: revision 1.175 (via patch),1.176-1.178
	sys/kern/kern_mutex_obj.c: revision 1.6
	sys/kern/subr_lockdebug.c: revision 1.61-1.64
	sys/sys/lockdebug.h: revision 1.17
	sys/kern/kern_mutex.c: revision 1.71
	sys/sys/lockdebug.h: revision 1.18,1.19
	sys/kern/subr_xcall.c: revision 1.26

Obtain proper initialized addresses of locks allocated by mutex_obj_alloc or rw_obj_alloc

Initialized addresses of locks allocated by mutex_obj_alloc or rw_obj_alloc
were not useful because the addresses were mutex_obj_alloc or rw_obj_alloc
itself. What we want to know are callers of them.

Spinkle ASSERT_SLEEPABLE to xcall functions

Use db_printf instead of printf in ddb

Add a new command, show lockstat, which shows statistics of locks
Currently the command shows the number of allocated locks.
The command is useful only if LOCKDEBUG is enabled.

Add a new command, show all locks, which shows information of active locks

The command shows information of all active (i.e., being held) locks that are
tracked through either of LWPs or CPUs by the LOCKDEBUG facility.  The /t
modifier additionally shows a backtrace for each LWP additionally.  This
feature is useful for debugging especially to analyze deadlocks.
The command is useful only if LOCKDEBUG is enabled.

Don't pass a unset address to lockdebug_lock_print

x86: avoid accessing invalid addresses in ddb like arm32
This avoids that a command stops in the middle of an execution if
a fault occurs due to an access to an invalid address.

Get rid of a redundant output

Improve wording. Fix a Cm argument.

ddb: rename "show lockstat" to "show lockstats" to avoid conflicting with lockstat(8)
Requested by mrg@

Revision 1.80 / (download) - annotate - [select for diffs], Mon Feb 5 05:00:48 2018 UTC (6 years ago) by ozaki-r
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, 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, 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, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: phil-wifi, ad-namecache
Changes since 1.79: +26 -10 lines
Diff to previous 1.79 (colored)

Obtain proper initialized addresses of locks allocated by mutex_obj_alloc or rw_obj_alloc

Initialized addresses of locks allocated by mutex_obj_alloc or rw_obj_alloc
were not useful because the addresses were mutex_obj_alloc or rw_obj_alloc
itself. What we want to know are callers of them.

(forgot to commit)

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Sat Jan 13 21:57:11 2018 UTC (6 years, 1 month ago) by snj
Branch: netbsd-8
Changes since 1.74: +43 -31 lines
Diff to previous 1.74 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #495):
	lib/librumpuser/rumpfiber.c: revision 1.13
	lib/librumpuser/rumpuser_pth.c: revision 1.46
	lib/librumpuser/rumpuser_pth_dummy.c: revision 1.18
	sys/kern/kern_condvar.c: revision 1.40
	sys/kern/kern_lock.c: revision 1.161
	sys/kern/kern_mutex.c: revision 1.68
	sys/kern/kern_rwlock.c: revision 1.48
	sys/rump/include/rump/rumpuser.h: revision 1.115
	sys/rump/librump/rumpkern/locks.c: revision 1.76-1.79
Apply C99-style struct initialization to lockops_t
--
Tweak LOCKDEBUG macros (NFC)
--
Distinguish spin mutex and adaptive mutex on rump kernels for LOCKDEBUG
Formerly rump kernels treated the two types of mutexes as both adaptive for
LOCKDEBUG for some reasons.
Now we can detect violations of mutex restrictions on rump kernels such as
taking an adaptive mutex with holding a spin mutex as well as normal kernels.
--
rump: check if the mutex is surely owned by the caller in mutex_exit
Unlocking a not-owned mutex wasn't detected well (it could detect if the mutex
is not held by anyone but that's not enough). Let's check it (the check is the
same as normal kernel's mutex).
If LOCKDEBUG is enabled, give the check over LOCKDEBUG because it can provide
better debugging information.

Revision 1.79 / (download) - annotate - [select for diffs], Wed Dec 27 09:03:22 2017 UTC (6 years, 1 month ago) by ozaki-r
Branch: MAIN
Changes since 1.78: +5 -2 lines
Diff to previous 1.78 (colored)

rump: check if the mutex is surely owned by the caller in mutex_exit

Unlocking a not-owned mutex wasn't detected well (it could detect if the mutex
is not held by anyone but that's not enough). Let's check it (the check is the
same as normal kernel's mutex).

If LOCKDEBUG is enabled, give the check over LOCKDEBUG because it can provide
better debugging information.

Revision 1.78 / (download) - annotate - [select for diffs], Wed Dec 27 09:01:53 2017 UTC (6 years, 1 month ago) by ozaki-r
Branch: MAIN
Changes since 1.77: +15 -6 lines
Diff to previous 1.77 (colored)

Distinguish spin mutex and adaptive mutex on rump kernels for LOCKDEBUG

Formerly rump kernels treated the two types of mutexes as both adaptive for
LOCKDEBUG for some reasons.

Now we can detect violations of mutex restrictions on rump kernels such as
taking an adaptive mutex with holding a spin mutex as well as normal kernels.

Revision 1.77 / (download) - annotate - [select for diffs], Wed Dec 27 08:45:45 2017 UTC (6 years, 1 month ago) by ozaki-r
Branch: MAIN
Changes since 1.76: +21 -21 lines
Diff to previous 1.76 (colored)

Tweak LOCKDEBUG macros (NFC)

Revision 1.76 / (download) - annotate - [select for diffs], Mon Dec 25 09:13:40 2017 UTC (6 years, 2 months ago) by ozaki-r
Branch: MAIN
Changes since 1.75: +8 -8 lines
Diff to previous 1.75 (colored)

Apply C99-style struct initialization to lockops_t

Revision 1.55.6.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:16 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.55.6.2: +34 -17 lines
Diff to previous 1.55.6.2 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

update from HEAD

Revision 1.75 / (download) - annotate - [select for diffs], Sun Sep 17 05:47:19 2017 UTC (6 years, 5 months ago) by kre
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.74: +7 -7 lines
Diff to previous 1.74 (colored)


As if rump wasn't constipated enough...

Add some more blockages, hopefully allow the build to find a
path all the way to the other end...

Revision 1.69.4.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:15 2017 UTC (6 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.69.4.3: +12 -2 lines
Diff to previous 1.69.4.3 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

Sync with HEAD

Revision 1.73.4.3 / (download) - annotate - [select for diffs], Tue May 2 03:19:22 2017 UTC (6 years, 9 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.73.4.2: +3 -4 lines
Diff to previous 1.73.4.2 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)

Sync with HEAD - tag prg-localcount2-base1

Revision 1.74 / (download) - annotate - [select for diffs], Mon May 1 21:35:26 2017 UTC (6 years, 9 months ago) by pgoyette
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: netbsd-8
Changes since 1.73: +12 -2 lines
Diff to previous 1.73 (colored)

Introduce mutex_ownable() to determine if it is possible for the current
process to acquire a mutex.

Revision 1.73.4.2 / (download) - annotate - [select for diffs], Sun Apr 30 07:07:56 2017 UTC (6 years, 9 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.73.4.1: +3 -3 lines
Diff to previous 1.73.4.1 (colored) to branchpoint 1.73 (colored)

Use the right conditional to enable/disable LOCKDEBUG within RUMP

Revision 1.73.4.1 / (download) - annotate - [select for diffs], Sun Apr 30 04:56:55 2017 UTC (6 years, 9 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.73: +13 -2 lines
Diff to previous 1.73 (colored)

Introduce mutex_ownable(9) and use it in localcount_release(9).

Commit of same code to head is awaiting discussion on tech-kern.

Revision 1.72.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:07 2017 UTC (6 years, 10 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.72: +15 -11 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

Sync with HEAD

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:52 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.72: +15 -11 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

Sync with HEAD

Revision 1.69.4.3 / (download) - annotate - [select for diffs], Sun Feb 5 13:41:00 2017 UTC (7 years ago) by skrll
Branch: nick-nhusb
Changes since 1.69.4.2: +15 -11 lines
Diff to previous 1.69.4.2 (colored) to branchpoint 1.69 (colored)

Sync with HEAD

Revision 1.73 / (download) - annotate - [select for diffs], Fri Jan 27 09:50:47 2017 UTC (7 years ago) by ozaki-r
Branch: MAIN
CVS Tags: prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, nick-nhusb-base-20170204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: prg-localcount2
Changes since 1.72: +15 -11 lines
Diff to previous 1.72 (colored)

Unbreak builds of rump libraries with RUMP_LOCKDEBUG

Revision 1.69.4.2 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:37 2016 UTC (7 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.69.4.1: +4 -4 lines
Diff to previous 1.69.4.1 (colored) to branchpoint 1.69 (colored)

Sync with HEAD

Revision 1.72 / (download) - annotate - [select for diffs], Tue Jan 26 23:12:17 2016 UTC (8 years ago) by pooka
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.71: +4 -4 lines
Diff to previous 1.71 (colored)

Put the kernelside rump kernel headers into <rump-sys> instead of
sprinkling them around the faction directories.  Avoids having
to add a CPPFLAGS (or several) to pretty much every component
Makefile.

Leave compat headers around in the old locations.

The commit changes some autogenerated files, but I'll fix the
generators shortly and regen.

Revision 1.69.4.1 / (download) - annotate - [select for diffs], Sun Dec 27 12:10:16 2015 UTC (8 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.69: +8 -5 lines
Diff to previous 1.69 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.71 / (download) - annotate - [select for diffs], Wed Sep 30 02:45:33 2015 UTC (8 years, 4 months ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.70: +8 -3 lines
Diff to previous 1.70 (colored)

Add lockdebug_barrier

ok pooka@

Revision 1.70 / (download) - annotate - [select for diffs], Wed Sep 30 01:31:56 2015 UTC (8 years, 4 months ago) by ozaki-r
Branch: MAIN
Changes since 1.69: +2 -4 lines
Diff to previous 1.69 (colored)

Remove redundant UNLOCKED and LOCKED

UNLOCKED and LOCKED are done inside mutex_exit and mutex_enter respectively
so we don't need to do them outside mutex_exit and mutex_enter.

Reviewed by pooka@

Revision 1.55.6.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:40 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.55.6.1: +16 -10 lines
Diff to previous 1.55.6.1 (colored) to branchpoint 1.55 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:51 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.68: +8 -2 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

Rebase.

Revision 1.54.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:41:15 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.54.4.1: +100 -45 lines
Diff to previous 1.54.4.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.64.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:46:18 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.64.2.1: +8 -2 lines
Diff to previous 1.64.2.1 (colored) next main 1.65 (colored)

sync with head

Revision 1.69 / (download) - annotate - [select for diffs], Fri Apr 25 18:13:59 2014 UTC (9 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-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.68: +8 -2 lines
Diff to previous 1.68 (colored)

gardenizing rump.c: move rump_lockdebug to locks.c

Revision 1.68 / (download) - annotate - [select for diffs], Tue Mar 11 00:59:38 2014 UTC (9 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.67: +2 -5 lines
Diff to previous 1.67 (colored)

Put the syncobjs in emul.c instead of locks.c so that they are
present for both locks.c and locks_up.c alike.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Dec 9 17:03:41 2013 UTC (10 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.66: +5 -5 lines
Diff to previous 1.66 (colored)

make !LOCKDEBUG work too

Revision 1.66 / (download) - annotate - [select for diffs], Mon Dec 9 16:54:20 2013 UTC (10 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.65: +5 -2 lines
Diff to previous 1.65 (colored)

Support ktrace for rump kernels.

Requested by Justin Cormack on rumpkernel-users.

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:37 2013 UTC (10 years, 5 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.64: +12 -12 lines
Diff to previous 1.64 (colored)

sync with head

Revision 1.65 / (download) - annotate - [select for diffs], Wed Jul 3 17:10:28 2013 UTC (10 years, 7 months ago) by njoly
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.64: +12 -12 lines
Diff to previous 1.64 (colored)

Make RUMP_LOCKDEBUG work again.
With some help from pooka@.

Revision 1.55.6.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:28 2013 UTC (10 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.55: +87 -38 lines
Diff to previous 1.55 (colored)

resync from head

Revision 1.64 / (download) - annotate - [select for diffs], Wed May 15 14:52:49 2013 UTC (10 years, 9 months ago) by pooka
Branch: MAIN
Branch point for: rmind-smpnet
Changes since 1.63: +6 -6 lines
Diff to previous 1.63 (colored)

Pass enums over the hypercall interface as ints to avoid some
pathological scenarios from arising in setups where enums might be
of a different size in the rump kernel and hypervisor.

Revision 1.63 / (download) - annotate - [select for diffs], Thu May 2 21:35:19 2013 UTC (10 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: khorben-n900
Changes since 1.62: +35 -19 lines
Diff to previous 1.62 (colored)

Push rwlock upgrade and downgrade into the hypervisor where there's
at least a chance to implement them with minimal fuss.

Revision 1.62 / (download) - annotate - [select for diffs], Thu May 2 20:37:32 2013 UTC (10 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.61: +2 -3 lines
Diff to previous 1.61 (colored)

g/c stale comment

Revision 1.61 / (download) - annotate - [select for diffs], Thu May 2 20:33:54 2013 UTC (10 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.60: +3 -5 lines
Diff to previous 1.60 (colored)

Retry enabling spin mutexes.  We should be able to avoid poking the
scheduler by just making wakeup from cv_wait() honor the same locking
order as when a spin mutex is acquired though mutex_enter().
*fingers crossed*

Revision 1.60 / (download) - annotate - [select for diffs], Tue Apr 30 00:03:53 2013 UTC (10 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.59: +25 -15 lines
Diff to previous 1.59 (colored)

Make hypercall calling conventions consistent: iff a hypercall can fail,
it returns an int containing the error value.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Apr 29 09:30:18 2013 UTC (10 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.58: +6 -3 lines
Diff to previous 1.58 (colored)

Disable spin mutexes for now.  They need some more work in the case
where a spin mutex is used as an argument to cv_wait().  Plus, it
would be good to sprinkle some asserts to make sure that the cpu
context is not released while holding on to a spin mutex.  All in
all, should not be difficult, but needs careful testing and bravery
(the scheduler will bite your legs off).

Revision 1.58 / (download) - annotate - [select for diffs], Sun Apr 28 13:37:52 2013 UTC (10 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.57: +5 -12 lines
Diff to previous 1.57 (colored)

Change rumpuser_cv_timedwait() from absolute time to relative time.
It's then the hypervisor's problem to translate it accordingly.
Now we no longer have to worry about the kernel having to know the
hypervisor's time and vice versa.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Apr 27 16:32:57 2013 UTC (10 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.56: +8 -5 lines
Diff to previous 1.56 (colored)

roll mutex init hypercalls into one (one of them already took a flag anyway)

Revision 1.56 / (download) - annotate - [select for diffs], Sat Apr 27 13:59:46 2013 UTC (10 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.55: +31 -4 lines
Diff to previous 1.55 (colored)

Try to make sure that the appropriate calls to mutex_enter() takes
a spin mutex (i.e. does not relinquish cpu context while trying to
take the mutex).

Bump the hypercall interface version number.  I'll be doing a bunch
of other cleanups to simplify the interface for the benefit of
alternative hypervisor implementations.  I'll be riding this bump
and doing a second one only after I'm finished with all of the
changes.

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:49 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.54: +2 -5 lines
Diff to previous 1.54 (colored)

sync with head

Revision 1.54.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:46 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.54: +2 -5 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

merge to -current.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Dec 6 18:04:31 2011 UTC (12 years, 2 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, 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-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, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.54: +2 -5 lines
Diff to previous 1.54 (colored)

Do not protect wrong KASSERT by LOCKEDBUG ifdef/endif, the latter uses
its own mecanism. Kill them both.
From discussion with pooka@.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:07 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.47: +31 -16 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

Revision 1.38.4.4 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:17 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.38.4.3: +10 -11 lines
Diff to previous 1.38.4.3 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

sync with head

Revision 1.54 / (download) - annotate - [select for diffs], Mon Mar 21 16:41:08 2011 UTC (12 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.53: +3 -6 lines
Diff to previous 1.53 (colored)

Update copyright statements.

no functional change.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Mar 9 23:41:24 2011 UTC (12 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.52: +4 -2 lines
Diff to previous 1.52 (colored)

track lockdebug data even in the special path

Revision 1.52 / (download) - annotate - [select for diffs], Wed Mar 9 18:15:39 2011 UTC (12 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

Mark cv_wait mutex as locked before doing any further dances.
Fixes a LOCKDEBUG panic in case the uncommon condition is hit.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Mar 8 12:39:29 2011 UTC (12 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.50: +7 -7 lines
Diff to previous 1.50 (colored)

Nuke all threads belonging to a process calling exec before allowing
the exec handshake to return.

In addition to being The Right Thing To Do, fixes some nasty
conditions for CLOEXEC fd's (or at least does so in theory, I
couldn't create any problems although I tried).

Revision 1.38.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:14 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.38.4.2: +158 -34 lines
Diff to previous 1.38.4.2 (colored) to branchpoint 1.38 (colored)

sync with head

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:20:04 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.48: +11 -10 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD

Revision 1.50 / (download) - annotate - [select for diffs], Fri Jan 28 17:04:39 2011 UTC (13 years ago) by pooka
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.49: +6 -5 lines
Diff to previous 1.49 (colored)

If we are "unsleepable" due to a dying proc, yield() instead of
returning directly.  This allows other threads to run possible
setting a condition we are waiting on.

Fixes a busyloop condition which could be entered from vfs_unmountall()
where we were waiting for vrele_pending and the vrele thread could
not run since we were hogging the CPU.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Jan 28 16:58:28 2011 UTC (13 years ago) by pooka
Branch: MAIN
Changes since 1.48: +7 -7 lines
Diff to previous 1.48 (colored)

Some lwp-walkers expect the correct value for l_stat, so use a flag
in l_flag instead of l_stat for the purpose of flagging lwps in a
dying proc.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Jan 18 22:21:23 2011 UTC (13 years, 1 month ago) by haad
Branch: MAIN
Branch point for: bouyer-quota2
Changes since 1.47: +17 -2 lines
Diff to previous 1.47 (colored)

Add support for compiling ZFS and Solaris modules as RUMP libraries. Add
some locking and rumpcopy primitives and refactor module building Makefiles
to work with both RUMP and kernel modules. This is first part of adding
support for regular test of zfs on NetBSD to hunt some bugs and make it
stable.

Ok by pooka@.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Jan 12 12:51:21 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.46: +63 -18 lines
Diff to previous 1.46 (colored)

When the client and the rump kernel are the same host process, all
threads blocking in the kernel automatically exit when the process
exists.  However, for the sysproxy case this does not hold.
Typically it's ~harmless, but e.g. in the case of socket binding
following by poll it gets annoying.

Introduce sysproxy procexit, which wakes up all threads blocking
on a condition when a process's communication socket is closed.
The code is a little different from the regular kernel simply
because in a rump kernel l_mutex is not available at all times
(this is because scheduling happens on every kernel entry and exit,
and that path must be kept lockless for any reasonable performance).
Instead, use gating which makes sure all threads are either out of
the cv code or suspended in a well-known state.  Then, wake up the
threads and tell them to get the hell out of our galaxy.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Jan 6 13:36:48 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

antipasto

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jan 6 11:22:55 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.44: +83 -27 lines
Diff to previous 1.44 (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.44 / (download) - annotate - [select for diffs], Wed Dec 1 17:22:51 2010 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.43: +10 -3 lines
Diff to previous 1.43 (colored)

implement mutex_owner()

Revision 1.43 / (download) - annotate - [select for diffs], Wed Dec 1 14:59:38 2010 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

Track lwp as the rumpuser mutex owner instead of pthread_t (this
is done in rumpuser for simplicity, since on the kernel side things
we assume we have only one pointer of space).  As a side-effect,
we can no longer know if the current thread is holding on to a
mutex locked without curlwp context (basically all mutexes inited
outside of mutex_init()).  The only thing that called rumpuser_mutex_held()
for a non-kmutex was the giant lock.  So, instead implement recursive
locking for the giant lock in the rump kernel and get rid of the
now-unused recursive pthread mutex in the hypercall interface.

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:48:01 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.38.2.1: +12 -116 lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.14.4.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:55:06 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14.4.3: +14 -114 lines
Diff to previous 1.14.4.3 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.38.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:20:02 2010 UTC (13 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.38.4.1: +14 -12 lines
Diff to previous 1.38.4.1 (colored) to branchpoint 1.38 (colored)

sync with head

Revision 1.42 / (download) - annotate - [select for diffs], Wed Jun 9 07:54:13 2010 UTC (13 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.41: +14 -12 lines
Diff to previous 1.41 (colored)

Similarly to cv_wait, fail if trying to cv_wait_sig() without threads.

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:18:06 2010 UTC (13 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.38: +6 -108 lines
Diff to previous 1.38 (colored)

sync with head

Revision 1.41 / (download) - annotate - [select for diffs], Tue May 18 15:12:19 2010 UTC (13 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.40: +2 -108 lines
Diff to previous 1.40 (colored)

Move routines related to kernel locking and scheduling from
locks.c to klock.c.

No functional change.

Revision 1.40 / (download) - annotate - [select for diffs], Tue May 18 14:58:42 2010 UTC (13 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.39: +7 -7 lines
Diff to previous 1.39 (colored)

Make it possible to use the scheduler lock as the rumpuser condvar
interlock.  This is applicable in cases where the actual interlock
is the CPU the currently running thread is scheduled on.  Borrowing
the scheduler lock as the mutex mandated by pthread_cond_wait()
does away with need to have an additional mutex.  This both optimizes
runtime execution and simplifies code, as the extra lock typically
lead to quite some trickeries to avoid the dungeon collapsing due
to zaps from the wand of deadlock.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:30 2010 UTC (13 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.38: +6 -2 lines
Diff to previous 1.38 (colored)

Sync with HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Apr 14 10:34:54 2010 UTC (13 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.38: +6 -2 lines
Diff to previous 1.38 (colored)

Add comment about clock mismatch.

Revision 1.14.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:38 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14.4.2: +76 -64 lines
Diff to previous 1.14.4.2 (colored) to branchpoint 1.14 (colored)

sync with head

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jan 31 00:54:22 2010 UTC (14 years ago) by snj
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Some might argue that it is benefi_c_ial to spell words correctly.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Dec 3 13:12:16 2009 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.36: +4 -6 lines
Diff to previous 1.36 (colored)

Remove last remnants of the long-ago-properly-fixed RUMP_LMUTEX_MAGIC hack.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Dec 1 09:50:51 2009 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.35: +7 -3 lines
Diff to previous 1.35 (colored)

Almost there for virtual CPU MP support:
* support bound kernel threads
* bind softint threads to specific virtual cpus
  + remove now-unnecessary locks from softint code

Now, if we only had MI CPU_INFO_FOREACH() .... (hi rmind ;)

Revision 1.35 / (download) - annotate - [select for diffs], Thu Nov 26 17:29:34 2009 UTC (14 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.34: +10 -2 lines
Diff to previous 1.34 (colored)

Provide some sort of cv_is_valid().  What a silly routine.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Nov 11 16:46:50 2009 UTC (14 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.33: +7 -3 lines
Diff to previous 1.33 (colored)

Make rumpuser_cv_timedwait take two int64's instead timespec to
uncouple it from the timespec layout.  Also, change return value
to zero for "timeout didn't expire" and non-zero for "timeout
expired".  This decouples the interface from errno assignments.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Nov 4 13:32:39 2009 UTC (14 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.32: +2 -67 lines
Diff to previous 1.32 (colored)

Use kern_mutex_obj.c directly instead of copypasting code.

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

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

Revision 1.31 / (download) - annotate - [select for diffs], Thu Oct 15 23:15:55 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

When allocating the temporary lwp we must have an lwp context.  So
take turns using lwp0 for this purpose, nothing else uses it.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Oct 15 16:39:22 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.29: +8 -6 lines
Diff to previous 1.29 (colored)

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.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Oct 15 00:28:46 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.28: +62 -3 lines
Diff to previous 1.28 (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.28 / (download) - annotate - [select for diffs], Fri Oct 2 09:56:08 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored)

panic if cv_wait() is called in non-threaded mode

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:14:29 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14.4.1: +93 -33 lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored)

sync with head.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:34:07 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.20.2.1: +9 -6 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Feb 7 01:50:29 2009 UTC (15 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend
Changes since 1.26: +9 -6 lines
Diff to previous 1.26 (colored)

Make the clock interrupt tick based on absolute time instead of
relative time.  This prevents drifting.  Also, keep track of time
within userspace, so we do not have to make a syscall to get the
clock value.  This is approximately 7 times cheaper, but on the
negative side is limited to the clock interrupt frequency.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:25 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.20: +52 -27 lines
Diff to previous 1.20 (colored)

Sync with HEAD.

Revision 1.11.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:36 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.11.6.3: +78 -30 lines
Diff to previous 1.11.6.3 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Jan 13 02:03:13 2009 UTC (15 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.25: +4 -3 lines
Diff to previous 1.25 (colored)

misc cleanup, mainly header polish

Revision 1.25 / (download) - annotate - [select for diffs], Fri Dec 19 09:50:04 2008 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.24: +4 -2 lines
Diff to previous 1.24 (colored)

CTASSERT kcondvar size

Revision 1.24 / (download) - annotate - [select for diffs], Fri Dec 19 09:33:40 2008 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.23: +4 -5 lines
Diff to previous 1.23 (colored)

fix build

(hi thorpej!  the first one is always free ;)

Revision 1.23 / (download) - annotate - [select for diffs], Thu Dec 18 00:24:12 2008 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.22: +4 -1 lines
Diff to previous 1.22 (colored)

__KERNEL_RCSID

Revision 1.22 / (download) - annotate - [select for diffs], Sat Dec 13 15:34:48 2008 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.21: +42 -22 lines
Diff to previous 1.21 (colored)

Get rid of local machine/{mutex,rwlock}.h files by treating the
object storage as a single pointer (all archs have at least one
uintptr_t in the objects).

Revision 1.16.4.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:34 2008 UTC (15 years, 2 months ago) by haad
Branch: haad-dm
Changes since 1.16.4.1: +2 -2 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Dec 10 14:55:25 2008 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Make kernel biglock recursecount volatile.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:18:06 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.16: +41 -11 lines
Diff to previous 1.16 (colored)

Sync with HEAD.

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Fri Oct 10 22:36:16 2008 UTC (15 years, 4 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.15.2.2: +32 -9 lines
Diff to previous 1.15.2.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Oct 10 13:14:41 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, 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, netbsd-5, 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, matt-mips64-base2, haad-dm-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.19: +5 -3 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Thu Oct 9 01:17:48 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.18: +28 -7 lines
Diff to previous 1.18 (colored)

Rewrite kernel lockus maximus handling to be correct.

Revision 1.11.6.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:41:03 2008 UTC (15 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.11.6.2: +9 -2 lines
Diff to previous 1.11.6.2 (colored) to branchpoint 1.11 (colored)

Sync with HEAD.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:37:04 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.15.2.1: +10 -3 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Thu Jul 31 04:51:05 2008 UTC (15 years, 6 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.16.2.1: +3 -3 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jul 29 13:17:47 2008 UTC (15 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

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

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Mon Jul 21 14:14:13 2008 UTC (15 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.16: +8 -1 lines
Diff to previous 1.16 (colored)

Sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jul 18 16:19:12 2008 UTC (15 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.16: +8 -1 lines
Diff to previous 1.16 (colored)

support cv_has_waiters()

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:32:02 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:48 2008 UTC (15 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.14.2.1: +3 -1 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

sync with head

Revision 1.11.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:31 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.11.6.1: +67 -0 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored)

Sync with HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Sat May 31 19:28:36 2008 UTC (15 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl, haad-dm
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored)

Turn off DIAGNOSTIC so it builds.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:48 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.14: +1 -8 lines
Diff to previous 1.14 (colored)

sync with head.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:50 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14: +1 -8 lines
Diff to previous 1.14 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:10 2008 UTC (15 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.14: +1 -8 lines
Diff to previous 1.14 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.14 / (download) - annotate - [select for diffs], Fri Apr 11 15:23:45 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.13: +73 -1 lines
Diff to previous 1.13 (colored)

More stubs.

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:10 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.11: +4 -9 lines
Diff to previous 1.11 (colored)

Sync with HEAD.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Apr 1 19:49:31 2008 UTC (15 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

remove useless passing of the lwp from the KERNEL_LOCK() ABI
(not the API; this would be easy as well)
agreed (a while ago) by ad

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:28 2008 UTC (15 years, 11 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.11: +2 -7 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head.

Revision 1.1.6.5 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:09 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.1.6.4: +26 -16 lines
Diff to previous 1.1.6.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with HEAD

Revision 1.2.4.6 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:46 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.5: +2 -7 lines
Diff to previous 1.2.4.5 (colored) next main 1.3 (colored)

sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Mar 11 10:50:16 2008 UTC (15 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Changes since 1.11: +2 -7 lines
Diff to previous 1.11 (colored)

Backup some fixes for recent breakage from local tree.  Also some
other improvements such as exporting the real kernel namei and
using that in ukfs instead of the homegrown heap'o hacks namei.
"etcetc".

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:22 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs
Changes since 1.1.4.2: +59 -5 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.2.4.5 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:51 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.4: +25 -10 lines
Diff to previous 1.2.4.4 (colored)

sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 30 10:22:02 2008 UTC (16 years ago) by ad
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.10: +1 -3 lines
Diff to previous 1.10 (colored)

Fix pasto. Spotted by pooka@

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jan 30 09:50:24 2008 UTC (16 years ago) by ad
Branch: MAIN
Changes since 1.9: +18 -4 lines
Diff to previous 1.9 (colored)

Replace struct lock on vnodes with a simpler lock object built on
krwlock_t. This is a step towards removing lockmgr and simplifying
vnode locking. Discussed on tech-kern.

Revision 1.4.6.2 / (download) - annotate - [select for diffs], Wed Jan 23 19:27:46 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.4.6.1: +8 -5 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 21 17:56:48 2008 UTC (16 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase
Changes since 1.8: +9 -6 lines
Diff to previous 1.8 (colored)

In case cv_timedwait() gets ticks == 0, make sure we sleep eternally
(or at least until wakeup) instead of immediately waking up.

In other words, fix this after it broke when another piece of the
code was fixed.  Ain't programming fun?

Revision 1.2.4.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:47:43 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.3: +40 -1 lines
Diff to previous 1.2.4.3 (colored)

sync with head

Revision 1.1.6.4 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:00 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.1.6.3: +56 -1 lines
Diff to previous 1.1.6.3 (colored) to branchpoint 1.1 (colored)

sync with HEAD

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:57:53 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.4: +40 -1 lines
Diff to previous 1.4 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 2 12:46:07 2008 UTC (16 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-base
Changes since 1.7: +1 -18 lines
Diff to previous 1.7 (colored)

Fix merge error.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:06 2008 UTC (16 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.6: +18 -1 lines
Diff to previous 1.6 (colored)

Merge vmlocking2 to head.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jan 1 22:03:24 2008 UTC (16 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.5: +23 -1 lines
Diff to previous 1.5 (colored)

emulate a couple more locking interfaces

Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 30 03:35:20 2007 UTC (16 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.4: +18 -1 lines
Diff to previous 1.4 (colored)

steal 1.4.2.1 from vmlocking2: cv_xwait_sig()

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Fri Dec 28 21:43:18 2007 UTC (16 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.4: +18 -1 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Make rump build.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:21:27 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.1.4.1: +8 -1 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Fri Dec 7 17:34:47 2007 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.2: +17 -1 lines
Diff to previous 1.2.4.2 (colored)

sync with head

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Wed Nov 21 21:56:14 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.1.2.3: +17 -1 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Wed Nov 21 21:19:49 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.2.2.3: +8 -1 lines
Diff to previous 1.2.2.3 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.4 / (download) - annotate - [select for diffs], Mon Nov 19 14:17:26 2007 UTC (16 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.3: +8 -1 lines
Diff to previous 1.3 (colored)

support cv_broadcast()

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:49:23 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.1: +32 -1 lines
Diff to previous 1.1 (colored)

Sync with HEAD.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Sun Nov 18 19:35:55 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.2.2.2: +9 -0 lines
Diff to previous 1.2.2.2 (colored)

Sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Sat Nov 17 20:50:18 2007 UTC (16 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.2: +10 -1 lines
Diff to previous 1.2 (colored)

Implement cv_timedwait(), requested by Reinoud.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Thu Nov 15 11:45:26 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.1: +183 -0 lines
Diff to previous 1.2.4.1 (colored)

sync with head.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Nov 13 16:03:14 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.2.2.1: +183 -0 lines
Diff to previous 1.2.2.1 (colored)

Sync with HEAD

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Sun Nov 11 16:48:44 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.1.2.2: +23 -1 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.1.6.3 / (download) - annotate - [select for diffs], Thu Nov 8 11:00:18 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.1.6.2: +23 -1 lines
Diff to previous 1.1.6.2 (colored) to branchpoint 1.1 (colored)

sync with -HEAD

Revision 1.2.4.1, Wed Nov 7 16:24:22 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2: +0 -183 lines
FILE REMOVED

file locks.c was added on branch yamt-lazymbuf on 2007-11-15 11:45:26 +0000

Revision 1.2.2.1, Wed Nov 7 16:24:22 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.2: +0 -183 lines
FILE REMOVED

file locks.c was added on branch bouyer-xenamd64 on 2007-11-13 16:03:14 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Wed Nov 7 16:24:22 2007 UTC (16 years, 3 months ago) by pooka
Branch: MAIN
Branch point for: yamt-lazymbuf, bouyer-xenamd64
Changes since 1.1: +23 -1 lines
Diff to previous 1.1 (colored)

implement _kernel_lock{,_unlock}()

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Tue Nov 6 23:34:36 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.1.6.1: +161 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored)

sync with HEAD

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Oct 31 23:14:16 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.1.2.1: +161 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.1.6.1, Wed Oct 31 15:57:21 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.1: +0 -161 lines
FILE REMOVED

file locks.c was added on branch matt-armv6 on 2007-11-06 23:34:36 +0000

Revision 1.1.2.1, Wed Oct 31 15:57:21 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.1: +0 -161 lines
FILE REMOVED

file locks.c was added on branch jmcneill-pm on 2007-10-31 23:14:16 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 31 15:57:21 2007 UTC (16 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm

Make it possible to run rumps multithreaded.  This brings real
locking and makes it possible to run file systems which create
threads.  It also makes rump file system behaviour better match
file system behaviour in the kernel.

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>