lkml.org 
[lkml]   [1996]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Extending task_struct with a task_queue ?
Date
> 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


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:1.671 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site