pte_read confusion resolved (was Re: [PATCH] A
Quoted 21 lines · On Fri, 04 Mar 2005 00:08:40 -0600 "Tom 'spot' Callaway" <[email protected]>…
Quoted 9 lines · William Lee Irwin III
Quoted 7 lines · David S. Miller
Quoted 7 lines
I disagree with Tom's patch in that it puts this huge
switch()statement inline. The whole point ofBTFIXUP_HIGH()is that it resolves the call to a single instruction which can be easily patched at runtime.
If it's going to expand to multipleBTFIXUP_HIGH()calls and a switch statement, just make it a normalBTFIXUP()to a function and place the implementation insun4c.candsun4m.cQuoted 5 lines
Quoted 2 lines · Tom 'spot' Callaway
How about this instead?
Signed-off-by Tom 'spot' Callaway <[email protected]>I'll make sure this gets into 2.6.11-final.
The second
pte_readpatch did not really make it into 2.6.11 final (but my original patch, which DaveM pointed out as faulty, did). I've made a new patch which reverts the huge switch inline statement logic, and uses the normal BTFIXUP instead.
Quoted 4 lines
With this patch applied, we should have the preferred
pte_readmechanism in place for sparc32.Signed-off-by Tom 'spot' Callaway <[email protected]>
Looks great, patch applied. Thanks Tom.