lkml.org 
[lkml]   [2012]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2012-08-23 18:41    [W:0.053 / U:0.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site