Re: [PATCH v4] sparc64: Reduce TLB flushes during hugepte changes

From: David Miller
Date: Fri May 20 2016 - 21:45:23 EST


From: Nitin Gupta <nitin.m.gupta@xxxxxxxxxx>
Date: Wed, 30 Mar 2016 11:17:13 -0700

> During hugepage map/unmap, TSB and TLB flushes are currently
> issued at every PAGE_SIZE'd boundary which is unnecessary.
> We now issue the flush at REAL_HPAGE_SIZE boundaries only.
>
> Without this patch workloads which unmap a large hugepage
> backed VMA region get CPU lockups due to excessive TLB
> flush calls.
>
> Orabug: 22365539, 22643230, 22995196
>
> Signed-off-by: Nitin Gupta <nitin.m.gupta@xxxxxxxxxx>

Looks good, applied and queued up for -stable.

Thanks for being so patient.