All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] Re: [PATCH 18/21] ppc64/rtasd: replace schedule_timeout() with
@ 2005-01-22  5:25 Paul Mackerras
  2005-01-22 18:49 ` [KJ] Re: [PATCH 18/21] ppc64/rtasd: replace schedule_timeout() Nish Aravamudan
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Mackerras @ 2005-01-22  5:25 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 639 bytes --]

Nishanth Aravamudan writes:

> Description: Replace schedule_timeout() with msleep()/ssleep(). In both cases,
> the current code sleeps in TASK_INTERRUPTIBLE but does not account for early
> wakeups due to signals being caught; therefore I have used TASK_UNINTERRUPTIBLE
> sleeps in both cases. The second sleep is slightly more difficult to convert as
> rtas_event_scan_rate is variable. I have left it as a msleep() call, although
> ssleep() may be more appropriate.

You have a good point about signals, but I don't like the way that
this will elevate the load average by 1 the whole time.  We need to
fix this properly instead.

Paul.

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-22 18:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-22  5:25 [KJ] Re: [PATCH 18/21] ppc64/rtasd: replace schedule_timeout() with Paul Mackerras
2005-01-22 18:49 ` [KJ] Re: [PATCH 18/21] ppc64/rtasd: replace schedule_timeout() Nish Aravamudan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.