[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161215154845.GB8111@rric.localdomain>
Date: Thu, 15 Dec 2016 16:48:45 +0100
From: Robert Richter <robert.richter@...ium.com>
To: Yisheng Xie <xieyisheng1@...wei.com>
CC: Russell King <linux@...linux.org.uk>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
David Daney <david.daney@...ium.com>,
Mark Rutland <mark.rutland@....com>,
Hanjun Guo <hanjun.guo@...aro.org>,
James Morse <james.morse@....com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <linux-mm@...ck.org>,
Hanjun Guo <guohanjun@...wei.com>,
Xishi Qiu <qiuxishi@...wei.com>
Subject: Re: [PATCH] arm64: mm: Fix NOMAP page initialization
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
Powered by blists - more mailing lists