Up to [local] / src / sys / ddb
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.27 / (download) - annotate - [select for diffs], Sat Feb 3 18:51:58 2024 UTC (4 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
HEAD
Changes since 1.26: +1 -6 lines
Diff to previous 1.26 (colored)
Remove Softdep. Softdep has been a no-op for some time now, this removes it to get it out of the way. Flensing mostly done in Talinn, with some help from krw@ ok deraadt@
Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 2 19:02:27 2023 UTC (11 months, 1 week ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE,
OPENBSD_7_4
Changes since 1.25: +1 -3 lines
Diff to previous 1.25 (colored)
all platforms, kernel: remove __HAVE_CLOCKINTR symbol Every platform made the clockintr switch at least six months ago. The __HAVE_CLOCKINTR symbol is now redundant. Remove it. Prompted by claudio@. Link: https://marc.info/?l=openbsd-tech&m=168826181015032&w=2 "makes sense" mlarkin@
Revision 1.25 / (download) - annotate - [select for diffs], Sat Nov 5 19:29:45 2022 UTC (19 months ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE,
OPENBSD_7_3
Changes since 1.24: +6 -1 lines
Diff to previous 1.24 (colored)
clockintr(9): initial commit clockintr(9) is a machine-independent clock interrupt scheduler. It emulates most of what the machine-dependent clock interrupt code is doing on every platform. Every CPU has a work schedule based on the system uptime clock. For now, every CPU has a hardclock(9) and a statclock(). If schedhz is set, every CPU has a schedclock(), too. This commit only contains the MI pieces. All code is conditionally compiled with __HAVE_CLOCKINTR. This commit changes no behavior yet. At a high level, clockintr(9) is configured and used as follows: 1. During boot, the primary CPU calls clockintr_init(9). Global state is initialized. 2. Primary CPU calls clockintr_cpu_init(9). Local, per-CPU state is initialized. An "intrclock" struct may be installed, too. 3. Secondary CPUs call clockintr_cpu_init(9) to initialize their local state. 4. All CPUs repeatedly call clockintr_dispatch(9) from the MD clock interrupt handler. The CPUs complete work and rearm their local interrupt clock, if any, during the dispatch. 5. Repeat step (4) until the system shuts down, suspends, or hibernates. 6. During resume, the primary CPU calls inittodr(9) and advances the system uptime. 7. Go to step (2). This time around, clockintr_cpu_init(9) also advances the work schedule on the calling CPU to skip events that expired during suspend. This prevents a "thundering herd" of useless work during the first clock interrupt. In the long term, we need an MI clock interrupt scheduler in order to (1) provide control over the clock interrupt to MI subsystems like timeout(9) and dt(4) to improve their accuracy, (2) provide drivers like acpicpu(4) a means for slowing or stopping the clock interrupt on idle CPUs to conserve power, and (3) reduce the amount of duplicated code in the MD clock interrupt code. Before we can do any of that, though, we need to switch every platform over to using clockintr(9) and do some cleanup. Prompted by "the vmm(4) time bug," among other problems, and a discussion at a2k19 on the subject. Lots of design input from kettenis@. Early versions reviewed by kettenis@ and mlarkin@. Platform-specific help and testing from kettenis@, gkoehler@, mlarkin@, miod@, aoyama@, visa@, and dv@. Babysitting and spiritual guidance from mlarkin@ and kettenis@. Link: https://marc.info/?l=openbsd-tech&m=166697497302283&w=2 ok kettenis@ mlarkin@
Revision 1.24 / (download) - annotate - [select for diffs], Fri Jul 29 17:47:11 2022 UTC (22 months, 1 week ago) by semarie
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2
Changes since 1.23: +4 -1 lines
Diff to previous 1.23 (colored)
Replace the swap extent(9) usage by a blist data structure. It makes uvm_swap_free() faster: extents have a cost of O(n*n) which doesn't really scale with gigabytes of swap. Based on initial work from mpi@ The blist implementation comes from DragonFlyBSD. The diff adds also a ddb(4) 'show swap' command to show the blist and help debugging, and fix some off-by-one in size printed during hibernate. ok mpi@
Revision 1.23 / (download) - annotate - [select for diffs], Thu Jul 28 22:19:09 2022 UTC (22 months, 1 week ago) by bluhm
Branch: MAIN
Changes since 1.22: +5 -1 lines
Diff to previous 1.22 (colored)
In the kernel exist functions to print routes, but they were not accessible from ddb. Implement "show all routes" to print routing tables, and "show route 0xfffffd807e9b0000" for a single route entry. Note that the rtable id is not part of a route entry, so it makes no sense to print it there. OK deraadt@
Revision 1.22 / (download) - annotate - [select for diffs], Thu Nov 7 13:16:25 2019 UTC (4 years, 7 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)
db_addr_t -> vaddr_t ok deraadt@
Revision 1.21 / (download) - annotate - [select for diffs], Wed Nov 6 07:30:08 2019 UTC (4 years, 7 months ago) by mpi
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)
Substitute boolean_t/TRUE/FALSE by int/1/0. ok dlg@, jasper@, anton@
Revision 1.20 / (download) - annotate - [select for diffs], Fri Sep 29 09:36:04 2017 UTC (6 years, 8 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)
New ddb(4) command: kill. Send an uncatchable SIGABRT to the process specified by the pid argument. Useful in case of CPU exhaustion to kill the DoSing process and generate a core for later inspection. ok phessler@, visa@, kettenis@, miod@
Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 9 17:58:44 2017 UTC (7 years, 5 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.18: +1 -5 lines
Diff to previous 1.18 (colored)
Revert previous, it's a documented behavior and people might rely on it. Pointed by deraadt@
Revision 1.18 / (download) - annotate - [select for diffs], Mon Jan 9 17:21:42 2017 UTC (7 years, 5 months ago) by mpi
Branch: MAIN
Changes since 1.17: +5 -1 lines
Diff to previous 1.17 (colored)
Stop and restart the watchdog timer when entering and leaving ddb(4). From Christian Ludwig.
Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 15 11:21:58 2016 UTC (8 years, 4 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.16: +4 -1 lines
Diff to previous 1.16 (colored)
add a "show socket" command to ddb should help inspecting socket issues in the future. enthusiasm from mpi@ bluhm@ deraadt@
Revision 1.16 / (download) - annotate - [select for diffs], Fri Nov 5 15:17:50 2010 UTC (13 years, 7 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7,
OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9
Changes since 1.15: +4 -1 lines
Diff to previous 1.15 (colored)
Implement m_print as real ddb command "show mbuf addr" in the way other such commands are implemented. "Ja! You'll need to update ddb.4 as well, of course." miod@
Revision 1.15 / (download) - annotate - [select for diffs], Mon Aug 17 13:11:58 2009 UTC (14 years, 9 months ago) by jasper
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)
dd 'show all bufs' to show all the buffers in the system ok beck@ thib@
Revision 1.14 / (download) - annotate - [select for diffs], Fri Aug 14 21:16:13 2009 UTC (14 years, 9 months ago) by thib
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)
add ddb functions to be able to show all the nfsnodes in the system and rewrite the nfsreq code to use pool_walk(). OK beck@, blambert@
Revision 1.13 / (download) - annotate - [select for diffs], Thu Aug 13 13:49:20 2009 UTC (14 years, 10 months ago) by thib
Branch: MAIN
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)
add a show all vnodes command, use dlg's nice pool_walk() to accomplish this. ok beck@, dlg@
Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 17 01:30:30 2009 UTC (14 years, 11 months ago) by thib
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6
Changes since 1.11: +1 -5 lines
Diff to previous 1.11 (colored)
Revert bufq's. this is inline with the major midlayer reverts that have been going on. this appears to bring us back to stable state. lots of testing by oga and ariane and my self.
Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 3 22:09:30 2009 UTC (15 years ago) by thib
Branch: MAIN
Changes since 1.10: +4 -0 lines
Diff to previous 1.10 (colored)
add a flexible buffer queue (bufq) api, based on the never used one by tedu@. It doesn't do anything smart yet, it just uses plain old disksort. we also keep the old method of queueing bufs since some miods have crazy MD drivers that need some love. ok beck@, art@ tested by many on many archs.
Revision 1.10 / (download) - annotate - [select for diffs], Sun Jan 18 13:36:56 2009 UTC (15 years, 4 months ago) by thib
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE,
OPENBSD_4_5
Changes since 1.9: +6 -1 lines
Diff to previous 1.9 (colored)
Add nfs ddb hooks, for now only to show all the outstanding nfsreq's and to print out struct nfsreq. "get it in so people can pound on it" blambert@ OK and information_s_ on the manpage from miod@
Revision 1.9 / (download) - annotate - [select for diffs], Wed Jul 12 05:55:22 2006 UTC (17 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.8: +4 -1 lines
Diff to previous 1.8 (colored)
fake structs to let kernels compile on architectures that some german companies do not use. Mickey, why did you break the tree for us like this, all after not showing the diffs to lots of people? Are you that special that you can get away with this? Do you really want to bet on that, again?
Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 11 21:17:58 2006 UTC (17 years, 11 months ago) by mickey
Branch: MAIN
Changes since 1.7: +11 -1 lines
Diff to previous 1.7 (colored)
add mount/vnode/buf and softdep printing commands; tested on a few archs and will make pedro happy too (;
Revision 1.7 / (download) - annotate - [select for diffs], Sat May 20 18:29:23 2006 UTC (18 years ago) by mickey
Branch: MAIN
Changes since 1.6: +4 -1 lines
Diff to previous 1.6 (colored)
add show all pools command listing all pools as vmstat -m does; miod@ ok
Revision 1.6 / (download) - annotate - [select for diffs], Tue May 16 03:18:29 2006 UTC (18 years ago) by mickey
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)
fix comments
Revision 1.3.16.2 / (download) - annotate - [select for diffs], Fri Mar 28 00:00:19 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.3.16.1: +2 -1 lines
Diff to previous 1.3.16.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
Sync the SMP branch with 3.3
Revision 1.3.26.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:28:48 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.3: +7 -6 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)
Sync UBC branch to -current
Revision 1.5 / (download) - annotate - [select for diffs], Sat May 18 09:49:17 2002 UTC (22 years ago) by art
Branch: MAIN
CVS Tags: UBC_SYNC_B,
UBC_SYNC_A,
SMP_SYNC_B,
SMP_SYNC_A,
OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7,
OPENBSD_3_6_BASE,
OPENBSD_3_6,
OPENBSD_3_5_BASE,
OPENBSD_3_5,
OPENBSD_3_4_BASE,
OPENBSD_3_4,
OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)
Rename the MD db_stack_trace_cmd to db_stack_trace_print. Add an argument that specifies which printf funciton it should use. Implement db_stack_trace_cmd in MI code. Thanks to miod@ for all the tests.
Revision 1.3.16.1 / (download) - annotate - [select for diffs], Thu Mar 28 11:43:03 2002 UTC (22 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.3: +6 -6 lines
Diff to previous 1.3 (colored)
Merge in -current from about a week ago
Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 14 01:26:51 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.3: +6 -6 lines
Diff to previous 1.3 (colored)
First round of __P removal in sys
Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 21 22:19:02 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: kame_19991208,
UBC_BASE,
SMP_BASE,
OPENBSD_3_0_BASE,
OPENBSD_3_0,
OPENBSD_2_9_BASE,
OPENBSD_2_9,
OPENBSD_2_8_BASE,
OPENBSD_2_8,
OPENBSD_2_7_BASE,
OPENBSD_2_7,
OPENBSD_2_6_BASE,
OPENBSD_2_6,
OPENBSD_2_5_BASE,
OPENBSD_2_5,
OPENBSD_2_4_BASE,
OPENBSD_2_4,
OPENBSD_2_3_BASE,
OPENBSD_2_3,
OPENBSD_2_2_BASE,
OPENBSD_2_2,
OPENBSD_2_1_BASE,
OPENBSD_2_1,
OPENBSD_2_0_BASE,
OPENBSD_2_0
Branch point for: UBC,
SMP
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)
partial sync with netbsd 960418, more to come
Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 11 11:16:10 1996 UTC (28 years, 3 months ago) by mickey
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)
Debbuger changed towards the latest Mach. Some minor changes for Linux ;) emulation. Small bug fixes from NetBSD.
Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 20 13:35:37 1996 UTC (28 years, 3 months ago) by mickey
Branch: MAIN
netbsd-current import & 'boot' cmd addition.