CVS log for src/sys/kern/subr_lockdebug.c
Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Sep 2 06:01:38 2022 UTC (4 years, 2 months ago) by nakayama
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20261102,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
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,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +6 -5
lines
Fix "error: cast from pointer to integer of different size" on
sparc build.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Aug 31 05:24:41 2022 UTC (4 years, 2 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +11 -11
lines
Fix previous to make it compile again.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Aug 30 22:38:17 2022 UTC (4 years, 2 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +56 -16
lines
lockdebug(9): Try to show symbol names if possible.
Also print the possible owner in ddb/crash `show lock' even if the
kernel is built without LOCKDEBUG.
Output may not be as pretty before with two neatly aligned columns,
but that can be changed; for now the value of having the symbols
printed instead of just obscure hex addresses (which one's an lwp
address and which one's a code pointer? can never remember!) should
outweigh the prettiness temporarily lost.
Revision 1.77.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:29:00 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.77.2.1: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.2.1: +4 -3
lines
Sync with HEAD.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue Mar 2 01:20:35 2021 UTC (5 years, 8 months ago) by rin
Branches: 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
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +4 -3
lines
KNF. No binary changes.
Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 3 16:35:04 2021 UTC (5 years, 10 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +11 -11
lines
Sync w/ HEAD.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri Jan 1 14:08:33 2021 UTC (5 years, 10 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +8 -8
lines
Use printf, not printf_nolog, in lockdebug dumps.
Otherwise we get no diagnostic information in crash dumps or dmesg,
which really puts a damper on the utility of lockdebug.
(If there's a reason for printf_nolog instead of printf, it should be
documented in comments here, and it had better be a pretty good
reason for destroying the diagnostic information that is half the
point of lockdebug.)
Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Jan 1 14:04:17 2021 UTC (5 years, 10 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +5 -5
lines
Nix trailing whitespace.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri May 15 13:09:02 2020 UTC (6 years, 6 months ago) by maxv
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +11 -2
lines
Introduce kcov_silence_enter() and kcov_silence_leave(), to allow to
temporarily disable KCOV on the current lwp. Should be used in the rare
but problematic cases where extreme noise is introduced by an
uninteresting subsystem.
Use this capability to silence KCOV during the LOCKDEBUG lookups. This
divides the size of the KCOV output by more than two in my KCOV+vHCI
tests.
Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:29:10 2020 UTC (6 years, 6 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +19 -84
lines
Sync with HEAD
Revision 1.64.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:04 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.64.2.2: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.2.2: +17 -82
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Apr 10 17:16:21 2020 UTC (6 years, 7 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +19 -84
lines
- Make this needed sequence always work for condvars, by not touching the CV
again after wakeup. Previously it could panic because cv_signal() could
be called by cv_wait_sig() + others:
cv_broadcast(cv);
cv_destroy(cv);
- In support of the above, if an LWP doing a timed wait is awoken by
cv_broadcast() or cv_signal(), don't return an error if the timer
fires after the fact, i.e. either succeed or fail, not both.
- Remove LOCKDEBUG code for CVs which never worked properly and is of
questionable use.
Revision 1.64.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:52 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.64.2.1: preferred, colored; branchpoint 1.64: preferred, colored
Changes since revision 1.64.2.1: +101 -40
lines
Merge changes from current as of 20200406
Revision 1.75: download - view: text, markup, annotated - select for diffs
Mon Mar 9 01:47:50 2020 UTC (6 years, 8 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200406,
bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +41 -9
lines
comment out enough stuff to allow crash to print locks.
Revision 1.72.4.2: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:38:51 2020 UTC (6 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.72.4.1: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.4.1: +53 -27
lines
Sync with head.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Jan 21 20:31:57 2020 UTC (6 years, 9 months ago) by ad
Branches: MAIN
CVS tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3,
ad-namecache-base2
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +53 -27
lines
ddb's "show all locks":
- Make the output easier to scan quickly.
- Show every LWP that is blocked on a lock, and the details of the lock.
Revision 1.72.4.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:35 2020 UTC (6 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +11 -8
lines
Sync with head.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed Jan 8 16:21:34 2020 UTC (6 years, 10 months ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base1
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +11 -8
lines
lockdebug_barrier(): allow the one permitted lock to be a sleep lock too.
Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:03 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +73 -47
lines
Sync with HEAD
Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue May 28 07:39:16 2019 UTC (7 years, 5 months ago) by ryo
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
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,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3
lines
changes of r1.68 was reverted by r1.69. apply it again.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed May 22 15:32:14 2019 UTC (7 years, 5 months ago) by scole
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +6 -2
lines
Increase LD_BATCH_SHIFT for ia64 LOCKDEBUG kernels. Otherwise, ia64 pmap will run out of space with this kernel debug option enabled.
Discussed with <chs> over email.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu May 9 05:00:31 2019 UTC (7 years, 6 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +4 -4
lines
Avoid prepending a timestamp to lock debug outputs on ddb
Lock printer functions (lockops_t#lo_dump) use printf_nolog to print, but
printf_nolog now prepends a timestamp which is unnecessary for ddb:
db{0}> show all locks/t
[Locks tracked through LWPs]
Locks held by an LWP (iperf):
Lock 0 (initialized at soinit)
lock address : 0xffffedeb84b06080 type : sleep/adaptive
initialized : 0xffffffff806d8c3f
shared holds : 0 exclusive: 1
shares wanted: 0 exclusive: 11
current cpu : 0 last held: 1
current lwp : 0xffffedeb849ff040 last held: 0xffffedeb7dfdb240
last locked* : 0xffffffff806d8335 unlocked : 0xffffffff806d8385
[ 79103.0868574] owner field : 0xffffedeb7dfdb240 wait/spin: 1/0
Fix it by passing a printer function to lo_dump functions, i.e., make the
functions use db_printf on ddb.
Revision 1.60.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:50 2018 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.60.2.3: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.2.3: +40 -32
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Nov 3 15:20:03 2018 UTC (8 years ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +37 -33
lines
Deduplicate debug printing code.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Oct 25 09:30:45 2018 UTC (8 years ago) by mrg
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +6 -2
lines
in the !MP world, ci->ci_curlwp may not exist. just use curlwp.
XXX: can we just do this for MP builds, too? i think so.
Revision 1.60.2.3: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:55 2018 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.60.2.2: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.2: +16 -15
lines
Ssync with HEAD
Revision 1.57.2.3: download - view: text, markup, annotated - select for diffs
Sun Sep 23 17:28:25 2018 UTC (8 years, 1 month ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.57.2.2: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.2: +16 -15
lines
Pull up following revision(s) (requested by mrg in ticket #1024):
sys/ddb/db_command.c: revision 1.157
sys/ddb/db_command.c: revision 1.158
sys/kern/subr_lockdebug.c: revision 1.67
always call lockdebug_dismiss() from DDB -- there are always some
minimal lockdebug checks in place, even without LOCKDEBUG.
adjust lockdebug_abort() to ignore problems after ld_panic is set
so that there's a chance of this working.
this fixes ddb 'reboot' on softiron od1000.
call spl0() before cpu_reboot(), so that there's a chance that:
- interrupts can work afterwards
- this also means if IO stalls, serial break might work again.
this mimics how reboot(2) ends up calling cpu_reboot().
Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:55:16 2018 UTC (8 years, 2 months ago) by mrg
Branches: MAIN
CVS tags: pgoyette-compat-1020,
pgoyette-compat-0930
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +16 -15
lines
always call lockdebug_dismiss() from DDB -- there are always some
minimal lockdebug checks in place, even without LOCKDEBUG.
adjust lockdebug_abort() to ignore problems after ld_panic is set
so that there's a chance of this working.
this fixes ddb 'reboot' on softiron od1000.
Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 7 12:34:18 2018 UTC (8 years, 2 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.1: +15 -2
lines
Pull up following revision(s) (requested by mrg in ticket #1013):
sys/sys/lockdebug.h: revision 1.20
sys/ddb/db_command.c: revision 1.155
sys/kern/subr_lockdebug.c: revision 1.65
add a lockdebug_dismiss() function for DDB to use that tells
lockdebug to avoid asserts. use it for the ddb "reboot"
command, so that it doesn't matter how ddb was entered, the
reboot not trigger mutex checks and not work.
Revision 1.60.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:42 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.60.2.1: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.1: +16 -3
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:35 2018 UTC (8 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-0906
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Aug 12 22:05:29 2018 UTC (8 years, 3 months ago) by mrg
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +15 -2
lines
add a lockdebug_dismiss() function for DDB to use that tells
lockdebug to avoid asserts. use it for the ddb "reboot"
command, so that it doesn't matter how ddb was entered, the
reboot not trigger mutex checks and not work.
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 2 09:07:52 2018 UTC (8 years, 7 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +142 -2
lines
Pull up following revision(s) (requested by ozaki-r in ticket #687):
sys/kern/kern_rwlock_obj.c: revision 1.4
sys/rump/librump/rumpkern/locks.c: revision 1.80
sys/kern/kern_rwlock.c: revision 1.50
sys/arch/x86/x86/db_memrw.c: revision 1.5,1.6
sys/ddb/db_command.c: revision 1.150-1.153
share/man/man4/ddb.4: revision 1.175 (via patch),1.176-1.178
sys/kern/kern_mutex_obj.c: revision 1.6
sys/kern/subr_lockdebug.c: revision 1.61-1.64
sys/sys/lockdebug.h: revision 1.17
sys/kern/kern_mutex.c: revision 1.71
sys/sys/lockdebug.h: revision 1.18,1.19
sys/kern/subr_xcall.c: revision 1.26
Obtain proper initialized addresses of locks allocated by mutex_obj_alloc or rw_obj_alloc
Initialized addresses of locks allocated by mutex_obj_alloc or rw_obj_alloc
were not useful because the addresses were mutex_obj_alloc or rw_obj_alloc
itself. What we want to know are callers of them.
Spinkle ASSERT_SLEEPABLE to xcall functions
Use db_printf instead of printf in ddb
Add a new command, show lockstat, which shows statistics of locks
Currently the command shows the number of allocated locks.
The command is useful only if LOCKDEBUG is enabled.
Add a new command, show all locks, which shows information of active locks
The command shows information of all active (i.e., being held) locks that are
tracked through either of LWPs or CPUs by the LOCKDEBUG facility. The /t
modifier additionally shows a backtrace for each LWP additionally. This
feature is useful for debugging especially to analyze deadlocks.
The command is useful only if LOCKDEBUG is enabled.
Don't pass a unset address to lockdebug_lock_print
x86: avoid accessing invalid addresses in ddb like arm32
This avoids that a command stops in the middle of an execution if
a fault occurs due to an access to an invalid address.
Get rid of a redundant output
Improve wording. Fix a Cm argument.
ddb: rename "show lockstat" to "show lockstats" to avoid conflicting with lockstat(8)
Requested by mrg@
Revision 1.60.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 22 01:44:50 2018 UTC (8 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +142 -2
lines
Synch with HEAD, resolve conflicts
Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Mar 19 08:41:21 2018 UTC (8 years, 8 months ago) by ozaki-r
Branches: MAIN
CVS tags: phil-wifi-base,
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
Branch point for: phil-wifi
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -3
lines
ddb: rename "show lockstat" to "show lockstats" to avoid conflicting with lockstat(8)
Requested by mrg@
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Mar 16 08:21:45 2018 UTC (8 years, 8 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -3
lines
Get rid of a redundant output
Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Mar 16 04:44:51 2018 UTC (8 years, 8 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +93 -2
lines
Add a new command, show all locks, which shows information of active locks
The command shows information of all active (i.e., being held) locks that are
tracked through either of LWPs or CPUs by the LOCKDEBUG facility. The /t
modifier additionally shows a backtrace for each LWP additionally. This
feature is useful for debugging especially to analyze deadlocks.
The command is useful only if LOCKDEBUG is enabled.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Mar 16 04:43:37 2018 UTC (8 years, 8 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +52 -2
lines
Add a new command, show lockstat, which shows statistics of locks
Currently the command shows the number of allocated locks.
The command is useful only if LOCKDEBUG is enabled.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Feb 20 03:34:52 2018 UTC (8 years, 8 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +34 -30
lines
Spinkle __predict_false to LOCKDEBUG functions
Panics and lockdebug failures are unlikely to occur normally.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Wed Feb 14 03:56:26 2018 UTC (8 years, 9 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3
lines
Use cpu_softintr_p
Revision 1.46.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:45 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.46.2.3: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.2.3: +81 -61
lines
update from HEAD
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Sep 16 23:55:33 2017 UTC (9 years, 2 months ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +7 -7
lines
more const
Revision 1.52.2.4: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:07 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.52.2.3: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.3: +7 -8
lines
Sync with HEAD
Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:13 2017 UTC (9 years, 5 months ago) by chs
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Branch point for: netbsd-8
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -5
lines
remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP
kmem_zalloc() with KM_SLEEP
percpu_alloc()
pserialize_create()
psref_class_create()
all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.
Revision 1.55.4.1: download - view: text, markup, annotated - select for diffs
Tue May 2 03:19:22 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +7 -5
lines
Sync with HEAD - tag prg-localcount2-base1
Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon May 1 21:35:26 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +7 -5
lines
Introduce mutex_ownable() to determine if it is possible for the current
process to acquire a mutex.
Revision 1.54.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:02 2017 UTC (9 years, 6 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +67 -56
lines
Sync with HEAD
Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:47 2017 UTC (9 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +67 -56
lines
Sync with HEAD
Revision 1.52.2.3: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:56 2017 UTC (9 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.52.2.2: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.2: +69 -58
lines
Sync with HEAD
Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Jan 26 04:11:56 2017 UTC (9 years, 9 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
nick-nhusb-base-20170204,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: prg-localcount2
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +67 -56
lines
For LOCKDEBUG:
Always provide the location of the caller of the lock as __func__, __LINE__.
Revision 1.52.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:10:05 2015 UTC (10 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.52.2.1: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.1: +4 -2
lines
Sync with HEAD (as of 26th Dec)
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Sep 29 01:44:57 2015 UTC (11 years, 1 month ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
localcount-20160914,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
bouyer-socketcan
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -2
lines
Add _KERNEL_OPT
It's needed for nbmake RUMP_LOCKDEBUG=yes.
Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:22 2015 UTC (11 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -3
lines
Sync with HEAD
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Apr 15 14:41:17 2015 UTC (11 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: nick-nhusb-base-20150921,
nick-nhusb-base-20150606
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -3
lines
Put the lock error info in the panicstr so ddb can get at it.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Nov 24 02:36:31 2014 UTC (11 years, 11 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150406,
nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +11 -4
lines
Print the shared lock(s) before we panic, to aid with debugging.
Revision 1.46.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:29 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.46.2.2: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.2.2: +3 -2
lines
Rebase to HEAD as of a few days ago.
Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:03 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.45.2.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.1: +10 -9
lines
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.49.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:07 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +5 -4
lines
sync with head
Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Mar 7 16:36:32 2014 UTC (12 years, 8 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
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
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3
lines
Tell where the corrruption was encountered in the panic message.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Oct 12 16:42:27 2013 UTC (13 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -3
lines
provide a better printf for the panic message
Revision 1.46.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:18:58 2013 UTC (13 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.46.2.1: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.2.1: +4 -5
lines
resync from head
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Apr 27 08:12:35 2013 UTC (13 years, 6 months ago) by mlelstv
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900
Branch point for: rmind-smpnet
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -5
lines
Revert change that allowed rw_tryenter(&lock, RW_READER) to recurse
for vfs_busy(). This is no longer necessary.
Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:53 2013 UTC (13 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +5 -4
lines
resync with head
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Feb 9 11:04:32 2013 UTC (13 years, 9 months ago) by njoly
Branches: MAIN
CVS tags: agc-symver-base,
agc-symver
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3
lines
Fix LOCKDEBUG build.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Feb 9 00:31:21 2013 UTC (13 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -3
lines
printflike maintenance.
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:33 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -4
lines
sync with head
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Aug 4 12:38:20 2012 UTC (14 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -4
lines
- fix typo in comment
- Don't call abort1 with NULL ld, after panic(9).
Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Jul 26 13:07:20 2011 UTC (15 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-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
Branch point for: yamt-pagecache
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -3
lines
try to fill ld_locked/ld_unlocked for shared acquisition of lock
Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:09:34 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +10 -10
lines
Sync with HEAD.
Revision 1.41.4.2: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:42:09 2011 UTC (15 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.41.4.1: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.4.1: +8 -8
lines
sync with head
Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Apr 14 06:12:02 2011 UTC (15 years, 7 months ago) by matt
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +10 -10
lines
rearrange some common code in lockdebug_unlocked.
When printing a lockdebug error, add a '*' to indicate whether lock or
unlock was performed.
Revision 1.41.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:55:18 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +23 -19
lines
sync with head
Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:22:28 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +23 -19
lines
Sync with HEAD (-D20101022).
Revision 1.30.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:31 2010 UTC (16 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.30.2.3: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.3: +23 -19
lines
sync with head
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Sep 25 01:42:39 2010 UTC (16 years, 1 month ago) by matt
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
uebayasi-xip-base4,
uebayasi-xip-base3,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3
lines
Rename rb.h to rbtree.h, as it is more appropriate (c.f. ptree.h). Also
helps find code that hasn't been updated to use the new rbtree API.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Sep 24 22:51:50 2010 UTC (16 years, 1 month ago) by rmind
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +22 -18
lines
Fixes/improvements to RB-tree implementation:
1. Fix inverted node order, so that negative value from comparison operator
would represent lower (left) node, and positive - higher (right) node.
2. Add an argument (i.e. "context"), passed to comparison operators.
3. Change rb_tree_insert_node() to return a node - either inserted one or
already existing one.
4. Amend the interface to manipulate the actual object, instead of the
rb_node (in a similar way as Patricia-tree interface does).
5. Update all RB-tree users accordingly.
XXX: Perhaps rename rb.h to rbtree.h, since cleaning-up..
1-3 address the PR/43488 by Jeremy Huddleston.
Passes RB-tree regression tests.
Reviewed by: matt@, christos@
Revision 1.30.2.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:18 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.30.2.2: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.2: +18 -12
lines
sync with head
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Nov 3 00:29:11 2009 UTC (17 years ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base10,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +11 -5
lines
Make lockdebug_lock_print(NULL, ...) dump all locks. Now, in ddb,
'show lock 0x0' dumps all of the locks.
XXX I still need to fix 'show all lock'.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Oct 5 23:39:27 2009 UTC (17 years, 1 month ago) by rmind
Branches: MAIN
CVS tags: jym-xensuspend-nbase
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +9 -9
lines
Convert cpu_number(), which can be sparse, to cpu_index(), which is MI.
Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:48 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.1: +98 -33
lines
sync with head.
Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:19:39 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +11 -10
lines
Sync with HEAD.
Revision 1.28.6.5: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:19 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.28.6.4: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.6.4: +9 -8
lines
Sync with HEAD.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:08 2008 UTC (17 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +11 -10
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Nov 7 19:50:00 2008 UTC (18 years ago) by cegger
Branches: 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,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3
lines
buildfix: use PRIxPTR rather %lx.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Nov 7 02:40:35 2008 UTC (18 years ago) by rafal
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +11 -10
lines
Pass / log return address in a few more places; proposed on tech-kern and
ok'd by ad@ about 6 months ago.
Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:31:43 2008 UTC (18 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.34.2.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.1: +6 -6
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.28.6.4: download - view: text, markup, annotated - select for diffs
Wed Jul 2 19:08:20 2008 UTC (18 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.28.6.3: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.6.3: +4 -4
lines
Sync with HEAD.
Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 30 23:10:57 2008 UTC (18 years, 4 months ago) by matt
Branches: simonb-wapbl
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +6 -6
lines
Update to HEAD.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Jun 30 20:14:09 2008 UTC (18 years, 4 months ago) by matt
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
haad-dm
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +6 -6
lines
Change tree op members/typedefs to rbto_compare_* from rb_compare_*
Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:51 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +86 -22
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.29.2.3: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:15:03 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.29.2.2: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.2: +3 -4
lines
sync with head.
Revision 1.28.6.3: download - view: text, markup, annotated - select for diffs
Thu Jun 5 19:14:36 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.28.6.2: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.6.2: +1 -2
lines
Sync with HEAD.
Also fix build.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Jun 4 14:31:15 2008 UTC (18 years, 5 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Branch point for: simonb-wapbl
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -4
lines
Move lib/libkern/rb.h to sys/rb.h, so it can be used by kernel header
files.
Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:39 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.1: +85 -20
lines
sync with head
Revision 1.28.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:11 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.28.6.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.6.1: +253 -267
lines
Sync with HEAD.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat May 31 13:15:21 2008 UTC (18 years, 5 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base3
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +85 -20
lines
LOCKDEBUG:
- Tweak it so it can also catch common errors with condition variables.
The change to kern_condvar.c is not included in this commit and will
come later.
- Don't call kmem_alloc() if operating in interrupt context, just fail
the allocation and disable debugging for the object. Makes it safe
to do mutex_init/rw_init/cv_init in interrupt context, when running
a LOCKDEBUG kernel.
Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:09 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +176 -255
lines
sync with head.
Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:26 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +177 -264
lines
sync with head.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue May 6 18:40:57 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +167 -252
lines
LOCKDEBUG: try to speed it up a bit by not using so much global state.
This will break the build briefly but will be followed by another commit
to fix that..
Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue May 6 17:11:45 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +5 -4
lines
Allow rw_tryenter(&lock, RW_READER) to recurse, for vfs_busy().
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat May 3 06:24:55 2008 UTC (18 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +9 -5
lines
lockdebug: try to detect recursive acquirements of read-write locks.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:24:04 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Apr 27 11:28:49 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +13 -5
lines
lockdebug_barrier: disable preemption using the interrupt priority level,
not crit_enter/crit_exit. Since this is called from mi_switch(), crit_exit
could recurse and skew statistics.
Revision 1.28.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:43:03 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -4
lines
Sync with HEAD.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Mar 27 18:30:15 2008 UTC (18 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -4
lines
Replace use of CACHE_LINE_SIZE in some obvious places.
Revision 1.8.8.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:00 2008 UTC (18 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.8.8.2: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.8.2: +77 -35
lines
sync with HEAD
Revision 1.4.2.8: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:56 2008 UTC (18 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.7: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.7: +77 -35
lines
sync with head.
Revision 1.11.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:47 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.11.2.3: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.3: +80 -34
lines
Sync with HEAD.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Feb 18 18:31:10 2008 UTC (18 years, 9 months ago) by ad
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -4
lines
Make it compile if !LOCKDEBUG.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Feb 18 16:02:41 2008 UTC (18 years, 9 months ago) by ad
Branches: MAIN
CVS tags: mjf-devfs-base
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +75 -34
lines
Try to prevent more than one CPUs panicing when an error is detected.
Revision 1.4.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:46:19 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.6: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.6: +89 -39
lines
sync with head
Revision 1.8.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:56:17 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.8.8.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.8.1: +191 -131
lines
sync with HEAD
Revision 1.23.4.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:11:40 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.23.4.1: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.4.1: +3 -1
lines
Sync with HEAD
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jan 5 12:39:27 2008 UTC (18 years, 10 months ago) by ad
Branches: MAIN
CVS tags: matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -2
lines
Need sys/lock.h for SPINLOCK_SPIN_HOOK.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Jan 4 21:18:12 2008 UTC (18 years, 10 months ago) by ad
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -3
lines
Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.
Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:56:09 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -2
lines
Sync with HEAD
Revision 1.11.2.3: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:46:07 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.11.2.2: preferred, colored
Changes since revision 1.11.2.2: +83 -38
lines
Sync with HEAD.
Revision 1.22.2.8: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:39:42 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.22.2.7: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.7: +5 -2
lines
Sync with head.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Dec 26 16:01:36 2007 UTC (18 years, 10 months ago) by ad
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -2
lines
Merge more changes from vmlocking2, mainly:
- Locking improvements.
- Use pool_cache for more items.
Revision 1.22.2.7: download - view: text, markup, annotated - select for diffs
Thu Dec 13 13:57:51 2007 UTC (18 years, 11 months ago) by yamt
Branches: vmlocking2
Diff to: previous 1.22.2.6: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.6: +5 -2
lines
lockdebug_mem_check: fix "allocation contains active lock" after another panic.
the rb tree can be stale if panicstr != 0 because lockdebug_free is no-op
in that case. might be related to PR/37531 from Andrew Doran.
Revision 1.8.6.9: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:38:23 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.8.6.8: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.6.8: +83 -38
lines
Sync with HEAD.
Revision 1.5.6.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 16:04:01 2007 UTC (18 years, 11 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +158 -26
lines
Pullup to HEAD
Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:20:36 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.11.2.1: preferred, colored
Changes since revision 1.11.2.1: +120 -105
lines
Sync with HEAD.
Revision 1.22.2.6: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:57:46 2007 UTC (18 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.22.2.5: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.5: +2 -2
lines
Sync with head.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Dec 8 15:00:13 2007 UTC (18 years, 11 months ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
reinoud-bufcleanup-nbase,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +83 -38
lines
Merge changes from vmlocking2 branch.
Revision 1.22.2.5: download - view: text, markup, annotated - select for diffs
Sat Dec 8 14:58:51 2007 UTC (18 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.22.2.4: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.4: +29 -29
lines
Reduce unnecessary diffs to HEAD.
Revision 1.4.2.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:33:06 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.5: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.5: +120 -105
lines
sync with head
Revision 1.22.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 5 23:59:58 2007 UTC (18 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.22.2.3: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.3: +6 -2
lines
Add memory barriers to previous.
Revision 1.22.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 5 18:49:10 2007 UTC (18 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.22.2.2: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.2: +94 -53
lines
- Implement and use a very simple spinning reader/writer lock.
- Disable preemption where necessary.
Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 5 08:33:39 2007 UTC (18 years, 11 months ago) by yamt
Branches: vmlocking2
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.1: +12 -10
lines
lockdebug_mem_check: fix locking.
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 5 08:32:01 2007 UTC (18 years, 11 months ago) by yamt
Branches: vmlocking2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -4
lines
lockdebug_wantlock: put back cpu_intr_p check which disappeared
during vmlocking -> vmlocking2.
Revision 1.8.6.8: download - view: text, markup, annotated - select for diffs
Mon Dec 3 16:14:56 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.8.6.7: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.7: +4 -3
lines
Sync with HEAD.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Nov 30 23:05:44 2007 UTC (18 years, 11 months ago) by ad
Branches: MAIN
CVS tags: vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-base
Branch point for: vmlocking2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -3
lines
Use membar_*().
Revision 1.8.6.7: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:38:09 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.8.6.6: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.6: +17 -11
lines
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Nov 26 08:16:49 2007 UTC (18 years, 11 months ago) by yamt
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -3
lines
lockdebug_mem_check: turn a redundant check into a panic.
Revision 1.10.2.3: download - view: text, markup, annotated - select for diffs
Thu Nov 22 15:18:24 2007 UTC (18 years, 11 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.10.2.2: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.2: +12 -8
lines
Sync with HEAD
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Nov 22 10:47:37 2007 UTC (18 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: bouyer-xenamd64-base
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +14 -10
lines
fix lockdebug_mem_check.
Revision 1.8.6.6: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:56:02 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.8.6.5: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.5: +112 -104
lines
Sync with HEAD.
Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:19:46 2007 UTC (18 years, 11 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.1: +110 -102
lines
Sync with HEAD
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Nov 21 11:33:11 2007 UTC (18 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: bouyer-xenamd64-base2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +24 -7
lines
lockdebug_alloc: detect double initialization explicitly.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Nov 21 10:25:51 2007 UTC (19 years ago) by yamt
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +0 -2
lines
re-enable lockdebug_mem_check. ad@ said disabling it was a mistake
in the first place.
the implementation has been changed to use rb-tree rather than hash
so that it can check regions larger than page size as well.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Nov 21 10:21:40 2007 UTC (19 years ago) by yamt
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +0 -4
lines
remove #if 0'ed code.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Nov 21 10:19:10 2007 UTC (19 years ago) by yamt
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +93 -96
lines
make kmutex_t and krwlock_t smaller by killing lock id.
ok'ed by Andrew Doran.
Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:48:49 2007 UTC (19 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +7 -12
lines
Sync with HEAD.
Revision 1.4.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:44:49 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.4: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.4: +7 -12
lines
sync with head.
Revision 1.8.6.5: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:04:44 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.8.6.4: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.4: +6 -11
lines
Sync with HEAD.
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:02:19 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +8 -13
lines
Sync with HEAD
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Nov 12 06:14:57 2007 UTC (19 years ago) by matt
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +9 -5
lines
Don't static init simplelock (back out those changes).
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Nov 12 06:07:43 2007 UTC (19 years ago) by matt
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -5
lines
use __SIMPLELOCK_UNLOCKED, not SIMPLELOCK_INITIALIZER
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Nov 11 23:22:24 2007 UTC (19 years ago) by matt
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +9 -18
lines
Change some initialization of static queues to compile time.
(xxx_INIT to xxx_HEAD_INITIALIZER). Drop code which inits
non-auto (global or static) variables to 0 since that's
already implied by being non-auto. Init some static/global
cpu_simple_locks at compile time.
Revision 1.8.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:32:14 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +118 -27
lines
sync with HEAD
Revision 1.8.6.4: download - view: text, markup, annotated - select for diffs
Tue Nov 6 19:25:33 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.8.6.3: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.3: +3 -3
lines
Sync with HEAD.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Nov 6 00:42:43 2007 UTC (19 years ago) by ad
Branches: MAIN
CVS tags: jmcneill-base
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3
lines
Merge scheduler changes from the vmlocking branch. All discussed on
tech-kern:
- Invert priority space so that zero is the lowest priority. Rearrange
number and type of priority levels into bands. Add new bands like
'kernel real time'.
- Ignore the priority level passed to tsleep. Compute priority for
sleep dynamically.
- For SCHED_4BSD, make priority adjustment per-LWP, not per-process.
Revision 1.8.6.3: download - view: text, markup, annotated - select for diffs
Sun Oct 28 20:11:12 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.8.6.2: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.2: +3 -3
lines
Sync with HEAD.
Revision 1.4.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:35:33 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.3: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.3: +118 -27
lines
sync with head.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Oct 27 01:23:25 2007 UTC (19 years ago) by ad
Branches: MAIN
Branch point for: mjf-devfs
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
Fix spelling.
Revision 1.8.6.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:48:40 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.8.6.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.6.1: +115 -24
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.5.2.9: download - view: text, markup, annotated - select for diffs
Thu Oct 18 15:47:34 2007 UTC (19 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.5.2.8: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.8: +3 -3
lines
Update for soft interrupt changes. See kern_softint.c 1.1.2.17 for details.
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:48:46 2007 UTC (19 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +115 -24
lines
sync with head.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Oct 11 19:45:25 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base
Branch point for: bouyer-xenamd64
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +115 -24
lines
Merge from vmlocking:
- G/C spinlockmgr() and simple_lock debugging.
- Always include the kernel_lock functions, for LKMs.
- Slightly improved subr_lockdebug code.
- Keep sizeof(struct lock) the same if LOCKDEBUG.
Revision 1.5.2.8: download - view: text, markup, annotated - select for diffs
Thu Oct 11 11:23:34 2007 UTC (19 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.5.2.7: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.7: +4 -4
lines
Sync with head.
Revision 1.8.6.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:29:03 2007 UTC (19 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4
lines
Sync with HEAD.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Sep 21 19:14:12 2007 UTC (19 years, 1 month ago) by dsl
Branches: MAIN
CVS tags: yamt-x86pmap-base2,
yamt-x86pmap-base
Branch point for: yamt-x86pmap
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4
lines
Include sys/cdefs.h first.
Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:41:03 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.2: +25 -23
lines
sync with head.
Revision 1.5.2.7: download - view: text, markup, annotated - select for diffs
Mon Aug 20 23:04:50 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.5.2.6: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.6: +13 -3
lines
Disable freed lock checking for now. It seems to be coming up with
false positives.
Revision 1.5.2.6: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:08:55 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.5.2.5: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.5: +9 -5
lines
Track where locks were initialized.
Revision 1.5.2.5: download - view: text, markup, annotated - select for diffs
Sun Jul 29 11:34:47 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.5.2.4: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.4: +89 -21
lines
Trap free() of areas that contain undestroyed locks. Not a major problem
but it helps to catch bugs.
Revision 1.5.2.4: download - view: text, markup, annotated - select for diffs
Sun Jul 15 22:20:28 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.5.2.3: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.3: +3 -2
lines
Get pmax working.
Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:27:44 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.5.2.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.2: +3 -3
lines
Sync with head.
Revision 1.5.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:10:05 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +5 -5
lines
Sync with head.
Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 17 21:31:30 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.1: +9 -3
lines
- Increase the number of thread priorities from 128 to 256. How the space
is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
is provided, with hooks for fast-path MD code that can run the interrupt
threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jun 15 20:17:08 2007 UTC (19 years, 5 months ago) by ad
Branches: MAIN
CVS tags: nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6,
jmcneill-pm
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3
lines
splstatclock, spllock -> splhigh
Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 8 14:17:24 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4
lines
Sync with head.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon May 21 11:56:35 2007 UTC (19 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3
lines
Correct comment.
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:46 2007 UTC (19 years, 6 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +3 -3
lines
sync with head.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed May 2 14:07:03 2007 UTC (19 years, 6 months ago) by yamt
Branches: MAIN
CVS tags: yamt-idlelwp-base8
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
lockdebug_abort: s/int/u_int/ for lock id as the rest of code.
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:58:40 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +22 -20
lines
Sync with HEAD.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Mar 10 15:56:21 2007 UTC (19 years, 8 months ago) by ad
Branches: MAIN
CVS tags: thorpej-atomic-base,
thorpej-atomic
Branch point for: vmlocking,
reinoud-bufcleanup,
mjf-ufs-trans
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +22 -20
lines
lockdebug:
- Initialize on the first allocation.
- Handle overflow better. PR kern/35723.
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:54:27 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -6
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:11:14 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +665 -0
lines
sync with head.
Revision 1.4.2.1
Thu Feb 22 06:34:44 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.4: +0 -665
lines
file subr_lockdebug.c was added on branch yamt-lazymbuf on 2007-02-26 09:11:14 +0000
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Feb 22 06:34:44 2007 UTC (19 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Branch point for: yamt-lazymbuf
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -5
lines
TRUE -> true, FALSE -> false
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Feb 21 23:48:15 2007 UTC (19 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3
lines
Pick up some additional files that were missed before due to conflicts
with newlock2 merge:
Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:31 2007 UTC (19 years, 9 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +665 -0
lines
Merge newlock2 to head.
Revision 1.1.2.12: download - view: text, markup, annotated - select for diffs
Tue Feb 6 13:12:12 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.2.11: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.11: +4 -4
lines
Revert accidentally commited change.
Revision 1.1.2.11: download - view: text, markup, annotated - select for diffs
Tue Feb 6 13:11:48 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.2.10: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.10: +4 -4
lines
Quieten noisy boot messages.
Revision 1.1.2.10: download - view: text, markup, annotated - select for diffs
Mon Feb 5 13:00:56 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.2.9: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.9: +123 -48
lines
- Dump the contents of a lock's turnstile when an error is detected.
- Add a 'show lock' command to DDB.
Revision 1.1.2.9: download - view: text, markup, annotated - select for diffs
Sun Feb 4 17:29:06 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.2.8: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.8: +5 -3
lines
lockdebug_wantlock(): catch shared->exclusive deadlocks too.
Revision 1.1.2.8: download - view: text, markup, annotated - select for diffs
Sat Feb 3 16:35:30 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.2.7: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.7: +11 -8
lines
Play nicer when the system is panicing/cold.
Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Wed Jan 31 13:09:11 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.2.6: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.6: +37 -5
lines
Catch deadlocks earlier.
Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Fri Jan 19 14:37:06 2007 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.2.5: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.5: +9 -16
lines
Remove a couple of mostly pointless tests.
Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Fri Dec 29 20:27:44 2006 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.2.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.4: +42 -48
lines
Checkpoint work in progress.
Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:22 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.3: +8 -15
lines
Sync with head.
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Fri Nov 17 16:34:37 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +74 -58
lines
Checkpoint work in progress.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 24 19:07:49 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +5 -5
lines
Compile fixes
Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Oct 20 19:34:29 2006 UTC (20 years, 1 month ago) by ad
Branches: newlock2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +557 -0
lines
Add some LOCKDEBUG code to be shared between mutexes/rwlocks.
Revision 1.1
Fri Oct 20 19:34:29 2006 UTC (20 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
newlock2-nbase,
newlock2-base
Branch point for: newlock2
FILE REMOVED
file subr_lockdebug.c was initially added on branch newlock2.
CVSweb <webmaster@jp.NetBSD.org>