Atsushi Nemoto wrote: > On Tue, 10 Oct 2006 17:01:53 +0200, Franck Bui-Huu <vagabon.xyz@xxxxxxxxx> wrote: >>> I think this peice of code is just broken, as you said. This is bogus >>> but harmless since we have not checked these resources are >>> successfully registered or not. >> what about all other uses of virt_to_phys(x) ? And what the point to set >> PAGE_OFFSET to 0xa800000000000000 ? I'm really confused... > > For now I have not seen any problem on other usages. > do you know at which point the kernel starts to use XKPHYS addresses ? > We can use large flat mapping space in XKPHYS. No TLB conversion, no > highmem trick. > ok, and does the trick on KSEG0/XKPHYS really worth ? I mean what is the size code gain ? Thanks Franck