mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* A proper way to yield for interactive tasks
@ 2003-09-24 16:09 emmanuel ALLAUD
  2003-09-24 16:20 ` ACPI: Unexpected IO-APIC Joao Seabra
  0 siblings, 1 reply; 2+ messages in thread
From: emmanuel ALLAUD @ 2003-09-24 16:09 UTC (permalink / raw)
  To: linux-kernel

    Hi all,
this way was brought on the XFree-devel list : say you
have a video driver which wants to feed a video card
using DMA (in general using big chunks ~1MB for
performance reasons). Once the buffer is filled up,
you know this will take time to be processed by the
card, so you want to release the CPU, but you don't
want to wait too long for getting the CPU back for
interactivity reason. People are using sched_yield for
now (not all I guess), is that the good solution?
I must add that this is all in user-space, and the DMA
case is not the only case where we need to yield but
not too long.
I have seen things related in the archives but I did
not find something clear on that matter.
TIA
Bye
Manu

PS : could you please CC me, I am not subscribed to
this list (and my mailbox is already crowded ;-)

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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

end of thread, other threads:[~2003-09-24 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-24 16:09 A proper way to yield for interactive tasks emmanuel ALLAUD
2003-09-24 16:20 ` ACPI: Unexpected IO-APIC Joao Seabra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®