On Thu, Mar 07, 2013 at 12:34:27AM -0500, valdis.kletni...@vt.edu wrote:
On Thu, 07 Mar 2013 12:48:06 +0800, ishare said:
because all the pde (0-768) are set to 0x0 ,so no phsical pages are
mapping to these pde .
isn't it?
The pdes don't end at 768. Think about what pde numbers
kernel halts because the page mapping has been modified by zap_low_mappings ,
why we should do zap_low_mappings in init procedure ? this will disorder the
page mapping.
thanks!
___
Kernelnewbies mailing list
Kernelnewbies
On Thu, 07 Mar 2013 10:33:18 +0800, ishare said:
kernel halts because the page mapping has been modified by zap_low_mappings
why we should do zap_low_mappings in init procedure ? this will disorder
the page mapping.
You might want to get yourself an up to date kernel, as the code
sorry for my outof date kernel .
In the zap_low_mappingd function.there is a selection for kernel,as below:
#ifdef CONFIG_X86_PAE
set_pgd(swapper_pg_dir+i, __pgd(1 + __pa(empty_zero_page)));
#else
set_pgd(swapper_pg_dir+i, __pgd(0));
#endif
If I have not
On Thu, 07 Mar 2013 11:43:43 +0800, ishare said:
set_pgd(swapper_pg_dir+i, __pgd(0));
If I have not define CONFIG_X86_PAE ,then the low mem will be invalided all .
And what makes you think that call invalidates *all* the page
mappings?
pgpwj47K1DPrA.pgp
Description: PGP
On Wed, Mar 06, 2013 at 11:00:36PM -0500, valdis.kletni...@vt.edu wrote:
On Thu, 07 Mar 2013 11:43:43 +0800, ishare said:
set_pgd(swapper_pg_dir+i, __pgd(0));
If I have not define CONFIG_X86_PAE ,then the low mem will be invalided all
.
And what makes you think that call