[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50364FE5.1070608@citrix.com>
Date: Thu, 23 Aug 2012 16:44:37 +0100
From: Attilio Rao <attilio.rao@...rix.com>
To: Thomas Gleixner <tglx@...utronix.de>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"mingo@...hat.com" <mingo@...hat.com>,
"hpa@...or.com" <hpa@...or.com>, "x86@...nel.org" <x86@...nel.org>,
Stefano Stabellini <Stefano.Stabellini@...citrix.com>,
"konrad.wilk@...cle.com" <konrad.wilk@...cle.com>
Subject: Re: [PATCH v4 1/2] XEN/X86: Improve semantic support for x86_init.mapping.pagetable_reserve
On 23/08/12 16:46, Thomas Gleixner wrote:
> On Wed, 22 Aug 2012, Attilio Rao wrote:
>
>
>> - Allow xen_mapping_pagetable_reserve() to handle a start different from
>> pgt_buf_start, but still bigger than it.
>>
> What's the purpose of this and how is this going to be used and how is
> it useful at all?
>
(Just replying here as all the other your comments are derivative)
Looks like you are missing the whole point of the patch.
What the patch is supposed to do is just to "enforce a correct semantic
for the setup function" and not fix an actual problem found in the code.
This means that after the patch you know exactly what expect in terms of
semantic by the function and the callers will work following it.
Otherwise, what could happen is that if one day for a reason or another
begin start being different from pgt_buf_start this function will just
break silently, reintroducing the original problem in a different form.
I think this was clarified by the 0/2 but evidently you completely
missed it.
Attilio
--
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