Messages in this thread | | | Date | Tue, 14 Oct 2003 23:42:24 -0400 | From | Chris Friesen <> | Subject | Re: question on incoming packets and scheduler |
| |
Friesen, Christopher [CAR:7Q28:EXCH] wrote: > > 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.
I should add that I'm on 2.4.22.
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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |