Page MenuHomeFreeBSD

D8320.1796070873.diff
No OneTemporary

Authored By
Unknown
Size
756 B
Referenced Files
None
Subscribers
None

D8320.1796070873.diff

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

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)

Event Timeline