All of lore.kernel.org
 help / color / mirror / Atom feed
* question on incoming packets and scheduler
@ 2003-10-15  1:39 Chris Friesen
  2003-10-15  3:42 ` Chris Friesen
  2003-10-15 17:39 ` Davide Libenzi
  0 siblings, 2 replies; 8+ messages in thread
From: Chris Friesen @ 2003-10-15  1:39 UTC (permalink / raw)
  To: Linux Kernel


I have a long-running cpu hog background task, and a high-priority 
critical task that waits on a socket for network traffic.  When a packet 
comes in, I'd like the cpu hog to be swapped out ASAP, rather than 
waiting for the end of the timeslice.  Is there any way to make this happen?

The code paths that I managed to trace didn't seem to be calling the 
scheduler to force the context switch.  Hopefully I missed something.

Thanks,

Chris

-- 
Chris Friesen                    | MailStop: 043/33/F10
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com


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

end of thread, other threads:[~2003-10-15 20:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-15  1:39 question on incoming packets and scheduler Chris Friesen
2003-10-15  3:42 ` Chris Friesen
2003-10-15 17:39 ` Davide Libenzi
2003-10-15 18:17   ` Chris Friesen
2003-10-15 18:35     ` Davide Libenzi
2003-10-15 20:13       ` Chris Friesen
2003-10-15 20:27         ` Andrew R. Reiter
2003-10-15 20:53         ` Chris Friesen

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.