x86/mm: Add missing comments for initial kernel direct mapping
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Thu, 9 May 2013 15:57:42 +0000 (23:57 +0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 10 May 2013 10:00:35 +0000 (12:00 +0200)
commitcf8b166d5c1c89aad6c436a954fa40fd18a75bfb
treeb3bff1e70ada5a9c279a899f53b111ce4b1e038e
parent074d72ff57f65de779e2f70d5906964c0ba1c123
x86/mm: Add missing comments for initial kernel direct mapping

Two sets of comments were lost during patch-series shuffling:

  - comments for init_range_memory_mapping()

  - comments in init_mem_mapping that is helpful for reminding people
    that the pagetable is setup top-down

The comments were written by Yinghai in his patch in:

   https://lkml.org/lkml/2012/11/28/620

This patch reintroduces them.

Originally-From: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/518BC776.7010506@gmail.com
[ Tidied it all up a bit. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/init.c