[lkml]   [1999]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Per-Processor Data Paget
> On Thu, 9 Dec 1999, Alan Cox wrote:
> > Having access the the pid at a fixed address is as good as the %esp trick if
> > not better. Unfortunately it means you now have to rewrite it each context
> > switch or flush the TLB. Both of these suck. [...]
> it's not even possible - think about threads on different processors
> running at once. Which fixed address? Page tables are shared.
> -- mingo

It certainly can be done, and it has been done.

Only the page table containing the virt addr 0xc0000000 need be
different between multiple threads.

Page tables don't _have_ to be shared, either, they could,
instead be duplicated.

In this proposal, however, only the page directory need be
different, the page tables for all user virtual address pages
can be shared between threads which shared address spaces.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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