The NetBSD Project

CVS log for src/sys/ddb/db_xxx.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.80 / (download) - annotate - [select for diffs], Thu Nov 2 10:31:55 2023 UTC (4 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.79: +2 -48 lines
Diff to previous 1.79 (colored) to selected 1.41.2.3 (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.79 / (download) - annotate - [select for diffs], Sun Oct 15 10:40:52 2023 UTC (5 months, 2 weeks ago) by martin
Branch: MAIN
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored) to selected 1.41.2.3 (colored)

When converting from db_expr_t to a pointer cast via uintptr_t
to help kernels where the size differs (e.g. 32bit sparc64 kernels)

Revision 1.78 / (download) - annotate - [select for diffs], Fri Oct 13 19:07:08 2023 UTC (5 months, 2 weeks ago) by ad
Branch: MAIN
Changes since 1.77: +48 -2 lines
Diff to previous 1.77 (colored) to selected 1.41.2.3 (colored)

Simplify/streamline pipes a little bit:

- Allocate only one struct pipe not two (no need to be bidirectional here).
- Then use f_flag (FREAD/FWRITE) to figure out what to do in the fileops.
- Never wake the other side or acquire long-term (I/O) lock unless needed.
- Whenever possible, defer wakeups until after locks have been released.
- Do some things locklessly in pipe_ioctl() and pipe_poll().

Some notable results:

- -30% latency on a 486DX2/66 doing 1 byte ping-pong within a single process.
- 2.5x less lock contention during "make cleandir" of src on a 48 CPU machine.
- 1.5x bandwith with 1kB messages on the same 48 CPU machine (8kB: same b/w).

Revision 1.77 / (download) - annotate - [select for diffs], Sun Oct 8 15:03:16 2023 UTC (5 months, 2 weeks ago) by martin
Branch: MAIN
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored) to selected 1.41.2.3 (colored)

For architectures (mips64) where sizeof(db_expr_t) != sizeof(kcondvar_t *)
cast through uintptr_t.

Revision 1.76 / (download) - annotate - [select for diffs], Sat Oct 7 20:27:20 2023 UTC (5 months, 3 weeks ago) by ad
Branch: MAIN
Changes since 1.75: +54 -2 lines
Diff to previous 1.75 (colored) to selected 1.41.2.3 (colored)

Add some simple DDB show commands: condvar, selinfo, sleepq

Revision 1.75 / (download) - annotate - [select for diffs], Sat May 23 23:42:42 2020 UTC (3 years, 10 months 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, 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.74: +5 -5 lines
Diff to previous 1.74 (colored) to selected 1.41.2.3 (colored)

Move proc_lock into the data segment.  It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.

Revision 1.71.18.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:02 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.71: +6 -5 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.41.2.3 (colored)

Merge changes from current as of 20200406

Revision 1.74 / (download) - annotate - [select for diffs], Tue Mar 10 15:58:37 2020 UTC (4 years ago) by christos
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.73: +3 -3 lines
Diff to previous 1.73 (colored) to selected 1.41.2.3 (colored)

Make the db_kernelonly() macro visible to all files and re-use it.
Register access is kernel only.

Revision 1.71.24.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:01 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.71: +5 -4 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.41.2.3 (colored)

Sync with head.

Revision 1.73 / (download) - annotate - [select for diffs], Sat Feb 1 02:23:23 2020 UTC (4 years, 1 month ago) by riastradh
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored) to selected 1.41.2.3 (colored)

Load struct fdfile::ff_file with atomic_load_consume.

Exceptions: when we're only testing whether it's there, not about to
dereference it.

Note: We do not use atomic_store_release to set it because the
preceding mutex_exit should be enough.

(That said, it's not clear the mutex_enter/exit is needed unless
refcnt > 0 already, in which case maybe it would be a win to switch
from the membar implied by mutex_enter to the membar implied by
atomic_store_release -- which I would generally expect to be much
cheaper.  And a little clearer without a long comment.)

Revision 1.72 / (download) - annotate - [select for diffs], Sat Feb 1 02:23:04 2020 UTC (4 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.71: +4 -3 lines
Diff to previous 1.71 (colored) to selected 1.41.2.3 (colored)

Load struct filedesc::fd_dt with atomic_load_consume.

Exceptions: when fd_refcnt <= 1, or when holding fd_lock.

While here:

- Restore KASSERT(mutex_owned(&fdp->fd_lock)) in fd_unused.
  => This is used only in fd_close and fd_abort, where it holds.
- Move bounds check assertion in fd_putfile to where it matters.
- Store fd_dt with atomic_store_release.
- Move load of fd_dt under lock in knote_fdclose.
- Omit membar_consumer in fdesc_readdir.
  => atomic_load_consume serves the same purpose now.
  => Was needed only on alpha anyway.

Revision 1.66.8.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:58 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.66.8.1: +16 -12 lines
Diff to previous 1.66.8.1 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored) to selected 1.41.2.3 (colored)

update from HEAD

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:08 2015 UTC (8 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.70: +8 -2 lines
Diff to previous 1.70 (colored) next main 1.71 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD

Revision 1.71 / (download) - annotate - [select for diffs], Fri Feb 27 00:47:30 2015 UTC (9 years, 1 month ago) by ozaki-r
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, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, 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, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: phil-wifi, ad-namecache
Changes since 1.70: +8 -2 lines
Diff to previous 1.70 (colored) to selected 1.41.2.3 (colored)

Don't use an unset value as an address

Instead, show usage if no address is passed.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Sep 5 09:27:24 2014 UTC (9 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.69: +10 -12 lines
Diff to previous 1.69 (colored) to selected 1.41.2.3 (colored)

Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get
a correctly typed pointer.

Revision 1.66.8.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:10 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.66: +16 -2 lines
Diff to previous 1.66 (colored) to selected 1.41.2.3 (colored)

resync with head

Revision 1.64.2.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:03 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.64.2.1: +16 -2 lines
Diff to previous 1.64.2.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored) to selected 1.41.2.3 (colored)

sync with head

Revision 1.69 / (download) - annotate - [select for diffs], Sun Jan 6 03:34:52 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, 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, 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, khorben-n900, agc-symver-base, agc-symver
Changes since 1.68: +2 -32 lines
Diff to previous 1.68 (colored) to selected 1.41.2.3 (colored)

remove previous, dmesg just works.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Jan 6 03:23:55 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.67: +32 -2 lines
Diff to previous 1.67 (colored) to selected 1.41.2.3 (colored)

Add "show dmesg" that prints the contents of the message buffer.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Jan 5 15:23:27 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.66: +16 -2 lines
Diff to previous 1.66 (colored) to selected 1.41.2.3 (colored)

Add "show panic" that shows the current panic string. two ports had it, and
it could be easily made MI.

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:24 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.64: +18 -5 lines
Diff to previous 1.64 (colored) to selected 1.41.2.3 (colored)

sync with head

Revision 1.52.4.1.4.1 / (download) - annotate - [select for diffs], Thu Feb 16 10:42:51 2012 UTC (12 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.52.4.1: +22 -14 lines
Diff to previous 1.52.4.1 (colored) next main 1.53 (colored) to selected 1.41.2.3 (colored)

Make ps /l also printout the uarea.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Dec 3 16:25:49 2011 UTC (12 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: 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-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
Branch point for: tls-maxphys
Changes since 1.65: +16 -6 lines
Diff to previous 1.65 (colored) to selected 1.41.2.3 (colored)

If we are DIAGNOSTIC don't try to go further if we failed to take the
lock, because we are going to trigger a KASSERT. Also hold the lock
longer and take the proc lock for kpsignal(). Maybe we should add
mutex_steal() and mutex_return() for the debugger? Lock correction
suggestion from jmcneill.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Dec 2 23:57:58 2011 UTC (12 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.64: +6 -3 lines
Diff to previous 1.64 (colored) to selected 1.41.2.3 (colored)

deal with the proc_lock mutex.

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:54 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored) next main 1.64 (colored) to selected 1.41.2.3 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:51 2011 UTC (12 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored) to selected 1.41.2.3 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.62.4.2 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:13 2011 UTC (12 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.62.4.1: +41 -2 lines
Diff to previous 1.62.4.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored) to selected 1.41.2.3 (colored)

sync with head

Revision 1.62.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:38 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.62: +41 -2 lines
Diff to previous 1.62 (colored) next main 1.63 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.63 / (download) - annotate - [select for diffs], Tue May 31 03:40:22 2011 UTC (12 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.62: +41 -2 lines
Diff to previous 1.62 (colored) to selected 1.41.2.3 (colored)

re-instate db_kill_proc

Revision 1.62.4.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:05 2010 UTC (14 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored) to selected 1.41.2.3 (colored)

Change struct uvm_object::vmobjlock to be dynamically allocated with
mutex_obj_alloc().  It allows us to share the locks among UVM objects.

Revision 1.48.18.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:47:01 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.48.18.2: +5 -2 lines
Diff to previous 1.48.18.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored) to selected 1.41.2.3 (colored)

sync with head.

Revision 1.55.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:45 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.55.2.1: +9 -4 lines
Diff to previous 1.55.2.1 (colored) next main 1.56 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Jul 19 02:37:33 2009 UTC (14 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.61: +5 -2 lines
Diff to previous 1.61 (colored) to selected 1.41.2.3 (colored)

Add #ifdef MQUEUE for db_show_mqueue_cmd().

XXX: Wrong.  DDB should be dynamic, modular, etc.

Revision 1.48.18.2 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:19 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.48.18.1: +6 -4 lines
Diff to previous 1.48.18.1 (colored) to branchpoint 1.48 (colored) to selected 1.41.2.3 (colored)

sync with head

Revision 1.61 / (download) - annotate - [select for diffs], Sun May 24 21:41:25 2009 UTC (14 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5
Changes since 1.60: +6 -4 lines
Diff to previous 1.60 (colored) to selected 1.41.2.3 (colored)

More changes to improve kern_descrip.c.

- Avoid atomics in more places.
- Remove the per-descriptor mutex, and just use filedesc_t::fd_lock.
  It was only being used to synchronize close, and in any case we needed
  to take fd_lock to free the descriptor slot.
- Optimize certain paths for the <NDFDFILE case.
- Sprinkle more comments and assertions.
- Cache more stuff in filedesc_t.
- Fix numerous minor bugs spotted along the way.
- Restructure how the open files array is maintained, for clarity and so
  that we can eliminate the membar_consumer() call in fd_getfile().  This is
  mostly syntactic sugar; the main functional change is that fd_nfiles now
  lives alongside the open file array.

Some measurements with libmicro:

- simple file syscalls are like close() are between 1 to 10% faster.
- some nice improvements, e.g. poll(1000) which is ~50% faster.

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:04 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.55: +51 -171 lines
Diff to previous 1.55 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.48.18.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:32 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.48: +106 -163 lines
Diff to previous 1.48 (colored) to selected 1.41.2.3 (colored)

sync with head.

Revision 1.52.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:13 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.52.2.2: +46 -175 lines
Diff to previous 1.52.2.2 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Mar 21 13:06:39 2009 UTC (15 years ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.59: +21 -18 lines
Diff to previous 1.59 (colored) to selected 1.41.2.3 (colored)

Make 'show event', 'dmesg' work with crash(8).
XXX dmesg fails exactly the same way as /sbin/dmesg.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Mar 9 06:07:05 2009 UTC (15 years ago) by mrg
Branch: MAIN
Changes since 1.58: +6 -2 lines
Diff to previous 1.58 (colored) to selected 1.41.2.3 (colored)

include <stdbool.h> if not _KERNEL, and don't include kauth.h if _KERNEL.

now crash builds on i386.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Mar 8 11:40:00 2009 UTC (15 years ago) by mrg
Branch: MAIN
Changes since 1.57: +3 -4 lines
Diff to previous 1.57 (colored) to selected 1.41.2.3 (colored)

include ddb headers *after* sys/types.h or sys/param.h.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Mar 7 22:02:17 2009 UTC (15 years ago) by ad
Branch: MAIN
Changes since 1.56: +26 -161 lines
Diff to previous 1.56 (colored) to selected 1.41.2.3 (colored)

Make ddb compile and work in userspace. Mostly this is comprised of three
types of changes:

- Add a few new methods to replace stuff like p_find(), CPU_INFO_FOREACH.

- Use db_read_bytes() instead of accessing kernel structures directly,
  and similar changes.

- Add ifdef _KERNEL where the above hasn't been done, and an XXX comment.

Revision 1.52.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:30:30 2009 UTC (15 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.52.2.1: +34 -21 lines
Diff to previous 1.52.2.1 (colored) to branchpoint 1.52 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.52.4.1 / (download) - annotate - [select for diffs], Tue Feb 24 04:05:07 2009 UTC (15 years, 1 month ago) by snj
Branch: netbsd-5
CVS Tags: 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-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, 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-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.52: +25 -21 lines
Diff to previous 1.52 (colored) next main 1.53 (colored) to selected 1.41.2.3 (colored)

Pull up following revision(s) (requested by ad in ticket #488):
	share/man/man4/ddb.4: revision 1.122
	sys/ddb/db_xxx.c: revision 1.55 via patch
Default 'show all procs' to /l. People tend to type 'ps' without modifiers
when providing information about deadlocks. Without the thread info it's
not very useful.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Feb 18 13:31:59 2009 UTC (15 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.55: +11 -2 lines
Diff to previous 1.55 (colored) to selected 1.41.2.3 (colored)

- fix vmem unittest.  rename VMEM_DEBUG so that it won't be abused again.
- reimplement vmem sanity checks with less code duplication.
- reimplement ddb vmem-related commands in a more consistent ways.
  remove automatic whatis.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Feb 4 20:17:58 2009 UTC (15 years, 1 month ago) by ad
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.54: +25 -21 lines
Diff to previous 1.54 (colored) to selected 1.41.2.3 (colored)

Default 'show all procs' to /l. People tend to type 'ps' without modifiers
when providing information about deadlocks. Without the thread info it's
not very useful.

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:51 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.52: +13 -2 lines
Diff to previous 1.52 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.48.14.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:51 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.48.14.2: +11 -0 lines
Diff to previous 1.48.14.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.48.24.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:12 2008 UTC (15 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.48.24.1: +13 -2 lines
Diff to previous 1.48.24.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored) to selected 1.41.2.3 (colored)

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

Revision 1.54 / (download) - annotate - [select for diffs], Tue Nov 25 15:14:07 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.53: +10 -2 lines
Diff to previous 1.53 (colored) to selected 1.41.2.3 (colored)

Add some basic DDB stuff for modules.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Nov 14 23:37:50 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.52: +5 -2 lines
Diff to previous 1.52 (colored) to selected 1.41.2.3 (colored)

ifdef AIO

Revision 1.48.24.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:18 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.48: +54 -6 lines
Diff to previous 1.48 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.48.20.2 / (download) - annotate - [select for diffs], Fri Oct 10 22:29:46 2008 UTC (15 years, 5 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.48.20.1: +3 -3 lines
Diff to previous 1.48.20.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.48.14.2 / (download) - annotate - [select for diffs], Sun Oct 5 20:11:28 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.48.14.1: +1 -1 lines
Diff to previous 1.48.14.1 (colored) to branchpoint 1.48 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Oct 3 14:52:11 2008 UTC (15 years, 5 months ago) by rmind
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, netbsd-5-base, netbsd-5-0-RC2, netbsd-5-0-RC1, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored) to selected 1.41.2.3 (colored)

Replace more intptr_t to uintptr_t when casting VA.

Revision 1.48.14.1 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:18 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.48: +54 -6 lines
Diff to previous 1.48 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.48.20.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:36:46 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.48: +54 -6 lines
Diff to previous 1.48 (colored) to selected 1.41.2.3 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.48.22.1 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:31 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.48: +54 -6 lines
Diff to previous 1.48 (colored) next main 1.49 (colored) to selected 1.41.2.3 (colored)

Sync with head.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jul 14 10:15:11 2008 UTC (15 years, 8 months ago) by blymn
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Changes since 1.50: +11 -7 lines
Diff to previous 1.50 (colored) to selected 1.41.2.3 (colored)

Take care not to dereference NULL datapointer from fd table
Make output more readable and label what lock we are examining.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jul 10 13:28:23 2008 UTC (15 years, 8 months ago) by blymn
Branch: MAIN
Changes since 1.49: +7 -8 lines
Diff to previous 1.49 (colored) to selected 1.41.2.3 (colored)

Fix indents.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jul 10 12:42:24 2008 UTC (15 years, 8 months ago) by blymn
Branch: MAIN
Changes since 1.48: +51 -6 lines
Diff to previous 1.48 (colored) to selected 1.41.2.3 (colored)

Add a show files command that prints the vnodes associated with a
given struct proc and, if LOCKDEBUG is built in, the lock status of
the uvmobject.

Revision 1.46.6.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:08 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.46.6.1: +17 -27 lines
Diff to previous 1.46.6.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored) to selected 1.41.2.3 (colored)

sync with HEAD

Revision 1.47.6.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:16 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.47: +17 -27 lines
Diff to previous 1.47 (colored) next main 1.48 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.31.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:29:14 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.5: +17 -27 lines
Diff to previous 1.31.2.5 (colored) next main 1.32 (colored) to selected 1.41.2.3 (colored)

sync with head

Revision 1.46.4.2 / (download) - annotate - [select for diffs], Mon Dec 3 16:14:30 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.46.4.1: +17 -27 lines
Diff to previous 1.46.4.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Dec 2 19:35:33 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-1, wrstuden-revivesa-base, 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-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2, haad-dm
Changes since 1.47: +17 -27 lines
Diff to previous 1.47 (colored) to selected 1.41.2.3 (colored)

ps/w: display LWP info.

Revision 1.46.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:25:24 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.46: +10 -2 lines
Diff to previous 1.46 (colored) to selected 1.41.2.3 (colored)

sync with HEAD

Revision 1.31.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:29:55 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.4: +10 -2 lines
Diff to previous 1.31.2.4 (colored) to selected 1.41.2.3 (colored)

sync with head.

Revision 1.42.4.3 / (download) - annotate - [select for diffs], Tue Oct 9 13:44:10 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.42.4.2: +10 -2 lines
Diff to previous 1.42.4.2 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored) to selected 1.41.2.3 (colored)

Sync with head.

Revision 1.46.4.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:17 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.46: +10 -2 lines
Diff to previous 1.46 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Mon Sep 10 10:54:48 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.45.2.1: +10 -2 lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Sep 7 18:56:07 2007 UTC (16 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs
Changes since 1.46: +10 -2 lines
Diff to previous 1.46 (colored) to selected 1.41.2.3 (colored)

Implementation of POSIX message queues.

Reviewed by: <ad>, <tech-kern>

Revision 1.31.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:33:07 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.3: +28 -40 lines
Diff to previous 1.31.2.3 (colored) to selected 1.41.2.3 (colored)

sync with head.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:10 2007 UTC (16 years, 7 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.46.8.2 / (download) - annotate - [select for diffs], Thu Jul 19 21:54:52 2007 UTC (16 years, 8 months ago) by dsl
Branch: matt-mips64
Changes since 1.46.8.1: +310 -0 lines
Diff to previous 1.46.8.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored) to selected 1.41.2.3 (colored)

include cdefs.h before opt_xxx.h

Revision 1.46.8.1, Thu Jul 19 21:54:51 2007 UTC (16 years, 8 months ago) by dsl
Branch: matt-mips64
Changes since 1.46: +0 -310 lines
FILE REMOVED

file db_xxx.c was added on branch matt-mips64 on 2007-07-19 21:54:52 +0000

Revision 1.46 / (download) - annotate - [select for diffs], Thu Jul 19 21:54:51 2007 UTC (16 years, 8 months ago) by dsl
Branch: MAIN
CVS Tags: matt-mips64-base, hpcarm-cleanup
Branch point for: matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored) to selected 1.41.2.3 (colored)

include cdefs.h before opt_xxx.h

Revision 1.42.6.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:04:55 2007 UTC (16 years, 8 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.42: +26 -38 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.41.2.3 (colored)

Sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jul 9 21:10:47 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Changes since 1.44: +17 -11 lines
Diff to previous 1.44 (colored) to selected 1.41.2.3 (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.42.4.2 / (download) - annotate - [select for diffs], Fri Jun 8 14:17:14 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.42.4.1: +11 -29 lines
Diff to previous 1.42.4.1 (colored) to branchpoint 1.42 (colored) to selected 1.41.2.3 (colored)

Sync with head.

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Sun May 27 00:15:12 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.42: +17 -11 lines
Diff to previous 1.42 (colored) to selected 1.41.2.3 (colored)

ps/l: show the LWP name.

Revision 1.44 / (download) - annotate - [select for diffs], Thu May 17 14:51:37 2007 UTC (16 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.43: +4 -29 lines
Diff to previous 1.43 (colored) to selected 1.41.2.3 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.41.2.4 / (download) - annotate - [select for diffs], Mon May 7 10:55:22 2007 UTC (16 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.41.2.3: +9 -2 lines
Diff to previous 1.41.2.3 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Apr 30 14:44:30 2007 UTC (16 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.42: +9 -2 lines
Diff to previous 1.42 (colored) to selected 1.41.2.3 (colored)

Import of POSIX Asynchronous I/O.
Seems to be quite stable. Some work still left to do.

Please note, that syscalls are not yet MP-safe, because
of the file and vnode subsystems.

Reviewed by: <tech-kern>, <ad>

Revision 1.41.2.3 / (download) - annotate - [selected], Tue Feb 27 16:53:46 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.41.2.2: +8 -8 lines
Diff to previous 1.41.2.2 (colored) to branchpoint 1.41 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:09:49 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.2: +9 -9 lines
Diff to previous 1.31.2.2 (colored) to selected 1.41.2.3 (colored)

sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Feb 22 04:38:06 2007 UTC (17 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.41: +8 -8 lines
Diff to previous 1.41 (colored) to selected 1.41.2.3 (colored)

Fix lossage from boolean_t -> bool and updated x86 bus_dma.

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Sat Feb 17 14:00:31 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.41.2.1: +0 -6 lines
Diff to previous 1.41.2.1 (colored) to branchpoint 1.41 (colored) to selected 1.41.2.3 (colored)

remove the now unused definition of RQMASK.  from Daniel Sieger.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Sat Feb 17 10:30:51 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.41: +4 -23 lines
Diff to previous 1.41 (colored) to selected 1.41.2.3 (colored)

- separate context switching and thread scheduling.
- introduce idle lwp.
- change some related MD/MI interfaces and implement i386 version.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:26 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored) to selected 1.41.2.3 (colored)

Merge newlock2 to head.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:49 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.1: +14 -8 lines
Diff to previous 1.31.2.1 (colored) to selected 1.41.2.3 (colored)

sync with head.

Revision 1.38.10.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:52 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.38.10.1: +14 -14 lines
Diff to previous 1.38.10.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored) to selected 1.41.2.3 (colored)

sync with head.

Revision 1.38.8.2 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:16 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.38.8.1: +14 -8 lines
Diff to previous 1.38.8.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored) to selected 1.41.2.3 (colored)

Sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:44 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.39: +14 -14 lines
Diff to previous 1.39 (colored) to selected 1.41.2.3 (colored)

__unused removal on arguments; approved by core.

Revision 1.38.10.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:28 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.38: +14 -8 lines
Diff to previous 1.38 (colored) to selected 1.41.2.3 (colored)

sync with head

Revision 1.38.8.1 / (download) - annotate - [select for diffs], Sat Oct 21 14:31:10 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored) to selected 1.41.2.3 (colored)

Update for proc_representative_lwp() / calcru() signature change.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:50 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.38: +14 -8 lines
Diff to previous 1.38 (colored) to selected 1.41.2.3 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:49:09 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.37: +4 -3 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.41.2.3 (colored)

sync with head

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:02:11 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31: +20 -9 lines
Diff to previous 1.31 (colored) to selected 1.41.2.3 (colored)

sync with head.

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:36:02 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.37: +4 -3 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.41.2.3 (colored)

Sync with head.

Revision 1.37.10.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:06 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.37: +4 -3 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.41.2.3 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.37.6.1 / (download) - annotate - [select for diffs], Wed May 24 10:57:36 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.37: +4 -3 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.41.2.3 (colored)

sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Sun May 14 21:25:49 2006 UTC (17 years, 10 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.37: +4 -3 lines
Diff to previous 1.37 (colored) to selected 1.41.2.3 (colored)

integrate kauth.

Revision 1.37.8.2 / (download) - annotate - [select for diffs], Sat May 6 23:31:27 2006 UTC (17 years, 10 months ago) by christos
Branch: elad-kernelauth
Changes since 1.37.8.1: +3 -2 lines
Diff to previous 1.37.8.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.41.2.3 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.37.8.1 / (download) - annotate - [select for diffs], Wed Mar 8 00:30:24 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored) to selected 1.41.2.3 (colored)

Adapt to kernel authorization KPI.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:51:48 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.34: +6 -6 lines
Diff to previous 1.34 (colored) next main 1.35 (colored) to selected 1.41.2.3 (colored)

sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Jan 22 01:08:50 2006 UTC (18 years, 2 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) to selected 1.41.2.3 (colored)

db_show_sched_qs: fix pointer cast lint considers troublesome.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jan 22 00:50:51 2006 UTC (18 years, 2 months ago) by uwe
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored) to selected 1.41.2.3 (colored)

Add /l to show all procs usage.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jan 22 00:47:50 2006 UTC (18 years, 2 months ago) by uwe
Branch: MAIN
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored) to selected 1.41.2.3 (colored)

This is not IOCCC.  Replace " >"[cp == p] with conditional expression.
Makes lint happy.  Probably generates better code too (does on sh3).

Revision 1.25.2.9 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:47 2005 UTC (18 years, 3 months ago) by christos
Branch: ktrace-lwp
Changes since 1.25.2.8: +10 -2 lines
Diff to previous 1.25.2.8 (colored) next main 1.26 (colored) to selected 1.41.2.3 (colored)

Sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Dec 3 22:47:25 2005 UTC (18 years, 3 months ago) by he
Branch: MAIN
CVS Tags: ktrace-lwp-base
Branch point for: yamt-uio_vmspace
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored) to selected 1.41.2.3 (colored)

After addition of "show all pools", we now need <sys/pool.h> here.
Fixes build problem for mac68k.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Dec 1 13:21:05 2005 UTC (18 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.32: +9 -2 lines
Diff to previous 1.32 (colored) to selected 1.41.2.3 (colored)

add "show all pools" command for ddb.

Revision 1.25.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 14:03:00 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.25.2.7: +15 -12 lines
Diff to previous 1.25.2.7 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD. Here we go again...

Revision 1.32 / (download) - annotate - [select for diffs], Sat Oct 15 17:29:11 2005 UTC (18 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr
Changes since 1.31: +6 -4 lines
Diff to previous 1.31 (colored) to selected 1.41.2.3 (colored)

- change the way to specify a bufq strategy.  (by string rather than by number)
- rather than embedding bufq_state in driver softc,
  have a pointer to the former.
- move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c.
- rename method to strategy for consistency.
- move some definitions which don't need to be exposed to the rest of kernel
  from sys/bufq.h to sys/bufq_impl.h.
  (is it better to move it to kern/ or somewhere?)
- fix some obvious breakage in dev/qbus/ts.c.  (not tested)

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jun 1 12:25:27 2005 UTC (18 years, 10 months ago) by drochner
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.30: +11 -10 lines
Diff to previous 1.30 (colored) to selected 1.41.2.3 (colored)

more constification fallout

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:44 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.41.2.3 (colored)

sync with -current

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:53 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.41.2.3 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.25.2.7 / (download) - annotate - [select for diffs], Fri Mar 4 16:40:52 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.25.2.6: +5 -5 lines
Diff to previous 1.25.2.6 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.30 / (download) - annotate - [select for diffs], Sat Feb 26 23:04:17 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored) to selected 1.41.2.3 (colored)

nuke trailing whitespace

Revision 1.25.2.6 / (download) - annotate - [select for diffs], Tue Sep 21 13:26:24 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.25.2.5: +2 -2 lines
Diff to previous 1.25.2.5 (colored) to selected 1.41.2.3 (colored)

Fix the sync with head I botched.

Revision 1.25.2.5 / (download) - annotate - [select for diffs], Sat Sep 18 14:44:27 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.25.2.4: +2 -2 lines
Diff to previous 1.25.2.4 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.25.2.4 / (download) - annotate - [select for diffs], Thu Aug 12 11:41:22 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.25.2.3: +3 -4 lines
Diff to previous 1.25.2.3 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.25.2.3 / (download) - annotate - [select for diffs], Tue Aug 3 10:44:46 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.25.2.2: +35 -9 lines
Diff to previous 1.25.2.2 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jul 27 02:15:07 2004 UTC (19 years, 8 months ago) by nathanw
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.28: +9 -3 lines
Diff to previous 1.28 (colored) to selected 1.41.2.3 (colored)

Make ddb's "show sched_qs" aware of big-endian sched_qs arrangements.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Sep 20 03:02:04 2003 UTC (20 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.27: +26 -2 lines
Diff to previous 1.27 (colored) to selected 1.41.2.3 (colored)

Add a "show sched_qs" command to dump the run queues.  Format is:
 1	pid.lid (p_comm)
	pid.lid (p_comm)
 ...

If a queue has procs, but no sched_whichqs bit, it shows:
!1	pid.lid (p_comm)

Revision 1.27 / (download) - annotate - [select for diffs], Sun Sep 7 14:14:36 2003 UTC (20 years, 6 months ago) by uwe
Branch: MAIN
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored) to selected 1.41.2.3 (colored)

Widen FLAGS column for ps/l so that all defined l_flag flags fit.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Aug 7 16:30:49 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.25: +3 -7 lines
Diff to previous 1.25 (colored) to selected 1.41.2.3 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.25.2.2 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:58 2003 UTC (20 years, 9 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.25.2.1: +279 -0 lines
Diff to previous 1.25.2.1 (colored) to selected 1.41.2.3 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.25.2.1, Wed Jul 2 07:05:29 2003 UTC (20 years, 9 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.25: +0 -278 lines
FILE REMOVED

file db_xxx.c was added on branch ktrace-lwp on 2003-07-02 15:25:58 +0000

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jul 2 07:05:29 2003 UTC (20 years, 9 months ago) by simonb
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.24: +10 -2 lines
Diff to previous 1.24 (colored) to selected 1.41.2.3 (colored)

Allow the dmesg command to show the last N bytes of the kernel message
buffer.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jun 29 22:29:55 2003 UTC (20 years, 9 months ago) by fvdl
Branch: MAIN
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored) to selected 1.41.2.3 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:29 2003 UTC (20 years, 9 months ago) by darrenr
Branch: MAIN
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (colored) to selected 1.41.2.3 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.22 / (download) - annotate - [select for diffs], Thu May 15 13:18:18 2003 UTC (20 years, 10 months ago) by atatat
Branch: MAIN
Changes since 1.21: +7 -2 lines
Diff to previous 1.21 (colored) to selected 1.41.2.3 (colored)

(1) Don't print the message buffer (via ddb's dmesg command) if the
message buffer has not yet been set up, mimicking code from the top of
the sysctl routine for retrieving the message buffer.

(2) Add a /l modifier to the trace command.  This makes it print the
backtrace using printf() instead of db_printf(), which has the nice
side-effect of also putting it into the message buffer.  A kernel with
ddb in it but disabled (ie, ddb.onpanic set to zero) will print a
backtrace (which ends up in the message buffer) before dumping (or
not, depending on the value of kern.dump_on_panic) and rebooting, but
if ddb is not disabled, the backtrace is not printed, and there's no
way to get it to display a backtrace such that you can retrieve it
after the dump.  The backtrace printed by gdb is sometimes a little
different.

(3) Documentation for the above.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 28 02:49:55 2003 UTC (20 years, 11 months ago) by briggs
Branch: MAIN
Changes since 1.20: +17 -2 lines
Diff to previous 1.20 (colored) to selected 1.41.2.3 (colored)

Add a rudimentary 'trap to kgdb' command if KGDB is defined.  This allows
systems with only one serial port for console, etc., to have at least some
basic access to remote-kgdb-over-serial, even if it is a bit awkward.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 4 01:21:04 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.19: +2 -33 lines
Diff to previous 1.19 (colored) to selected 1.41.2.3 (colored)

New callout implementation.  This is based on callwheel implementation
done by Artur Grabowski and Thomas Nordin for OpenBSD, which is more
efficient in several ways than the callwheel implementation that it is
replacing.  It has been adapted to our pre-existing callout API, and
also provides the slightly more efficient (and much more intuitive)
API (adapted to the callout_*() naming scheme) that the OpenBSD version
provides.

Among other things, this shaves a bunch of cycles off rescheduling-in-
the-future a callout which is already scheduled, which the common case
for TCP timers (notably REXMT and KEEP).

The API has been simplified a bit, as well.  The (very confusing to
a good many people) "ACTIVE" state for callouts has gone away.  There
is now only "PENDING" (scheduled to fire in the future) and "EXPIRED"
(has fired, and the function called).

Kernel version bump not done; we'll ride the 1.6N bump that happened
with the malloc(9) change.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jan 23 12:41:33 2003 UTC (21 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.18: +11 -8 lines
Diff to previous 1.18 (colored) to selected 1.41.2.3 (colored)

Zombie procs have no lwps.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jan 18 08:54:22 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +44 -17 lines
Diff to previous 1.17 (colored) to selected 1.41.2.3 (colored)

Merge the nathanw_sa branch.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Wed Dec 18 01:06:02 2002 UTC (21 years, 3 months ago) by gmcgarry
Branch: gmcgarry_ucred
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.41.2.3 (colored)

Merge pcred and ucred, and poolify.  TBD: check backward compatibility
and factor-out some higher-level functionality.

Revision 1.11.4.5 / (download) - annotate - [select for diffs], Fri Sep 6 08:43:42 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.11.4.4: +4 -3 lines
Diff to previous 1.11.4.4 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.41.2.3 (colored)

sync kqueue branch with HEAD

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Thu Aug 29 05:22:18 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.41.2.3 (colored)

catch up with -current.

Revision 1.11.2.8 / (download) - annotate - [select for diffs], Tue Aug 27 23:46:32 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.11.2.7: +4 -3 lines
Diff to previous 1.11.2.7 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.41.2.3 (colored)

Catch up to -current.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Aug 26 11:34:29 2002 UTC (21 years, 7 months ago) by scw
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Branch point for: gmcgarry_ucred
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored) to selected 1.41.2.3 (colored)

Casting from a pointer, to a db_expr_t, has to go via an intptr_t.
(db_expr_t == int64_t on sh5, for example).

Revision 1.11.2.7 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:06 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.6: +2 -3 lines
Diff to previous 1.11.2.6 (colored) to branchpoint 1.11 (colored) to selected 1.41.2.3 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.11.2.6 / (download) - annotate - [select for diffs], Mon Jun 24 22:09:43 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.5: +4 -4 lines
Diff to previous 1.11.2.5 (colored) to branchpoint 1.11 (colored) to selected 1.41.2.3 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.11.4.4 / (download) - annotate - [select for diffs], Sat Mar 16 16:00:46 2002 UTC (22 years ago) by jdolecek
Branch: kqueue
Changes since 1.11.4.3: +12 -31 lines
Diff to previous 1.11.4.3 (colored) to branchpoint 1.11 (colored) to selected 1.41.2.3 (colored)

Catch up with -current.

Revision 1.11.2.5 / (download) - annotate - [select for diffs], Thu Feb 28 04:13:09 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.4: +12 -31 lines
Diff to previous 1.11.2.4 (colored) to branchpoint 1.11 (colored) to selected 1.41.2.3 (colored)

Catch up to -current.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 15 07:33:54 2002 UTC (22 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.15: +12 -31 lines
Diff to previous 1.15 (colored) to selected 1.41.2.3 (colored)

ANSIfy, KNF.
Make some variables and functions static when not used outside of a module.
Make variables in headers extern.
Delete the unused db_find_watchpoint() function.

Revision 1.11.4.3 / (download) - annotate - [select for diffs], Thu Jan 10 19:52:43 2002 UTC (22 years, 2 months ago) by thorpej
Branch: kqueue
Changes since 1.11.4.2: +14 -13 lines
Diff to previous 1.11.4.2 (colored) to branchpoint 1.11 (colored) to selected 1.41.2.3 (colored)

Sync kqueue branch with -current.

Revision 1.11.2.4 / (download) - annotate - [select for diffs], Wed Nov 14 19:13:39 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.3: +4 -1 lines
Diff to previous 1.11.2.3 (colored) to branchpoint 1.11 (colored) to selected 1.41.2.3 (colored)

Catch up to -current.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Nov 12 22:54:07 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.14: +4 -1 lines
Diff to previous 1.14 (colored) to selected 1.41.2.3 (colored)

add RCSIDs

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:44:08 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.12: +30 -22 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.41.2.3 (colored)

Catch up with -current.

Revision 1.11.2.3 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:26 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.2: +31 -23 lines
Diff to previous 1.11.2.2 (colored) to branchpoint 1.11 (colored) to selected 1.41.2.3 (colored)

Catch up to -current.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Sep 15 18:20:53 2001 UTC (22 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.13: +11 -13 lines
Diff to previous 1.13 (colored) to selected 1.41.2.3 (colored)

use a for loop instead of goto.

Revision 1.11.4.2 / (download) - annotate - [select for diffs], Thu Sep 13 01:15:33 2001 UTC (22 years, 6 months ago) by thorpej
Branch: kqueue
Changes since 1.11.4.1: +20 -10 lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored) to selected 1.41.2.3 (colored)

Update the kqueue branch to HEAD.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 11 04:32:19 2001 UTC (22 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +20 -10 lines
Diff to previous 1.12 (colored) to selected 1.41.2.3 (colored)

Optimization suggested by Bill Sommerfeld:  Keep a hint as to the
"earliest" firing callout in a bucket.  This allows us to skip
the scan up the bucket if no callouts are due in the bucket.

A cheap O(1) hint update is done at callout insertion (if new callout
is earlier than hint) and removal (is bucket empty).  A thorough
refresh of the hint is done when the bucket is traversed.

This doesn't matter much on machines with small values of hz
(e.g. i386), but on systems with large values of hz (e.g. Alpha),
it has a definite positive effect.

Also, keep the callwheel stats in evcnts, so that you can view them
with "vmstat -e".

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Fri Aug 24 00:09:02 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.1: +40 -1 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored) to selected 1.41.2.3 (colored)

Catch up with -current.

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:12:50 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.11: +40 -1 lines
Diff to previous 1.11 (colored) to selected 1.41.2.3 (colored)

update to -current

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jul 31 04:28:16 2001 UTC (22 years, 8 months ago) by atatat
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.11: +40 -1 lines
Diff to previous 1.11 (colored) to selected 1.41.2.3 (colored)

Add an easy way to dump the message buffer from ddb.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:32 2001 UTC (23 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.11: +44 -16 lines
Diff to previous 1.11 (colored) to selected 1.41.2.3 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:09:51 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.1: +18 -2 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.41.2.3 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Nov 28 21:44:34 2000 UTC (23 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa, kqueue
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored) to selected 1.41.2.3 (colored)

Make sure values for a %llx are long long.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Nov 28 19:20:37 2000 UTC (23 years, 4 months ago) by eeh
Branch: MAIN
Changes since 1.9: +17 -2 lines
Diff to previous 1.9 (colored) to selected 1.41.2.3 (colored)

Implement db_show_callout() again.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:08:50 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6: +6 -25 lines
Diff to previous 1.6 (colored) to selected 1.41.2.3 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.9 / (download) - annotate - [select for diffs], Thu May 25 19:57:36 2000 UTC (23 years, 10 months ago) by jhawk
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.41.2.3 (colored)

Interface change: db_printsym() takes a third argument, pr, a function
pointer indicating how to print the symbol. This allows db_printsym()
to called in places where db_printf() is not an appropriate output
function.

While straightforward, apologies in advance if I've introduced any minor
syntax errors; I was unable to test compilation this on all the affected
platforms.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Mar 26 20:24:12 2000 UTC (24 years ago) by kleink
Branch: MAIN
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored) to selected 1.41.2.3 (colored)

Cast timeval members to types we know the printf conversions of.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 23 07:01:25 2000 UTC (24 years ago) by thorpej
Branch: MAIN
Changes since 1.6: +2 -22 lines
Diff to previous 1.6 (colored) to selected 1.41.2.3 (colored)

New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.5.8.1 / (download) - annotate - [select for diffs], Mon Aug 2 21:56:52 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored) next main 1.6 (colored) to selected 1.41.2.3 (colored)

Update from trunk.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 22 21:11:26 1999 UTC (24 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored) to selected 1.41.2.3 (colored)

XXX LOCKING XXX of allproc; DDB runs with interrupts blocked, and MD
code should suspend other processors, so this probably isn't a problem,
but the comment is added anyhow.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 8 23:50:13 1998 UTC (25 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc-base, chs-ubc
Branch point for: chs-ubc2
Changes since 1.4: +9 -10 lines
Diff to previous 1.4 (colored) to selected 1.41.2.3 (colored)

- Use proclists[], rather than checking allproc and zombproc explicitly.
- Add some comments about locking.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Aug 13 02:10:50 1998 UTC (25 years, 7 months ago) by eeh
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) to selected 1.41.2.3 (colored)

Merge paddr_t changes into the main branch.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Thu Jul 30 14:03:59 1998 UTC (25 years, 8 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) next main 1.4 (colored) to selected 1.41.2.3 (colored)

Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jan 31 04:14:48 1998 UTC (26 years, 2 months ago) by ross
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.2: +23 -10 lines
Diff to previous 1.2 (colored) to selected 1.41.2.3 (colored)

Print more info on ps/w, note the current proc, and properly declare db_maxoff.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 24 18:26:36 1997 UTC (26 years, 5 months ago) by chuck
Branch: MAIN
Changes since 1.1: +56 -19 lines
Diff to previous 1.1 (colored) to selected 1.41.2.3 (colored)

fix printf formatting of "ps" (aka "show all proc") so that lines never
overflow (always hated that).

replaced "/m" flag with:
	/a == show process address info
	/n == show normal process info [currently the default]
	/w == show process wait/emul info

Revision 1.1 / (download) - annotate - [select for diffs], Wed May 21 19:54:00 1997 UTC (26 years, 10 months ago) by gwr
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Diff to selected 1.41.2.3 (colored)

Move some DDB stuff here from kern_clock.c and kern_proc.c

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>