Re: Changing process priority
John den Haan wrote:
Hey!
This question may be basic for you guys, but I haven't found anything
related to it in the FAQ. How do I make sure a simple while(1){} loop
(for example) doesn't consume half my CPU?
That isn't a C issue, but an OS one. So you'll have to ask on a group
dedicated to your OS.
--
Ian Collins.
.
Relevant Pages
- Re: [PATCH] sched: Fix __load_balance_iterator() for cfq with only one task
... Fix this by checking if the last entity was a task or not. ... pairs not running on the same CPU as buddies, shouldn't this be fixed in a ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... (Linux-Kernel) - Re: [tip:core/ipi] generic-ipi: eliminate spurious pointless WARN_ON()s
... the warnings generated are not only meaningless, ... if (cpu == this_cpu) { ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... (Linux-Kernel) - Re: 2.6.19-rc5 nasty ACPI regression, AE_TIME errors
... AE_TIME is generally used for timeout situations -- ie didn't get a semaphore within a certain period. ... so that e.g. just editing text kept the CPU cool ... ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... (Linux-Kernel) - Re: [warn_once] warning: at kernel/hrtimer.c:625 hres_timers_resume+0x24/0x38()
... In my case the first hibernate attempt gives the message and succeeds. ... What CPU is there in your box? ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... (Linux-Kernel) - Re: EightyOne
... maintenance isn't what it once was. ... The timings listed in the current FAQ entry are for the US model ... The CPU in the Spectrum SE is clocked at 3.5Mhz. ... a dead Spectrum 128. ... (comp.sys.sinclair) |
|