Re: Why is kslowd accumulating so much CPU time?

From: Andy Whitcroft
Date: Wed Jun 16 2010 - 07:42:31 EST


> Can you see what they're doing?
>
>        watch -n0 cat /sys/kernel/debug/slow_work/runqueue

Turned on the debugging and applied the patch from Ted, and when
things are bad I see constant cycling of all four threads in the
output showing similar to the below, note only one thread shows at a
time:

Every 0.1s: cat /sys/kernel/debug/slow_work/runqueue Wed Jun 16 12:34:52 2010

THR PID ITEM ADDR FL MARK DESC
=== ===== ================ == ===== ==========
0 897 ffff88012bb07510 12 20ms DRM_CRTC_HELPER: i915@pci:0000:00:02.0

When things are working well I see the same output appearing for one
update, about every 10s.

-apw
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/