Re: zap_low_mappings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 you're
asking about was removed almost 2 1/.2 years ago.

zap_low_mappings was removed in October 2010 by this commit:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/arch/x86/mm/init_32.c?id=b40827fa7268fda8a62490728a61c2856f33830b

x86-32, mm: Add an initial page table for core bootstrapping

This patch adds an initial page table with low mappings used exclusively for
booting APs/resuming after ACPI suspend/machine restart. After this, there's no
need to add low mappings to swapper_pg_dir and zap them later or create own
swsusp PGD page solely for ACPI sleep needs - we have initial_page_table for
that.

Signed-off-by: Borislav Petkov <bp@xxxxxxxxx>
LKML-Reference:<20101020070526.GA9588@xxxxxxxxxxxx>
Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>


Attachment: pgp9i11w5ifne.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux