Re: [PATCH v2] vmalloc: Fix issues with flush flag

From: David Miller
Date: Mon May 20 2019 - 18:51:27 EST


From: "Edgecombe, Rick P" <rick.p.edgecombe@xxxxxxxxx>
Date: Mon, 20 May 2019 22:17:49 +0000

> Thanks for testing. So I guess that suggests it's the TLB flush causing
> the problem on sparc and not any lazy purge deadlock. I had sent Meelis
> another test patch that just flushed the entire 0 to ULONG_MAX range to
> try to always the get the "flush all" logic and apprently it didn't
> boot mostly either. It also showed that it's not getting stuck anywhere
> in the vm_remove_alias() function. Something just hangs later.

I wonder if an address is making it to the TLB flush routines which is
not page aligned. Or a TLB flush is being done before the callsites
are patched properly for the given cpu type.