The NetBSD Project

CVS log for src/sys/sys/condvar.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19 / (download) - annotate - [select for diffs], Thu Nov 2 10:31:55 2023 UTC (5 months, 2 weeks ago) by martin
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored) to selected 1.8 (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.18 / (download) - annotate - [select for diffs], Fri Oct 13 18:48:56 2023 UTC (6 months ago) by ad
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored) to selected 1.8 (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.17 / (download) - annotate - [select for diffs], Mon May 11 03:59:33 2020 UTC (3 years, 11 months ago) by riastradh
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, netbsd-10-base, netbsd-10-0-RELEASE, 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
Changes since 1.16: +1 -5 lines
Diff to previous 1.16 (colored) to selected 1.8 (colored)

Remove timedwaitclock.

This did not fix the bug I hoped it would fix in futex, and needs
more design thought.  Might redo it somewhat differently later.

Revision 1.16 / (download) - annotate - [select for diffs], Sun May 3 01:24:37 2020 UTC (3 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.15: +6 -1 lines
Diff to previous 1.15 (colored) to selected 1.8 (colored)

New cv_timedwaitclock, cv_timedwaitclock_sig.

Usage: given a struct timespec timeout copied from userland, along
with a clockid and TIMER_* flags,

        error = cv_timedwaitclock(cv, lock, timeout, clockid, flags,
            DEFAULT_TIMEOUT_EPSILON);
        if (error)
                /* fail */

If flags is relative (i.e., (flags & TIMER_ABSTIME) == 0), then this
deducts the time spent waiting from timeout, so you can run it in a
loop:

        struct timespec timeout;

        error = copyin(SCARG(uap, timeout), &timeout, sizeof timeout);
        if (error)
                return error;

        mutex_enter(lock);
        while (!ready()) {
                error = cv_timedwaitclock_sig(cv, lock, &timeout,
                    SCARG(uap, clockid), SCARG(uap, flags),
                    DEFAULT_TIMEOUT_EPSILON);
                if (error)
                        break;
        }
        mutex_exit(lock);

CAVEAT: If the system call is interrupted by a signal with SA_RESTART
so cv_timedwaitclock_sig fails with ERESTART, then the system call
will be restarted with the _original_ relative timeout, not counting
the time that was already spent waiting.  This is a problem but it's
not a problem I want to deal with at the moment.

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:03 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.8 (colored)

Merge changes from current as of 20200406

Revision 1.15 / (download) - annotate - [select for diffs], Thu Mar 26 19:46:42 2020 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) to selected 1.8 (colored)

Change sleepq_t from a TAILQ to a LIST and remove SOBJ_SLEEPQ_FIFO.  Only
select/poll used the FIFO method and that was for collisions which rarely
occur.  Shrinks sleep_t and condvar_t.

Revision 1.12.22.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:20 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.12: +12 -7 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.8 (colored)

update from HEAD

Revision 1.12.40.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:16 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.12.40.1: +6 -1 lines
Diff to previous 1.12.40.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored) to selected 1.8 (colored)

Sync with HEAD

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jul 3 03:12:42 2017 UTC (6 years, 9 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, 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, 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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: phil-wifi
Changes since 1.13: +6 -1 lines
Diff to previous 1.13 (colored) to selected 1.8 (colored)

Add new declarations of cv_timedwaitbt and cv_timedwaitbt_sig, too.

Helps to put all the files I meant to commit on the command line!

Noted by pgoyette, thanks!

Revision 1.12.40.1 / (download) - annotate - [select for diffs], Fri Apr 22 15:44:19 2016 UTC (7 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.12: +7 -7 lines
Diff to previous 1.12 (colored) to selected 1.8 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Sat Apr 9 16:59:43 2016 UTC (8 years ago) by riastradh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, 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, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.12: +7 -7 lines
Diff to previous 1.12 (colored) to selected 1.8 (colored)

Don't pollute <sys/condvar.h> with <sys/mutex.h>.

Instead, forward-declare struct kmutex, since we only need to
describe pointer types to it.

This breaks an include cycle on several architectures:

sys/cpu_data.h
-> sys/condvar.h
-> sys/mutex.h
-> sys/intr.h
-> machine/intr.h
-> machine/cpu.h
-> sys/cpu_data.h

Revision 1.8.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:41 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.8.4.2: +1 -3 lines
Diff to previous 1.8.4.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.8 (colored)

sync with head

Revision 1.12 / (download) - annotate - [select for diffs], Sat Dec 5 22:38:19 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20160319, nick-nhusb-base-20151226, 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, 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-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, jruoho-x86intr-base, jruoho-x86intr, 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, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored) to selected 1.8 (colored)

tsleep() on lbolt is now illegal.  Convert cv_wakeup(&lbolt) to
cv_broadcast(&lbolt) and get rid of the prior.

Revision 1.8.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:14:34 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.8.4.1: +2 -10 lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored) to selected 1.8 (colored)

sync with head.

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:29 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.10: +2 -10 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.8 (colored)

Sync with HEAD.

Revision 1.7.14.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:40 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.7.14.2: +1 -9 lines
Diff to previous 1.7.14.2 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Dec 19 07:57:28 2008 UTC (15 years, 4 months ago) by thorpej
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, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.10: +2 -10 lines
Diff to previous 1.10 (colored) to selected 1.8 (colored)

Make condvars really opaque -- hide the wait message member from consumers
of the API.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:32:02 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.8 (colored)

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

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:49 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.8.2.1: +5 -5 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.8 (colored)

sync with head

Revision 1.7.14.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:32 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.7.14.1: +4 -11 lines
Diff to previous 1.7.14.1 (colored) to branchpoint 1.7 (colored) to selected 1.8 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Sat May 31 13:36:25 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, 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-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored) to selected 1.8 (colored)

- Give each condition variable its own sleep queue head.  Helps the system
  to scale more gracefully when there are thousands of active threads.
  Proposed on tech-kern@.

- Use LOCKDEBUG to catch some errors in the use of condition variables:

  freeing an active CV
  re-initializing an active CV
  using multiple distinct mutexes during concurrent waits
  not holding the interlocking mutex when calling cv_broadcast/cv_signal
  waking waiters and destroying the CV before they run and exit it

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

sync with head.

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

sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:10 2008 UTC (15 years, 11 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.8: +1 -8 lines
Diff to previous 1.8 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.7.14.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:11 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored) to selected 1.8 (colored)

Sync with HEAD.

Revision 1.7.10.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:28 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with head.

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:10 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.6.4.1: +4 -3 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.8 (colored)

sync with HEAD

Revision 1.2.4.5 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:47 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.4: +4 -3 lines
Diff to previous 1.2.4.4 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.8 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [selected], Wed Mar 5 17:05:21 2008 UTC (16 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored)

- Add cv_is_valid(), for use in assertions. Performs basic sanity checks.
- Add more assertions.

Revision 1.6.10.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:49:26 2007 UTC (16 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.8 (colored)

Sync with HEAD.

Revision 1.2.4.4 / (download) - annotate - [select for diffs], Thu Nov 15 11:45:29 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.3: +2 -2 lines
Diff to previous 1.2.4.3 (colored) to branchpoint 1.2 (colored) to selected 1.8 (colored)

sync with head.

Revision 1.6.8.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:03:20 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.8 (colored)

Sync with HEAD

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:34:44 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.8 (colored)

sync with HEAD

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 19:25:37 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.8 (colored)

Sync with HEAD.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 6 00:25:48 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.8 (colored)

Fix decl of lbolt.

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:46:04 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.2: +6 -2 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored) to selected 1.8 (colored)

sync with head.

Revision 1.2.8.3 / (download) - annotate - [select for diffs], Mon Aug 20 21:28:14 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.2.8.2: +3 -1 lines
Diff to previous 1.2.8.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.8 (colored)

Sync with HEAD.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:50:52 2007 UTC (16 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored) next main 1.6 (colored) to selected 1.8 (colored)

Sync with HEAD.

Revision 1.6.12.2 / (download) - annotate - [select for diffs], Wed Aug 1 23:21:15 2007 UTC (16 years, 8 months ago) by ad
Branch: matt-mips64
Changes since 1.6.12.1: +78 -0 lines
Diff to previous 1.6.12.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.8 (colored)

Ressurect cv_wakeup() and use it on lbolt. Should fix PR kern/36714.
(background/foreground signal lossage in -current with various programs).

Revision 1.6.12.1, Wed Aug 1 23:21:14 2007 UTC (16 years, 8 months ago) by ad
Branch: matt-mips64
Changes since 1.6: +0 -78 lines
FILE REMOVED

file condvar.h was added on branch matt-mips64 on 2007-08-01 23:21:15 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Wed Aug 1 23:21:14 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, matt-mips64-base
Branch point for: mjf-devfs, matt-mips64, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored) to selected 1.8 (colored)

Ressurect cv_wakeup() and use it on lbolt. Should fix PR kern/36714.
(background/foreground signal lossage in -current with various programs).

Revision 1.2.10.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:12:22 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.2: +5 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.8 (colored)

Sync with head.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jul 9 21:11:32 2007 UTC (16 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, hpcarm-cleanup
Branch point for: nick-csl-alignment
Changes since 1.4: +4 -1 lines
Diff to previous 1.4 (colored) to selected 1.8 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Sun Apr 15 16:04:04 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.2: +2 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.8 (colored)

sync with head.

Revision 1.2.8.2 / (download) - annotate - [select for diffs], Tue Apr 10 13:26:18 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.2.8.1: +2 -3 lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored) to selected 1.8 (colored)

Sync with head.

Revision 1.2.12.1 / (download) - annotate - [select for diffs], Thu Mar 29 19:28:03 2007 UTC (17 years ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.2: +2 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.8 (colored)

Pullup to -current

Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 29 17:39:34 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.8 (colored)

Make cv_has_waiters() return type bool.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 29 17:34:39 2007 UTC (17 years ago) by ad
Branch: MAIN
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored) to selected 1.8 (colored)

- cv_wakeup: remove this. There are ~zero situations where it's useful.
- cv_wait and friends: after resuming execution, check to see if we have
  been restarted as a result of cv_signal. If we have, but cannot take
  the wakeup (because of eg a pending Unix signal or timeout) then try to
  ensure that another LWP sees it. This is necessary because there may
  be multiple waiters, and at least one should take the wakeup if possible.
  Prompted by a discussion with pooka@.
- typedef struct lwp lwp_t;
- int -> bool, struct lwp -> lwp_t in a few places.

Revision 1.2.8.1 / (download) - annotate - [select for diffs], Wed Mar 21 20:16:33 2007 UTC (17 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.2: +4 -1 lines
Diff to previous 1.2 (colored) to selected 1.8 (colored)

- Put a lock around the proc's CWD info (work in progress).
- Replace some more simplelocks.
- Make lbolt a condvar.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:10 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.1: +74 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) to selected 1.8 (colored)

sync with head.

Revision 1.2.4.1, Fri Feb 9 21:55:37 2007 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2: +0 -74 lines
FILE REMOVED

file condvar.h was added on branch yamt-lazymbuf on 2007-02-26 09:12:10 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:37 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-lazymbuf, yamt-idlelwp, vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Changes since 1.1: +74 -0 lines
Diff to previous 1.1 (colored) to selected 1.8 (colored)

Merge newlock2 to head.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Mon Feb 5 13:16:11 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.1.2.4: +2 -3 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.8 (colored)

Redo previous to be less ugly.

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Sat Feb 3 16:32:50 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.1.2.3: +7 -4 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored) to selected 1.8 (colored)

- Require that cv_signal/cv_broadcast be called with the interlock held.
- Provide 'async' versions that's don't need the interlock.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:45 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.1.2.2: +4 -8 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) to selected 1.8 (colored)

Checkpoint work in progress.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Fri Nov 17 16:34:40 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.1.2.1: +3 -7 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) to selected 1.8 (colored)

Checkpoint work in progress.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Fri Oct 20 19:40:17 2006 UTC (17 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.1: +80 -0 lines
Diff to previous 1.1 (colored) to selected 1.8 (colored)

Add a condition variable implementation (untested).

Revision 1.1, Fri Oct 20 19:40:17 2006 UTC (17 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, newlock2-nbase, newlock2-base
Branch point for: newlock2
FILE REMOVED

file condvar.h was initially added on branch newlock2.

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>