Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp262712ybm; Mon, 20 May 2019 15:51:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxC2olIjCfLNjwfpQlhJLmnluUWF/6PqBbJQ3V1v3GNr8/alFG8+DFu1MMzkgE0obConQoK X-Received: by 2002:a63:364f:: with SMTP id d76mr21764505pga.100.1558392698269; Mon, 20 May 2019 15:51:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558392698; cv=none; d=google.com; s=arc-20160816; b=IcGZU7Irmvz0reMeuwsziNhDuFTFQWrZcavzUGYXJtkNwH5nEUMMUbHrdnd29TeoYf B5XGoP58d6XiwhOcLsEPk9xQGIc1HuNmvOxtc5lKFAEFE5TB/fuKeVPQJUjEclv01Mzc RU14s8McDwf1Ko3iZidwey5dt/ZjC4Q6eqfYtuwy+EzcDeHZd/MmdNMYBjr3gmzJgcVr XUmWc1WLyFcY63/GFoyVv+MN0eBzHG8qJZX+QMkzfrn816SE4XRKocvb0mGk/eo52qnp pFKYoulUrRuxxrQyAFuFz2up8jGq/zxxRRcr6VT36GWKU6U99egKHe87+TPTIgiwQRfO OKaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=JdsKHMYCwyG79Y0zBeXDibY4PN9XKitXH09TAsiFZ+o=; b=00McSsvuwr0jVyNPKRjg2zSJFi5MSX7N7XnwLMqFwP28DtKAUwNv7XDkHxRME3h0Jz esqCGGso7aKRP9nUBCznSo1L62VwZcR6NMLFwlKGV/T+tnrjjEOFnA8zu3N6iPgNwb2K Hj7sVFkpXLX2JcakhpZrwy4FEah4witwrw+Trey7kbEcU9z8lsoMWHAC9/RA2kSSmSk1 eVEVUJ8y9jRuQDWk6lZd6hTe9v+WijRdP9N9gYiJS9Ak2uBLfPGTJfnF2HApEyIBVKCK JpBQVUCcZb8fbhn7h+uw8lAoP0A2gp1PUNopxZTv/+WcCG+rGfbo0UazwYxuYcZIE5VG Pp4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z70si1376738pgd.514.2019.05.20.15.51.23; Mon, 20 May 2019 15:51:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727144AbfETWs7 (ORCPT + 99 others); Mon, 20 May 2019 18:48:59 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:58900 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726478AbfETWs7 (ORCPT ); Mon, 20 May 2019 18:48:59 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::3d8]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 2E3EF12DAD571; Mon, 20 May 2019 15:48:58 -0700 (PDT) Date: Mon, 20 May 2019 15:48:55 -0700 (PDT) Message-Id: <20190520.154855.2207738976381931092.davem@davemloft.net> To: rick.p.edgecombe@intel.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, peterz@infradead.org, mroos@linux.ee, netdev@vger.kernel.org, sparclinux@vger.kernel.org, bp@alien8.de, luto@kernel.org, mingo@redhat.com, namit@vmware.com, dave.hansen@intel.com Subject: Re: [PATCH v2] vmalloc: Fix issues with flush flag From: David Miller In-Reply-To: References: <20190520200703.15997-1-rick.p.edgecombe@intel.com> <90f8a4e1-aa71-0c10-1a91-495ba0cb329b@linux.ee> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 20 May 2019 15:48:58 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Edgecombe, Rick P" 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.