Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp701714iol; Thu, 9 Jun 2022 12:04:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzd7nlEsbm4O2Td8XPlA0+xF+Y9B+pW7AnDSyvTQ6FjBKNZ7HaX8aW5BEZjKj39dSakvmZx X-Received: by 2002:a17:906:9f1e:b0:711:d8bc:bbc6 with SMTP id fy30-20020a1709069f1e00b00711d8bcbbc6mr17714192ejc.266.1654801449453; Thu, 09 Jun 2022 12:04:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654801449; cv=none; d=google.com; s=arc-20160816; b=mJE2xfb0DHVKU2KqVUWf15ZpkpMl4bi1elnoDy+d7pdJxdgpFCuAijy+H+khcAHgtO /bT6Y/fP7OEntG+TijHZgmsgYnrPZUJWycs70HHZF54oEMogl2WMQUjywpXL/mr149nR VGOvwGwumIuBYYlXZIdVjNena2VQDsBtZgNDV/1w2gDNJBKKWEZDW7t3SxPxVfhzigmq q9BjMFDpAWJSWH9dy41NHi+r7LSvnbKtqFV0qWTw5x4KqQjhZEEJHzq6l9y3X7ioMqRu vLt3SQANl2PJonA6Umr+Mm31EFP/YcUgCt7BkeBHpQxTc2vy4EKrZaHzxfyfvVmvz9hn yN2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=b9oolEZCMKFW54fooG59c84yEUWgHZBbtR7AfCAYdYI=; b=PHefunosrnEtfbzDsC6pE5Ym+Ii5qOtVbxpjEgpCV0CglQigWiZmdP70WXQxeVplgQ oG1894rhetRsGw1m4booR4djga7dV/vgxOjzr8hwOFA9m4OU4dJR+/x4zNzkKDlymTFx pllD+w6PMUvtPpnqvSY7hxmIRsjszttikfi/AKLSdJTy6Q4pTeZBMhM51GvdLPZoO3lM f1jTvmzaZQLhBwMRsT58GZQLriI8C3/NgRZReTMpS91MP/zHk+Y93vrFEYKkZ2y54+SF zMp/w4kWq1LWRWRbzYdRcxjTyFzt2CzKVlCdITJHdcpbkoMqA87zeuhF0kuRcn34V5qu e1mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=X41D9Z1M; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs4-20020a1709073e8400b006ff49b183e9si23400713ejc.971.2022.06.09.12.03.34; Thu, 09 Jun 2022 12:04:09 -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=@google.com header.s=20210112 header.b=X41D9Z1M; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245530AbiFIRru (ORCPT + 99 others); Thu, 9 Jun 2022 13:47:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245571AbiFIRrs (ORCPT ); Thu, 9 Jun 2022 13:47:48 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 518FB2A3075 for ; Thu, 9 Jun 2022 10:47:47 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id e9so11444134pju.5 for ; Thu, 09 Jun 2022 10:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b9oolEZCMKFW54fooG59c84yEUWgHZBbtR7AfCAYdYI=; b=X41D9Z1M9z11lUWedCO5eNRFRapXlxPrsuECpK13PvOvf2i1VqGFPiimjY6gh8oGqa 7HbfsPGMpMPCFR49lDG9d9wCISozqdegH3GP7WkRN5d/3FvL7KAKpGG3rneRsYiCASfU ch6bjD6f9Nz1TEmXrL5N8RmhaZc9l6PQZdecdH12/5/rLoM5uGhhW3lbKW/DbeL2nM1g pfyhzA+c7lyHLYow3MzkHrR8Z262rXzMRhAuzarc7VQQklAckxSTD+KVDXMjlw9y65jM uB/nlOgdxjm86dKvsVqxi//096hBdFfWihztJAZ1SDFmxoQuPe+C7eKaEYHialep6Iko lXUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b9oolEZCMKFW54fooG59c84yEUWgHZBbtR7AfCAYdYI=; b=InjTiybxFwBfyefYJkwi28H6AlnDwFrfA6AKpsJk3oDtx8W6mXFDiOl1SfS6LBWR9P cq+ODWnUrgK+5qm3zVyvtJhPnDDWshC+8mOumQmnDyqHooW0V/4zpP8qjCTF6xz5sWPu OJyps6jpDB7yFLdMs6DkWVJBci/PPIkBnl/15IXaBPw+474RKBeNkBjCvTOR8P0oZU6h cwEYT1wm/cQnzB01s7CYlK2+SzKPmO/G8KTVJWpO0VudUjDRM/L0GacfgOJj1NPJwEsK ANff/mLFEsir64YjaAlGaaU+9NvKJLr6mcNpkLSy4JU/ie2GJv/1xOM1Reo98HOV0u4K zPSQ== X-Gm-Message-State: AOAM530vwLN2QVZUP2GKVRZbEk5bS0UdrKycRBB4gULat70Znc5neod6 tFj/s9po+AHJzbH5g70LhkiEOYJ6EpmmUUR2bCfp/Q== X-Received: by 2002:a17:90b:4a4e:b0:1e6:6757:d085 with SMTP id lb14-20020a17090b4a4e00b001e66757d085mr4470182pjb.207.1654796866625; Thu, 09 Jun 2022 10:47:46 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Shakeel Butt Date: Thu, 9 Jun 2022 10:47:35 -0700 Message-ID: Subject: Re: [next] arm64: boot failed - next-20220606 To: Roman Gushchin Cc: Naresh Kamboju , Linux-Next Mailing List , open list , regressions@lists.linux.dev, lkft-triage@lists.linaro.org, Linux ARM , linux-mm , Stephen Rothwell , Andrew Morton , Ard Biesheuvel , Arnd Bergmann , Catalin Marinas , Raghuram Thammiraju , Mark Brown , Will Deacon , Vasily Averin , Qian Cai Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Thu, Jun 9, 2022 at 10:27 AM Roman Gushchin wrote: > [...] > +struct mem_cgroup *mem_cgroup_from_obj(void *p) > +{ > + struct folio *folio; > + > + if (mem_cgroup_disabled()) > + return NULL; > + > + if (unlikely(is_vmalloc_addr(p))) > + folio = page_folio(vmalloc_to_page(p)); Do we need to check for NULL from vmalloc_to_page(p)? > + else > + folio = virt_to_folio(p); > + > + return mem_cgroup_from_obj_folio(folio, p); > +}