Messages in this thread |  | | From | (Alan Cox) | Subject | Re: Extending task_struct with a task_queue ? | Date | Sun, 20 Oct 1996 18:47:34 +0100 (BST) |
| |
> As long as everything is done in Kernel space there is no problem, because > I can delay the task switches as long as I want. But it is very ugly > to do everything in kernel-space.
Its the fact you'd be processing things every single task switch - and while the task queue code is fast, its not _THAT_ fast
One possible clean approach in the long term would be to build a macro according to all the drivers that need to alter it so it would start something like
#define TASK_QUEUE_ASM ""
#ifdef __SMP__ #define TASK_QUEUE_ASM ....
etc
|  |