Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2567114ybk; Mon, 18 May 2020 02:20:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2Al1VgMf2jzFbh9bbgKvc7U3hXD/6sB7HhiRWM09NXhm+rBGEMI8pYBatb6bogpZYoPJA X-Received: by 2002:a17:906:aed2:: with SMTP id me18mr14748939ejb.283.1589793612044; Mon, 18 May 2020 02:20:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589793612; cv=none; d=google.com; s=arc-20160816; b=FO0H7kuEOyjVVk0bR6s8/3bmNsakcTGxZXmxUj7bvBbQyKw1voLvhuN1uuXN+W5exg yEj7XU5IHSWlKw7P/Jqvjmw+hmoHbX1nif+lHwdUCfBkjkD2us36sBhNTjvxXOhKIL/N WgGRb0R7zUIidhgytTDd9a1jtEwJ6RbN26EOoBiaMS/N1G3sa7KLYqI0vgIjTOgkhtSW 5SDGl1ced97OLdale75/woDxJy5VE45u6O9gSuuiSU65QvCEaur1dQjiP3NuYWtROahk R88KyTVW8NyxBvy2/xlt3oeLYbYFf5aQS+wxa2Dq16t8hE/HmX8zoLc9Q9tD94SM8nR/ GlFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ySNcAEvsZ/SFt2fg9npuyPMAgLAMm87dr/Dzhs5EIFM=; b=aD3wR6sk3yc4Xw52h0z+qNuxSbcFviIVPyuE2QfnBGdQn08Io+hD2B+zfqA0ff1pRh rCP2yRJfwg5lgNkmSMTT2SwnLVP3GiZfYHd7ZqD4oVSq71smqg2OM4BvhOt28K/lUh5F TC+iLqwuLG1LGP7U05km+5cRTgGOJ3qW/lqdOROPWuMGI+np1xyPxpvAX4XzmlokCRap okJUA9mQ7ovnrAwY5wTExB3U+jazVjVP8OwR+u2Xt4jTGSXAkL8KIlwfSNTLdaVH6WK1 kHCi5wTbjBe0vvD2J95qpT8iWeOv30EI00zsqqsKvcM+Bl9bWyvJxNx6SrpthrWT8uVE bO1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vfdf64Mj; 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 r24si5938066ejz.304.2020.05.18.02.19.48; Mon, 18 May 2020 02:20:12 -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=vfdf64Mj; 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 S1726545AbgERJSQ (ORCPT + 99 others); Mon, 18 May 2020 05:18:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:58856 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbgERJSQ (ORCPT ); Mon, 18 May 2020 05:18:16 -0400 Received: from kernel.org (unknown [87.71.47.117]) (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 7589B20643; Mon, 18 May 2020 09:18:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589793495; bh=vspP1UlkLkB/JOB38JTRPvKN/7nlnibhBIT98ITQ3lU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vfdf64MjvNL9DCh3shYDOVNCelvO9k5qgFnbkaxnR8CSLafylND93fl4SPC090Ssx lXfNFdN1PlH2g/dyjYg825Qq/jLIopm9sZB3QX0TXj9AkpwseV+4rnot/t4CrE2YEL jKieBIbULKqfz91L4Op8g2B/VKTZ+vlYF/sTSX3c= Date: Mon, 18 May 2020 12:18:07 +0300 From: Mike Rapoport To: Will Deacon Cc: Guenter Roeck , linux-kernel@vger.kernel.org, elver@google.com, tglx@linutronix.de, paulmck@kernel.org, mingo@kernel.org, peterz@infradead.org, "David S. Miller" Subject: Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables Message-ID: <20200518091807.GB1118872@kernel.org> References: <20200511204150.27858-1-will@kernel.org> <20200511204150.27858-5-will@kernel.org> <20200517000050.GA87467@roeck-us.net> <20200517000750.GA157503@roeck-us.net> <20200518083715.GA31383@willie-the-truck> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200518083715.GA31383@willie-the-truck> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 18, 2020 at 09:37:15AM +0100, Will Deacon wrote: > 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. Thanks, Will, I'll take a look. > Will -- Sincerely yours, Mike.