Commit Diff


commit - a91825ce61ca2e31c3990fcc0084552ebd8f23f4
commit + bb549fa703c9691eb1437b83266b9853a7c4c1f2
blob - fdfee83678e75f525652dfe78f6e533877c1915d
blob + f188a244a26e5e4b33743e9a8e3c2dc7dda3fb51
--- changelog.md
+++ changelog.md
@@ -1,5 +1,53 @@
 # Changelog
 
+# 2025-12-09
+
+Yield storm over!
+
+````
+* perf: counters
+  sched_ticks=1369
+  sched_context_switches=4302
+  sched_resched_ipi=0
+  sched_yields=3021
+  sched_blocks=1281
+  ipc_portal_send=1357
+  ipc_portal_recv=1344
+  ipc_mailbox_enqueue=1357
+  ipc_mailbox_dequeue=1344
+  ipc_mailbox_contention=0
+  ipc_inline_payload_used=46
+  ipc_external_payload_used=1311
+  ipc_bytes_tx=5422934
+  ipc_bytes_rx=5418556
+  socket_bytes_tx=0
+  socket_bytes_rx=0
+  fs_requests=0
+  fs_responses=0
+  vfs_requests=18
+  vfs_responses=18
+  block_requests=78
+  block_responses=78
+  block_bytes=316416
+  mailbox_peak_depth=12
+yields
+* sched: per-task yield/block counters
+  /bin/sh pid=14 yields=0 blocks=1 state=4
+  init pid=13 yields=289 blocks=121 state=4
+  ptyctl pid=12 yields=1 blocks=2 state=4
+  ttyd pid=11 yields=2 blocks=1 state=4
+  sock.tcp pid=10 yields=1 blocks=1 state=4
+  sock.udp pid=9 yields=1 blocks=1 state=4
+  netd pid=8 yields=1 blocks=1 state=4
+  vfs-server pid=7 yields=257 blocks=20 state=4
+  tmpfs-server pid=6 yields=1 blocks=1 state=4
+  fs-server pid=5 yields=242 blocks=28 state=4
+  ramdiskd pid=4 yields=1262 blocks=55 state=1
+  blockd pid=3 yields=1 blocks=1213 state=4
+  namesvc pid=2 yields=0 blocks=16 state=4
+  console pid=1 yields=1317 blocks=0 state=2
+````
+
 # 2025-12-06
 
 ## IPC wait-path fixes and scheduler instrumentation
blob - a35f03672feb7454dcb0e80d2fd8c6d76cc67b41
blob + 3115590f5be39228c3b53a52b89e17a1e43dc838
--- kernel/console/line.c
+++ kernel/console/line.c
@@ -134,7 +134,7 @@ line_echo_char(char c, uint64_t flags)
 static void
 emit_line(void)
 {
-	uint32_t active_pty = console_pty_active();
+	//uint32_t active_pty = console_pty_active();
 
 	if (line_len >= LINE_BUF_LEN)
 		line_len = LINE_BUF_LEN - 1;