Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp223446rwb; Mon, 26 Sep 2022 11:24:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Lv0560I5pAyFCLNGD6gffdZyET6uCGoR5xEOBoNxU4nJaVRaR/6qZdfKd1GbqRgYBtKZ5 X-Received: by 2002:a05:6402:440f:b0:435:2e63:aca9 with SMTP id y15-20020a056402440f00b004352e63aca9mr23397087eda.162.1664216695201; Mon, 26 Sep 2022 11:24:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664216695; cv=none; d=google.com; s=arc-20160816; b=azofCKbL2Xsd2cYLIMHTVjShGnGiT4xOROQOvzXZ/8Hi4u4rmb9C2IEI++cQJoD4dV rk5Lal2PN/d9oZcjVrYeXn7wNvLv6dEa9qU5ZHl5UP6/JBT+fQPRz9xlpN5nrSxAuAjJ Sc4SS5vRZ67/rfP+8DJe/nbYQephBHbR10bGg0G0daFuzkUyIzYHVGWevFQn95eqjBOS ES6qK6uC3CmMDL8HvLDtIn9KZ6f9XNdjFNk/fAS/8pODeC8eSVbgq0AMHbZGLw14MCI8 /oZPHQoEJ5usBwyVi1yKa/jHE7/qFzbYWeWEFI9exYOe/L+03wpY/3A1HizfzWrgt2oV Q15Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=TpZUQWxRgvsRBZ9B6zo0p7FzXoiaePpQxMiDDnNBgKQ=; b=oNnuS3ldxXb3KmS9zDvWMIZ2rlKgZC6SWtb/cJlu+c630vjJNUO3v4ZzOE/99aP1lr ivGX4MVSgmW5z5ZBIgsrDlCG6G+eA/l3khpB2fZpDMIQ35/0wZtMC4iq6aqmyDjKEAGa 4AAWGdndd8ILNIw3CeIZvtLmUAUXj9+ipgPPDMPT5Fns7P3zOcn0wM2ZYOOm3F6jvH3q osd1lxeoOUfcEKP+GT1Uh9ndqRISdY5O1GhYejSABtJWLXqwGyztI9EiyOTfMEmu9S/X 4VHnUD1EJBRLjcsgWs6pkRltEZMFUmr/j3QDWZXXNs+q/fPVydlRCQBznovYWsPR69U0 xQsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QPSqUe9U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h17-20020a05640250d100b00443e3fe60a0si16253191edb.622.2022.09.26.11.24.29; Mon, 26 Sep 2022 11:24:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QPSqUe9U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229926AbiIZRx7 (ORCPT + 99 others); Mon, 26 Sep 2022 13:53:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbiIZRxS (ORCPT ); Mon, 26 Sep 2022 13:53:18 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C12CD74CF; Mon, 26 Sep 2022 10:28:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AA1C2B80B91; Mon, 26 Sep 2022 17:28:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCD7FC433C1; Mon, 26 Sep 2022 17:28:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664213294; bh=TpZUQWxRgvsRBZ9B6zo0p7FzXoiaePpQxMiDDnNBgKQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QPSqUe9Ur/PUiiTJBtm8l0/4UZdPjkeotTSVg1TDe0LQs09d6EE9xqiO02aHRQn4J k5g56tuXXwqJkmYMMxkoPGFcZYnkqPDRk/Am3nfAKi7Pi9wecOHnuNy3ZdMuQKfe5c nxol9cbQ0D6apJIbIRD6Xo13sHw0pZC5ZcwMeZJxEx/a8BwUrYJ90z7k3HlxiMtcUt YPt/8rML1+1qoqY6l2Iv/s7RFc61Z/vF/gfJd0yLhF2b8TWUbPEiTwr6oUbmdB2V4j ed+vAxHyJ8a5G0ETuggC63KgqvqsoIB4FDaepGxXzi6YUmNKGqafq886belqPc5Sj8 yT0gbiHM+2kjg== Date: Mon, 26 Sep 2022 10:28:12 -0700 From: Jakub Kicinski To: Vasily Averin , Shakeel Butt Cc: Anatoly Pugachev , Michal =?UTF-8?B?S291dG7DvQ==?= , Andrew Morton , kernel@openvz.org, Linux Kernel list , linux-mm , Roman Gushchin , Vlastimil Babka , Michal Hocko , Florian Westphal , "David S. Miller" , Paolo Abeni , Eric Dumazet , cgroups@vger.kernel.org, Sparc kernel list , Thorsten Leemhuis , Linus Torvalds Subject: Re: [sparc64] fails to boot, (was: Re: [PATCH memcg v6] net: set proper memcg for net_init hooks allocations) Message-ID: <20220926102812.2b0696a7@kernel.org> In-Reply-To: References: <6b362c6e-9c80-4344-9430-b831f9871a3c@openvz.org> <20220918092849.GA10314@u164.east.ru> <20220921170259.GI8331@blackbody.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 26 Sep 2022 16:06:08 +0300 Anatoly Pugachev wrote: > On Wed, Sep 21, 2022 at 8:03 PM Michal Koutn=C3=BD wro= te: > > On Wed, Sep 21, 2022 at 05:44:56PM +0300, Anatoly Pugachev wrote: =20 > > > reverting this patch makes my sparc64 box boot successfully. =20 > > > > The failed address falls into vmmemmap region (per your boot log > > output). It looks like the respective page/folio (of init_net struct) is > > unbacked there (and likely folio_test_slab fails dereferencing ->flags). > > > > Would you mind sharing your kernel's config? > > (I'm most curious about CONFIG_SPARSMEM_VMEMMAP, I'm not familiar with > > your arch at all though.) =20 >=20 > mator@ttip:~/dmesg$ zcat config-6.0.0-rc6-00010-gb7f0f527dc3c.gz | grep V= MEMMAP > CONFIG_SPARSEMEM_VMEMMAP_ENABLE=3Dy > CONFIG_SPARSEMEM_VMEMMAP=3Dy >=20 > I do upload config and boot logs to > https://github.com/mator/sparc64-dmesg >=20 > building a new kernel version/releases as 'make olddefconfig && make -j' > current version of booted 6.0.0-rc6 is available as > https://github.com/mator/sparc64-dmesg/blob/master/config-6.0.0-rc6-00010= -gb7f0f527dc3c.gz Forgive my uniformed chime-in but Linus seemed happy with the size of -rc7 and now I'm worried there won't be an -rc8. AFAICT this is a 6.0 regression. Vasily, Shakeel, do we have a plan to fix this?