Re: [PATCH] MIPS: Flush huge TLB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Fri, Nov 18, 2011 at 10:46 PM, Ralf Baechle <ralf@xxxxxxxxxxxxxx> wrote:
> On Fri, Nov 18, 2011 at 09:15:39PM +0800, Hillf Danton wrote:
>
>> When flushing TLB, if @vma is backed by huge page, we could flush huge TLB,
>> due to that huge page is defined to be far from normal page.
>>
>> Signed-off-by: Hillf Danton <dhillf@xxxxxxxxx>
>
> It seems this patch is identical to
> https://patchwork.linux-mips.org/patch/2825/ which I've already applied?
>

Maybe you forget the following message:)

btw, I want to change
+			size = (end - start) >> HPAGE_SHIFT;
to
+			size = (end - start) / HPAGE_SIZE;

if it is not too late.

Best regards
Hillf

On Wed, Nov 16, 2011 at 10:52 PM, Ralf Baechle <ralf@xxxxxxxxxxxxxx> wrote:
> On Fri, Oct 14, 2011 at 09:09:37PM +0800, Hillf Danton wrote:
>
>> Subject: Flush huge TLB
>> From: Hillf Danton <dhillf@xxxxxxxxx>
>>
>> When flushing TLB, if @vma is backed by huge page, we could flush huge TLB,
>> due to that huge page is defined to be far from normal page.
>>
>> Signed-off-by: Hillf Danton <dhillf@xxxxxxxxx>
>> Acked-by: David Daney <david.daney@xxxxxxxxxx>
>
> I assume this 2nd version was actually meant to be applied, not just for RFC
> so I've queued it for 3.3.  But you better remove that RFC from subject and
> start a fresh mail thread when posting a patch to avoid confusion!
>
> Thanks,
>
>  Ralf
>



[Linux MIPS Home]     [LKML Archive]     [Linux ARM]     [Linux]     [Git]     [Photo]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

Add to Google Powered by Linux