Re: [PATCH] UV: fix incorrect tlb flush all issue

From: Alex Shi
Date: Sun Sep 09 2012 - 22:08:56 EST


On 09/07/2012 03:10 PM, Jan Beulich wrote:

>>>> On 07.09.12 at 07:37, Alex Shi <alex.shi@xxxxxxxxx> wrote:
>> @@ -1113,7 +1114,10 @@ const struct cpumask *uv_flush_tlb_others(const struct
>> cpumask *cpumask,
>>
>> record_send_statistics(stat, locals, hubs, remotes, bau_desc);
>>
>> - bau_desc->payload.address = start;
>> + if (!end)
>
> So despite having made a very similar mistake on the Xen side,
> you're again not following your own code adjustments here:
> The indicator for a multi-page flush is not 'end' being zero, nor
> would it be okay to use the proper indicator (TLB_FLUSH_ALL)
> here. Instead, to yield correct code, you need to check for the
> range covering more than one page. Improvements to do finer
> grained flushing (if worthwhile on UV) could then be done on
> top of this.
>




Thanks for catching this typo. The patch was updated:
==========