[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110226105520.GA9700@htj.dyndns.org>
Date: Sat, 26 Feb 2011 11:55:20 +0100
From: Tejun Heo <tj@...nel.org>
To: Yinghai Lu <yinghai@...nel.org>
Cc: Ingo Molnar <mingo@...e.hu>, Ingo Molnar <mingo@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] x86,mm,64bit: Round up memory boundary for
init_memory_mapping_high()
On Sat, Feb 26, 2011 at 11:36:16AM +0100, Tejun Heo wrote:
> On Fri, Feb 25, 2011 at 07:08:40PM -0800, Yinghai Lu wrote:
> > + end_pfn = round_up(end_pfn, data->align>>PAGE_SHIFT);
>
> And now you're mapping beyond max_pfn without even noting the behavior
> change _anywhere_. What the hell? It's not like this point hasn't
> been brought up before. It has been mentioned _twice_ in this very
> thread. Come on.
Reading the code again, the range is capped by
mapping_work_data->start/end, so it won't go over max_pfn. I
apologize for the unwarranted rant about this part, but unfortunately
the rest of the complaints still stand.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists