On Tue, 2007-10-09 at 11:00 -0400, Steven Rostedt wrote:Hi Steve, Peter, That is a good point. We definitely need a good "kick+resched" kind of mechanism here, but perhaps it should be RTO specific instead of in the primary data path. I guess a rq-lock + set(NEEDS_RESCHED) + IPI works too. On the flip side: Perhaps sending a reschedule-ipi that doesn't reschedule is simply misused, and the misuse should be cleaned up instead? Great minds think alike ;) See attached for a patch I have been working on in this area. It currently address the "wake_up" path. It would also need to address the "preempted" path if we were to eliminate RTO outright. I wasn't going to share it quite yet, since its still a work in progress. But the timing seems right now, given the discussion. My patch currently doesn't address this yet, but I have been thinking about it for the last day or so. I was wondering if perhaps an RCU would be appropriate instead of the rwlock like I am using. On the same page with you, here. Regards, -Greg
| H. Peter Anvin | Re: [rft] s2ram wakeup moves to .c, could fix few machines |
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction in HOWTO |
| Ingo Molnar | [patch] PID namespace design bug, workaround |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Eric Dumazet | Re: Multicast packet loss |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
