Re: [PATCH 3/4] Pte xchg optimization.patch

2007-04-12 Thread Zachary Amsden
Dave Jones wrote: On Wed, Apr 11, 2007 at 10:30:58PM -0700, Zachary Amsden wrote: > In situations where page table updates need only be made locally, and there > is no cross-processor A/D bit races involved, we need not use the heavyweight > xchg instruction to atomically fetch and clear page

Re: [PATCH 3/4] Pte xchg optimization.patch

2007-04-12 Thread Dave Jones
On Wed, Apr 11, 2007 at 10:30:58PM -0700, Zachary Amsden wrote: > In situations where page table updates need only be made locally, and there > is no cross-processor A/D bit races involved, we need not use the heavyweight > xchg instruction to atomically fetch and clear page table entries.

Re: [PATCH 3/4] Pte xchg optimization.patch

2007-04-12 Thread Dave Jones
On Wed, Apr 11, 2007 at 10:30:58PM -0700, Zachary Amsden wrote: In situations where page table updates need only be made locally, and there is no cross-processor A/D bit races involved, we need not use the heavyweight xchg instruction to atomically fetch and clear page table entries.

Re: [PATCH 3/4] Pte xchg optimization.patch

2007-04-12 Thread Zachary Amsden
Dave Jones wrote: On Wed, Apr 11, 2007 at 10:30:58PM -0700, Zachary Amsden wrote: In situations where page table updates need only be made locally, and there is no cross-processor A/D bit races involved, we need not use the heavyweight xchg instruction to atomically fetch and clear page

[PATCH 3/4] Pte xchg optimization.patch

2007-04-11 Thread Zachary Amsden
In situations where page table updates need only be made locally, and there is no cross-processor A/D bit races involved, we need not use the heavyweight xchg instruction to atomically fetch and clear page table entries. Instead, we can just read and clear them directly. This introduces a neat

[PATCH 3/4] Pte xchg optimization.patch

2007-04-11 Thread Zachary Amsden
In situations where page table updates need only be made locally, and there is no cross-processor A/D bit races involved, we need not use the heavyweight xchg instruction to atomically fetch and clear page table entries. Instead, we can just read and clear them directly. This introduces a neat