> > So are you saying that a "thread" context switch is less painful than
> > a "process"?
>
> If you are sharing the virtual memory space it means you don't take a TLB
> flush
Stupid question:
Does the scheduler prefer processes which share vm space with the current task?
As I see it, threads are just special processes, so the scheduler may just
switch to a completely different process anyway and incur the TLB flush.
-- If it's tourist season, why can't we shoot them?- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/