Re: Per-Processor Data Paget

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 10 Dec 1999 00:07:05 +0000 (GMT)


> > It is normal for our threads to share address space. Trying to use
> > a sledgehammer to fix a minor kink simply makes larger dents.
>
> By 'our threads' do you mean kernel threads or application threads.

Kernel threads don't matter in 2.3.x as the lazy tlb flushing means they will
never cause a problem.

> And what percentage of the time does a thread in the same address space
> get scheduled on a single processor.

On non SMP machines quite regularly. The scheduler even has a bias for this
case. Almost all threaded apps will follow this property on Linux.

-
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/