[PATCH] arm64: mm: Fix NOMAP page initialization

Robert Richter robert.richter at cavium.com
Thu Dec 15 07:48:45 PST 2016


On 15.12.16 11:01:04, Yisheng Xie wrote:
> > I sent a V2 patch that uses pfn_present(). This only initilizes
> > sections with memory.
> hmm, maybe I do not quite catch what your mean, but I do not think
> pfn_present is right for this case.
> 
> IMO, The valid_section() means the section with mem_map, not section with memory.

Right, the section may be uninitialized with the present flag only.
valid_section() is better, this is also the pfn_valid() default
implementation.

Will rework. Thanks.

-Robert



More information about the linux-arm-kernel mailing list