Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp25142pxb; Wed, 30 Mar 2022 21:53:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxo39Xv19/MOHDk6QblUWmliUtMrjGO8Y+q/dx/lf3Va8OfuXVuPqJFcSLzhIBHH+Ij4M5+ X-Received: by 2002:a62:e215:0:b0:4fa:87f1:dc16 with SMTP id a21-20020a62e215000000b004fa87f1dc16mr3506605pfi.19.1648702379850; Wed, 30 Mar 2022 21:52:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648702379; cv=none; d=google.com; s=arc-20160816; b=UAApw3bGKDWYG1Bgl1ra1Vn6ZFaO0aB/gWg8JatBB/o1vfbJzu34DSNF9x/GeuCgWA zLwXERzmEzbiH1nWojjTHqrnpypKM1hIqmwvu8Xo3MksHzHIkXLY7CapTrSEb+4qtaDQ dwNIj1ohdnQwEuB6rTM6+P/du6+vsy5ieNwOyUE0mFeEIECPJFOHRNBvoOdUqUDsbDKY Wjqbv8pOS8wfUwzMnABbaAws7UadroFP8M+QUC1gGLo/+iKyS6DDrJ+XwzRlEHz1gIA3 gQ1VRRgChkwLH8NxAJVJqN39SM9HOA/Ctq+F+4kXpVhJUQSozhVJ1xOVAzMzdbEI4pMm F2pw== 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=tDgQSkHHiSrnRRl+XOyzOTrWuP6P/qs63lMjRlAlumA=; b=JzgH+eLNNbrv8REz4Azj0ZhL8LXuw5nwx2VPIskMcoGLcnKEIolPanP1Mw47b5lA0o 3h5SmtzgJlIBxoNHpTnNM/y2k3BoNeXskFYzL/4clSqAuF1k0l+LN8gvZ0jBKznnpiW/ 4I5kc6E70MqqTe3M9vAJlGwt+7K6XhRz5JwcZlL4Dimgn45YnUiVr1n+ISw1qvk9mXkh SVfBvaw3XpLE/VLhzsmm5iXyZ7b9ICgmlWRLMMkljl/HgBahRro2mOMR02sjk+l25Z5T E2A9QOAgHqUrvdUOmxyLlEiL0hFBRfFIzEAa6cWaI1LPJ4E5Y5wTwWlLLOxl3mVpYf7f oLQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=H1uwlNad; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id z21-20020aa791d5000000b004fa69c325d2si21631525pfa.253.2022.03.30.21.52.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 21:52:59 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=H1uwlNad; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E19D6125592; Wed, 30 Mar 2022 20:32:29 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351754AbiC3XGE (ORCPT + 99 others); Wed, 30 Mar 2022 19:06:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233874AbiC3XGB (ORCPT ); Wed, 30 Mar 2022 19:06:01 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D7B1377F2 for ; Wed, 30 Mar 2022 16:04:14 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id h11so29705142ljb.2 for ; Wed, 30 Mar 2022 16:04:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tDgQSkHHiSrnRRl+XOyzOTrWuP6P/qs63lMjRlAlumA=; b=H1uwlNadJ0WrOQDMcYJNfFurl6GqhsMtNqCvCiCYzwfrOZQovLUQdtOf10pbURXgQf pxrchutAbzYICc6R04Z6AaQzwmxoEta0W1oCaJa3CR9lP9R/CL+2buSY9c8mRTTeCOOt wKflnsZZ5GulJmTlUyXpc+Ybm951svaYxRDHo= 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=tDgQSkHHiSrnRRl+XOyzOTrWuP6P/qs63lMjRlAlumA=; b=dYz/y8TVfriGDXqX/csW207U8U8jAV+DrgBFXBmusZZ+DcJXtbDBhqKQztQ89T+ReM zXMWhRYVH8i9YQe0lvNKQ4xj5rovycqfHH4H/ghksE87jCDOz1shz/uMLeie6IZtpGCy 29w7ub9CabaGSd4rxuVUSxNkQX66XrkVCKqNJnerQYrCVFvTJ7PbjQlGlFmY+QhsgY1C D/0+0c8fA5LCf9jm73rMZ9JghFuDGPV8HuKJ7U0P0jjF0lHEx1jOhsPs0VyAMTzael79 B9nEoBK6VN+rjb2zyYLKsUHy1+XgAzpfWbbf1uDDJcUb0gl4He29Uk4pDsxNacdCJWCR 4fVg== X-Gm-Message-State: AOAM532ZuJB7O/e5H5QSYSnD8bKcDBcd1ENDYgF/5PoW+sL10nOf+J0v kzn3bMryhFd06AoC8X6aLdpqdkoQ3rjtpm1L X-Received: by 2002:a05:651c:a05:b0:249:8586:3f42 with SMTP id k5-20020a05651c0a0500b0024985863f42mr8488714ljq.349.1648681452486; Wed, 30 Mar 2022 16:04:12 -0700 (PDT) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com. [209.85.167.49]) by smtp.gmail.com with ESMTPSA id bq42-20020a056512152a00b00447431cc768sm2469467lfb.170.2022.03.30.16.04.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Mar 2022 16:04:10 -0700 (PDT) Received: by mail-lf1-f49.google.com with SMTP id p10so32514938lfa.12 for ; Wed, 30 Mar 2022 16:04:09 -0700 (PDT) X-Received: by 2002:a05:6512:3055:b0:44a:3914:6603 with SMTP id b21-20020a056512305500b0044a39146603mr8634944lfb.435.1648681449455; Wed, 30 Mar 2022 16:04:09 -0700 (PDT) MIME-Version: 1.0 References: <20220330221238.396357-1-zi.yan@sent.com> In-Reply-To: <20220330221238.396357-1-zi.yan@sent.com> From: Linus Torvalds Date: Wed, 30 Mar 2022 16:03:53 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] mm: page_alloc: validate buddy before check its migratetype. To: Zi Yan Cc: Steven Rostedt , David Hildenbrand , Vlastimil Babka , Mel Gorman , Mike Rapoport , Oscar Salvador , Andrew Morton , Linux-MM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Wed, Mar 30, 2022 at 3:12 PM Zi Yan wrote: > > Fixes: 1dd214b8f21c ("mm: page_alloc: avoid merging non-fallbackable pageblocks with others") Oh, btw - should this perhaps be backported further back than that alleged "fixes" commit? It does look like maybe the problem potentially existed before too, and was just much harder to trigger. That said, google doesn't find any other reports that look like Steven's oops, so maybe it really never happened and backporting isn't called for. Or possibly my google-fu is just bad. Linus