The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.28 / (download) - annotate - [select for diffs], Fri Oct 13 18:23:54 2023 UTC (5 months, 2 weeks ago) by ad
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored) to selected 1.2.6.2 (colored)

Rump: sleepq_remove(): don't unlock the sleepq.  Spotted by hannken@.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Oct 8 13:23:05 2023 UTC (5 months, 2 weeks ago) by ad
Branch: MAIN
Changes since 1.26: +9 -2 lines
Diff to previous 1.26 (colored) to selected 1.2.6.2 (colored)

Ensure that an LWP that has taken a legitimate wakeup never produces an
error code from sleepq_block().  Then, it's possible to make cv_signal()
work as expected and only ever wake a singular LWP.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Oct 5 19:28:30 2023 UTC (5 months, 3 weeks ago) by ad
Branch: MAIN
Changes since 1.25: +8 -4 lines
Diff to previous 1.25 (colored) to selected 1.2.6.2 (colored)

Resolve !MULTIPROCESSOR build problem with the nasty kernel lock macros.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Oct 4 20:29:18 2023 UTC (5 months, 3 weeks ago) by ad
Branch: MAIN
Changes since 1.24: +9 -8 lines
Diff to previous 1.24 (colored) to selected 1.2.6.2 (colored)

Eliminate l->l_biglocks.  Originally I think it had a use but these days a
local variable will do.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Sep 23 18:48:04 2023 UTC (6 months ago) by ad
Branch: MAIN
Changes since 1.23: +54 -3 lines
Diff to previous 1.23 (colored) to selected 1.2.6.2 (colored)

- Simplify how priority boost for blocking in kernel is handled.  Rather
  than setting it up at each site where we block, make it a property of
  syncobj_t.  Then, do not hang onto the priority boost until userret(),
  drop it as soon as the LWP is out of the run queue and onto a CPU.
  Holding onto it longer is of questionable benefit.

- This allows two members of lwp_t to be deleted, and mi_userret() to be
  simplified a lot (next step: trim it down to a single conditional).

- While here, constify syncobj_t and de-inline a bunch of small functions
  like lwp_lock() which turn out not to be small after all (I don't know
  why, but atomic_*_relaxed() seem to provoke a compiler shitfit above and
  beyond what volatile does).

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jun 30 07:47:07 2022 UTC (20 months, 4 weeks ago) by knakahara
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) to selected 1.2.6.2 (colored)

Fix rump build failure after sleepq.h:r1.35.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Apr 9 23:45:23 2022 UTC (23 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.21: +3 -4 lines
Diff to previous 1.21 (colored) to selected 1.2.6.2 (colored)

rumpkern/sleepq: Convert membar_exit/store to atomic_store_release.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:38:16 2020 UTC (3 years, 3 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.20: +11 -16 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.2.6.2 (colored)

Sync w/ HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Nov 1 20:58:38 2020 UTC (3 years, 4 months ago) by christos
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-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.20: +11 -16 lines
Diff to previous 1.20 (colored) to selected 1.2.6.2 (colored)

PR/55664: Ruslan Nikolaev: Fix:

1. A race condition (bug) in sys/rump/librump/rumpkern/intr.c since
   rumpuser_cv_signal() is called without holding a mutex
2. sleepq is implemented using a single (global) conditional
   variable; that should be done per each sleepq separately

Revision 1.20 / (download) - annotate - [select for diffs], Sat Apr 25 15:42:15 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.2.6.2 (colored)

Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM
guests in GENERIC.
Xen support can be disabled at runtime with
boot -c
disable hypervisor

Revision 1.17.18.2 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:45 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.17.18.1: +2 -1 lines
Diff to previous 1.17.18.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored) to selected 1.2.6.2 (colored)

Sync with HEAD

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:29:13 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.2.6.2 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Sun Apr 19 20:41:30 2020 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored) to selected 1.2.6.2 (colored)

good grief..

Revision 1.17.18.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:01 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.17: +9 -9 lines
Diff to previous 1.17 (colored) to selected 1.2.6.2 (colored)

Merge changes from current as of 20200406

Revision 1.18 / (download) - annotate - [select for diffs], Thu Mar 26 22:40:10 2020 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Changes since 1.17: +9 -9 lines
Diff to previous 1.17 (colored) to selected 1.2.6.2 (colored)

sleepq_t is now a LIST.  Forgot to commit earlier.

Revision 1.13.14.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:16 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.13.14.2: +1 -1 lines
Diff to previous 1.13.14.2 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored) to selected 1.2.6.2 (colored)

update from HEAD

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:37 2016 UTC (8 years ago) by skrll
Branch: nick-nhusb
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.2.6.2 (colored)

Sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 26 23:12:18 2016 UTC (8 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: phil-wifi
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.2.6.2 (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.13.14.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:41 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.13.14.1: +3 -5 lines
Diff to previous 1.13.14.1 (colored) to branchpoint 1.13 (colored) to selected 1.2.6.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.14.10.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:51 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.14: +5 -7 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.2.6.2 (colored)

Rebase.

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Thu May 22 11:41:15 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.13: +6 -14 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.2.6.2 (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.14.6.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:18 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.14: +5 -7 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.2.6.2 (colored)

sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Thu Apr 24 12:04:28 2014 UTC (9 years, 11 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-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
Branch point for: nick-nhusb
Changes since 1.15: +3 -4 lines
Diff to previous 1.15 (colored) to selected 1.2.6.2 (colored)

Make sleepq_wake() type void.  The return value hasn't been used in
almost 6 years.  Even if it were, returning an arbitrary lwp is a bit
of a wonky interface and can really work only when expected == 1.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 24 11:56:11 2014 UTC (9 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.14: +4 -5 lines
Diff to previous 1.14 (colored) to selected 1.2.6.2 (colored)

in sleepq_wake(), honor the "expected" parameter

Revision 1.13.14.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:28 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.13: +3 -9 lines
Diff to previous 1.13 (colored) to selected 1.2.6.2 (colored)

resync from head

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 10 11:21:05 2013 UTC (11 years ago) by pooka
Branch: MAIN
CVS Tags: 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, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-earlyentropy, rmind-smpnet
Changes since 1.13: +3 -9 lines
Diff to previous 1.13 (colored) to selected 1.2.6.2 (colored)

Make RUN_ONCE actually run only once.  Also, remove a "slightly"
outdated comment.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:08 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.11: +11 -7 lines
Diff to previous 1.11 (colored) next main 1.12 (colored) to selected 1.2.6.2 (colored)

Sync with HEAD.

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:15 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.6: +23 -17 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.2.6.2 (colored)

sync with head

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:20:04 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.11: +11 -7 lines
Diff to previous 1.11 (colored) next main 1.12 (colored) to selected 1.2.6.2 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 28 17:57:03 2011 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.12: +8 -8 lines
Diff to previous 1.12 (colored) to selected 1.2.6.2 (colored)

these days make sure we have an lwp lock (for lwp walker smiths)

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jan 27 21:55:25 2011 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.11: +6 -2 lines
Diff to previous 1.11 (colored) to selected 1.2.6.2 (colored)

Fill in l_wmesg since some proc-walkers assume it.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 12 12:51:21 2011 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored) to selected 1.2.6.2 (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.10 / (download) - annotate - [select for diffs], Sat Dec 18 14:01:43 2010 UTC (13 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored) to selected 1.2.6.2 (colored)

Pull in sys/atomic.h so that hp700 can build - needed for membar_exit.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 18 01:36:20 2010 UTC (13 years, 3 months ago) by rmind
Branch: MAIN
Changes since 1.8: +11 -14 lines
Diff to previous 1.8 (colored) to selected 1.2.6.2 (colored)

- Fix a few possible locking issues in execve1() and exit1().  Add a note
  that scheduler locks are special in this regard - adaptive locks cannot
  be in the path due to turnstiles.  Randomly spotted/reported by uebayasi@.
- Remove unused lwp_relock() and replace lwp_lock_retry() by simplifying
  lwp_lock() and sleepq_enter() a little.
- Give alllwp its own cache-line and mark lwp_cache pointer as read-mostly.

OK ad@

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:48:02 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.6: +5 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.2.6.2 (colored)

Sync with HEAD.

Revision 1.2.6.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:55:07 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2.6.3: +5 -2 lines
Diff to previous 1.2.6.3 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.2.6.2 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 23 19:14:14 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.7: +3 -2 lines
Diff to previous 1.7 (colored) to selected 1.2.6.2 (colored)

If a thread wake up spuriously, re-set l_mutex to make sure it's
still at the original value and not the schedstate one.  This makes
select not miss wakeups in cases where there was a lot of selecting
going on (which is not all that common in a rump kernel).

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jul 22 21:00:07 2010 UTC (13 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored) to selected 1.2.6.2 (colored)

Reset l_mutex when waking up a thread.  select uses it to determine
if a thread is still selecting, and would get a KASSERT panic if
the thread had been woken up but not run yet when selnotify() was
called.

Revision 1.2.6.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:38 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2.6.2: +83 -24 lines
Diff to previous 1.2.6.2 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 17 15:23:42 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.5: +15 -4 lines
Diff to previous 1.5 (colored) to selected 1.2.6.2 (colored)

init global cv only once

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 21 23:13:53 2009 UTC (14 years, 5 months ago) by rmind
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.4: +3 -5 lines
Diff to previous 1.4 (colored) to selected 1.2.6.2 (colored)

Sync rump with kernel changes.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 16 02:13:54 2009 UTC (14 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.3: +5 -3 lines
Diff to previous 1.3 (colored) to selected 1.2.6.2 (colored)

In case of timeout, remember to remove ourselves from the sleep staleq.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 16 00:14:53 2009 UTC (14 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.2: +69 -21 lines
Diff to previous 1.2 (colored) to selected 1.2.6.2 (colored)

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

Revision 1.2.6.2 / (download) - annotate - [selected], Mon May 4 08:14:30 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2.6.1: +116 -0 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.1.6.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:25 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.1: +4 -1 lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.2.6.2 (colored)

Sync with HEAD.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:36 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.2.2.1: +116 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.2.6.2 (colored)

Sync with HEAD.

Revision 1.2.6.1, Thu Dec 18 00:24:12 2008 UTC (15 years, 3 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2: +0 -116 lines
FILE REMOVED

file sleepq.c was added on branch yamt-nfs-mp on 2009-05-04 08:14:30 +0000

Revision 1.2.2.1, Thu Dec 18 00:24:12 2008 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.2: +0 -116 lines
FILE REMOVED

file sleepq.c was added on branch mjf-devfs2 on 2009-01-17 13:29:36 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 18 00:24:12 2008 UTC (15 years, 3 months 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, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend
Branch point for: yamt-nfs-mp, mjf-devfs2
Changes since 1.1: +4 -1 lines
Diff to previous 1.1 (colored) to selected 1.2.6.2 (colored)

__KERNEL_RCSID

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Sun Oct 19 22:18:07 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.1.4.1: +113 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.2.6.2 (colored)

Sync with HEAD.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Fri Oct 10 22:36:16 2008 UTC (15 years, 5 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.1.2.1: +113 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.2.6.2 (colored)

Sync with HEAD.

Revision 1.1.4.1, Fri Oct 10 13:14:41 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.1: +0 -113 lines
FILE REMOVED

file sleepq.c was added on branch haad-dm on 2008-10-19 22:18:07 +0000

Revision 1.1.2.1, Fri Oct 10 13:14:41 2008 UTC (15 years, 5 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.1: +0 -113 lines
FILE REMOVED

file sleepq.c was added on branch wrstuden-revivesa on 2008-10-10 22:36:16 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 10 13:14:41 2008 UTC (15 years, 5 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-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: wrstuden-revivesa, nick-hppapmap, haad-dm
Diff to selected 1.2.6.2 (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.

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>