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

From: David Miller
Date: Tue Mar 29 2016 - 19:41:16 EST


From: Nitin Gupta <nitin.m.gupta@xxxxxxxxxx>
Date: Tue, 29 Mar 2016 14:11:14 -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>

You really need to put some more work into this, there are lots of
config variants you didn't even test.

See the kbuild robot replies...