Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2545419ybk; Mon, 18 May 2020 01:39:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnnvJOIwfCszmhsBGioZdLFFi8hVBwFBeNiffJ8C4sCxNt3lXNWWuHqZYTlP3R/tfmstrk X-Received: by 2002:a17:906:2b8a:: with SMTP id m10mr14405045ejg.183.1589791174555; Mon, 18 May 2020 01:39:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589791174; cv=none; d=google.com; s=arc-20160816; b=ty5CAww85m1yCpF2WNJxbJlpoyYaziAvHLodvM/7F19GapIrv1U9/7Kmoq/+YQxqj8 sRML7Hob5LU4d6BlfsCS0k76Ztts6yvOdmyYtD49AjJOfH9ZIqTnEw6ur+4Tr4KLOO6D xxTV3Q9wlyienglnyJhM3791FCxr2iyowbpWMuNI7HaO9Ksa2/v+MDoHT0Q2utau/cLS uxMhSdLFheVzXftgVwypB27ywU1sgz4Zm+2BLrTDJBtnjjYIMHOGv8+MKFfsjey9Pk6X SVjw3Fjmv4uPKNOKD1dfGxcN2yUt7r8Lht1xcqT8xZjXFXvzPliB+8Oq7HVCQvDPmYYz c2+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=hJuJOE6KsYfFgskKML4/XSqNxWn8h8Bvi2b8HWqIQyU=; b=VCsbfraQtW1+GgkU8irkH+hX1HqwRyug3z1OXCMEOmOUakeG4+s2DZ+KQyCpyPYysZ fL7Kue+JvZn2vK5uVhjY5o+ZXTiV93IIs5JbzDDGtZzxLGcJ0YbK369txNOnZC8lqtv9 Q6xw1D64Wfxk2ClsSRSp1YpQYB8fM36KYv6pkETBR35XJUnisX8I64bX6o3sM+KKJlT3 XEUddQarQny/OgPLWc30huGEIS1GqrcXmPFwxlQ2cdA2WbqmtHC1bCr7wu5ehmpg/+RK EwdaYmfKiLYsQrF+sAylqk1IYz2wf+7agNFytkV1CG1+1lz0ZegSFX50RxVZFc1+BLVW xinA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vnucEISV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q24si6537556eji.505.2020.05.18.01.39.11; Mon, 18 May 2020 01:39:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vnucEISV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726505AbgERIhV (ORCPT + 99 others); Mon, 18 May 2020 04:37:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:46008 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726454AbgERIhU (ORCPT ); Mon, 18 May 2020 04:37:20 -0400 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F2E9420657; Mon, 18 May 2020 08:37:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589791040; bh=GfXmtofJRfQqgkk4PPH1+7PyZDSRmTw8B2hV1RDSVGA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vnucEISVMAu27LDa3Z3ZP43l+qLnKsbUyeDD4giG5LhaX1hT2GQtLcG0CY3Vmscu7 bPTh6sWoUFyKZmuqsW6basXTJM9HrTrFMuHi6u4h8EAHPmA05vAEUOLn3KIHImAbg+ SYMhCfKSc/yx7xVejS5L4lnRF2aKAMWNJPd+LwjQ= Date: Mon, 18 May 2020 09:37:15 +0100 From: Will Deacon To: Guenter Roeck Cc: linux-kernel@vger.kernel.org, elver@google.com, tglx@linutronix.de, paulmck@kernel.org, mingo@kernel.org, peterz@infradead.org, "David S. Miller" , rppt@kernel.org Subject: Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables Message-ID: <20200518083715.GA31383@willie-the-truck> References: <20200511204150.27858-1-will@kernel.org> <20200511204150.27858-5-will@kernel.org> <20200517000050.GA87467@roeck-us.net> <20200517000750.GA157503@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200517000750.GA157503@roeck-us.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 16, 2020 at 05:07:50PM -0700, Guenter Roeck wrote: > On Sat, May 16, 2020 at 05:00:50PM -0700, Guenter Roeck wrote: > > On Mon, May 11, 2020 at 09:41:36PM +0100, Will Deacon wrote: > > > Now that the page table allocator can free page table allocations > > > smaller than PAGE_SIZE, reduce the size of the PMD and PTE allocations > > > to avoid needlessly wasting memory. > > > > > > Cc: "David S. Miller" > > > Cc: Peter Zijlstra > > > Signed-off-by: Will Deacon > > > > Something in the sparc32 patches in linux-next causes all my sparc32 emulations > > to crash. bisect points to this patch, but reverting it doesn't help, and neither > > does reverting the rest of the series. > > > Actually, turns out I see the same pattern (lots of scheduling while atomic > followed by 'killing interrupt handler' in cryptomgr_test) with several > powerpc boot tests. I am currently bisecting those crashes. I'll report > the results here as well as soon as I have it. FWIW, I retested my sparc32 patches with PREEMPT=y and I don't see any issues. However, linux-next is a different story, where I don't get very far at all: BUG: Bad page state in process swapper pfn:005b4 If you're seeing this on powerpc too, I wonder if it's related to: https://lore.kernel.org/r/20200514170327.31389-1-rppt@kernel.org since I think it just hit -next and the diffstat is all over the place. I've added Mike to CC just in case. Will