:> > 3. how to do with the per-cpu data, should a PML4/PDP entry for each CPU? :> :> A per-CPU PML4 entry would be wildly inefficient, also limiting the :> scalability of DragonFly/x86-64 on current CPUs to, say, 254 processors :> tops. As there's not a lot of per-CPU data pages, I think it's safe to :> go with the same number we have on pc32. To clarify, a single PML4 entry can be used to map the per-cpu data. That is, the same virtual address on all cpus. This works if each cpu has its own PML4 table (i.e. PML4 is made per-cpu rather then per-process). This comes back to the question of whether there should be one PML4 table for each cpu or whether there should be a PML4 table for each user vmspace. I strongly recommend one for each cpu because it simplifies ALL of pmap code at the cost of making a process switch slightly more expensive (and again, only processes that actually use a huge address space would incur this cost). Frankly I think the extra cost winds up in the noise compared to the number of page table accesses the cpu has to make anyway to reload the TLB after a process switch. The extra cost is that the process switch code would have to copy N PML4 entries for the target process verses just reloading %cr3. Copying one entry is clearly not costly. Two, four, even 8 entries is not costly. Copying half the table (256 entries) might be a different matter but I think it is still a better solution then giving each process its own PML4 table. -Matt
| Alok Kataria | Use CPUID to communicate with the hypervisor. |
| Greg KH | [RFC] kobject and kset core changes and cleanups |
| Linus Torvalds | Re: [PATCH 00/23] per device dirty throttling -v8 |
| Alexandre Oliva | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Francis Moreau | Track /etc directory using Git |
| Linus Torvalds | People unaware of the importance of "git gc"? |
| Ping Yin | why still no empty directory support in git |
| walt | git versus CVS (versus bk) |
| Christopher Bianchi | How can i boot a bsd.rd from windows 2000 ? |
| Chris Bullock | OpenBSD isakmpd and pf vs Cisco PIX or ASA |
| Nuno Magalhães | Can't scp, ssh is slow to authenticate. |
| Richard Stallman | Real men don't attack straw men |
| Eric W. Biederman | [PATCH 0/10] sysfs network namespace support |
| John P Poet | Realtek 8111C transmit timed out |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Indan Zupancic | Re: Realtek 8111C transmit timed out |
