On Wed, Oct 17, 2007 at 03:43:01PM -0400, Hrishikesh wrote: > for the case where the kernel is patched, but NO_HZ is __not__ enabled, > there is a do_nanosleep() every 100 or so us. > > setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, > {it_interval={0, 0}, it_value={0, 0}}) = 0 > nanosleep({0, 0}, {0, 0}) = 0
Can you reproduce this with current mainline? I can't: 1194371604.120203 setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 10000}}, NULL) = 0 1194371604.120256 setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, {it_interval={0, 0}, it_value={0, 11998}}) = 0 1194371604.120306 nanosleep({0, 11998000}, {0, 11998000}) = 0 It's correctly reading the current alarm and sleeping for that long. It could be more efficient, but this isn't a busy loop. Jeff -- Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel