On Tue, 17 Aug 2010 06:55:21 +1000, matthew green <m...@eterna.com.au> wrote: >> >> Log Message: >> >> Add machdep.pae sysctl(7) for i386. Thanks to Paul and Joerg for their >> >> reviews. >> >> >> >> In kernel, it matches the 'i386_use_pae' variable (0: kernel does not >> >> use >> >> PAE, 1: kernel uses PAE). Will be used by i386 kvm(3) to know the >> >> functions that should get called for VA => PA translations. >> > >> > does this work for core files as well? > > could you answer this part? thanks.
For kernel core dumps, at the present time, no; this needs thinking, and testing: - kvm(3) API will have to move from using 'unsigned long' to 'paddr_t'. I am currently checking that for all architectures except i386, sizeof(paddr_t) == sizeof(u_long). - i386 will use 64 bits paddr_t for kvm(3), so we will have to discuss on how to make it work without too much fuzz with pre-64 bits i386 dumps. - sparse dumps for memory above 4GB. Eventually, PAE and !PAE kernels core files should be handled by kvm, if that's what you are asking. PAE does not affect program core files. -- Jean-Yves Migeon jeanyves.mig...@free.fr