Re: Extending task_struct with a task_queue ?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 19 Oct 1996 00:40:41 +0100 (BST)


> What about adding a task_queue to the task-struct which
> is executed before switch_to(task_xy); ?
> Any comments, or suggestions how to do this without
> changes in Kernel ?

Putting a task queue in there is possibly not good. Thats very performance
critical code. Do devices do read/write etc calls to the frame grabber and
if so can you delay the switch akin to delaying FPU state. If it is mmaped
you may be able to do the same by unmapping and remapping pages for the
8 maps.

Alan