Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178134177
D8320.1796070873.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
756 B
Referenced Files
None
Subscribers
None
D8320.1796070873.diff
View Options
Index: sys/kern/subr_turnstile.c
===================================================================
--- sys/kern/subr_turnstile.c
+++ sys/kern/subr_turnstile.c
@@ -157,6 +157,9 @@
#ifdef TURNSTILE_PROFILING
static void init_turnstile_profiling(void *arg);
#endif
+#ifdef DDB
+static void print_sleepchain(struct thread *td, const char *prefix);
+#endif
static void propagate_priority(struct thread *td);
static int turnstile_adjust_thread(struct turnstile *ts,
struct thread *td);
@@ -1169,6 +1172,10 @@
db_printf("chain %d:\n", i++);
print_lockchain(td, " ");
}
+ if (TD_IS_INHIBITED(td) && TD_ON_SLEEPQ(td)) {
+ db_printf("chain %d:\n", i++);
+ print_sleepchain(td, " ");
+ }
if (db_pager_quit)
return;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 30, 8:34 PM (22 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42112190
Default Alt Text
D8320.1796070873.diff (756 B)
Attached To
Mode
D8320: ddb(4): Add sleepchains to "show allchains"
Attached
Detach File
Event Timeline