Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp985541iob; Fri, 13 May 2022 18:37:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztKuoWCiJUDiuLzYpyAtQbBJoS0PEdGwqF5eENv96hAk3uHk8lcUanfy6szEt1BX1Jf9xs X-Received: by 2002:a5d:4703:0:b0:20a:def0:1182 with SMTP id y3-20020a5d4703000000b0020adef01182mr5884755wrq.304.1652492242843; Fri, 13 May 2022 18:37:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652492242; cv=none; d=google.com; s=arc-20160816; b=QtF9DAIzRy99p/nHlbq7rDztGTF6XScpXlsqx9Av+pHwx1fzfXkr5EuRF06KNMWyGU 5WgbJ452h7yIShSmIqlz7bInQy2+9WLYuILJp/+6x7Izl87ggBzp+xT0+LmCh/w6FQdW d9h0yHs7YZex2wjXidjkesKw6AgS+AbTnAl4adfnPOaOpCuad7eh3RvukQXwSwZ3n2J1 kGZ8jJifPs1Yie/TeBEqdgWbqLOGx24gN4BabXZMzeBjpz+yuKk5EsHX1fkxuCP8DwbI Q5gttLIFBNDQZQ6Xr0kqcZhwTzkHORUwhm27RPrJ9p+dyjEW0jFPOiZC2h0KWS4zV+qu ttNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=InGhDMkcup0GagnASVzgx+dKX2knJzd1xQg5+9fN/y4=; b=rGgtA225oT1QanIoFZaJYqNlppHvdbuK49GloCQ7XYsTFYnLXz297kOrqp56A4bePA CT6rQLmdS2iNcopZDgr0gtvs5G00yPYANC0kTJZ2GT2Yx/mhE7KKrywridsdp5VGk7iw AMn/4Awr4PV+YGxmqxrp4LC0FrmemL752fpaIkafhiCjB4bHXlOXmmMoKVbz4p8UJN1t goWw0hLOAqKWdA8M2VM4a5cU2SkUetz7UfdPOGHRRQXmjrYsXjer1rtGSIZa1sU/xMBw i8anU1N9H3nGK7i4Ix+eeLjHxEoOlXYK2FnkNSLlVzw/elCSG+7ncHzTZbQ6vI5d8FmG xvSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PvoRaUmp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x2-20020a5d4902000000b0020acef093d3si3376241wrq.920.2022.05.13.18.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 18:37:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PvoRaUmp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CE5D1416D15; Fri, 13 May 2022 17:04:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380128AbiEMMDP (ORCPT + 99 others); Fri, 13 May 2022 08:03:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380127AbiEMMDN (ORCPT ); Fri, 13 May 2022 08:03:13 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 903F861627 for ; Fri, 13 May 2022 05:03:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652443391; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=InGhDMkcup0GagnASVzgx+dKX2knJzd1xQg5+9fN/y4=; b=PvoRaUmp6VwZf9xb7R2ECWfuBUD9rruivi/DkXLe9R1V6VkCWZ5LsVJqZYSD2JKhODSG+P WJvNb87LAavHnUbidtLJluDQbN2vMJX2H0QoIP9bLlxTpL9aTbqpbe/hY8dgaJ2R1KZfgP Q2I/xk41bxzpRuIDTCR+HPk1FLqwTTI= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-659-PD7TkWPcOqiQJ1MogSbNkw-1; Fri, 13 May 2022 08:03:10 -0400 X-MC-Unique: PD7TkWPcOqiQJ1MogSbNkw-1 Received: by mail-wm1-f71.google.com with SMTP id p24-20020a1c5458000000b003945d2ffc6eso2847055wmi.5 for ; Fri, 13 May 2022 05:03:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=InGhDMkcup0GagnASVzgx+dKX2knJzd1xQg5+9fN/y4=; b=qGwjBP+ryA0EUL1DBJSNbLUnDyoJAfck2AkLAd50e95T0wl+NZe9oNZG8V0fF5GixW jQieMc0e2xMliRfrI3rUQCWE1KysMJtxoatAdE2FvCoSH7qr8vyjrumV7W+y6djfaCSN K313VBkDzoZ4kSo4903U0d2Qtrv5iXkEqxMnTSp7okYoq8shqbz0eRxyxCu//XVaVLCT na3+twbeK4SF/AUAX/j3odjmK8Iu7txTa4PffDoxEPkdaz53udq4J2EuD7HIBCT3kYAh tjgqaa4fn0cVqj3Cqr4sfZ1dGtyetjRUDIFPMbHBKeXnY5jcRCBR6v+O/gHFxO2BMdmR AoHg== X-Gm-Message-State: AOAM531KWL76cxxPV8aboFya5KS1X3aEc5whwkM0E4Po2YzC7X98XVhh GuSUHcjzyapQnt4OR+F+2xJjwrgS1WfLscX+QjftOgSLhzM2Sa1ITP0oO0xSPzIRAa3NfjnxQVz HPKgSjVy9kiDAC0+vpAihQm2K X-Received: by 2002:adf:e94d:0:b0:20c:d4d3:c696 with SMTP id m13-20020adfe94d000000b0020cd4d3c696mr3731607wrn.136.1652443389468; Fri, 13 May 2022 05:03:09 -0700 (PDT) X-Received: by 2002:adf:e94d:0:b0:20c:d4d3:c696 with SMTP id m13-20020adfe94d000000b0020cd4d3c696mr3731585wrn.136.1652443389232; Fri, 13 May 2022 05:03:09 -0700 (PDT) Received: from ?IPv6:2a0c:5a80:1306:2f00:be0e:91f7:c0a3:32f0? ([2a0c:5a80:1306:2f00:be0e:91f7:c0a3:32f0]) by smtp.gmail.com with ESMTPSA id l12-20020adfbd8c000000b0020c547f75easm1940208wrh.101.2022.05.13.05.03.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 05:03:08 -0700 (PDT) Message-ID: <55aaf618497e7d0d369f773723b12e5dcfbdd27d.camel@redhat.com> Subject: Re: [PATCH 4/6] mm/page_alloc: Remove unnecessary page == NULL check in rmqueue From: Nicolas Saenz Julienne To: Mel Gorman , Andrew Morton Cc: Marcelo Tosatti , Vlastimil Babka , Michal Hocko , LKML , Linux-MM Date: Fri, 13 May 2022 14:03:08 +0200 In-Reply-To: <20220512085043.5234-5-mgorman@techsingularity.net> References: <20220512085043.5234-1-mgorman@techsingularity.net> <20220512085043.5234-5-mgorman@techsingularity.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.1 (3.44.1-1.fc36) MIME-Version: 1.0 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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=unavailable 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, 2022-05-12 at 09:50 +0100, Mel Gorman wrote: > The VM_BUG_ON check for a valid page can be avoided with a simple > change in the flow. The ZONE_BOOSTED_WATERMARK is unlikely in general > and even more unlikely if the page allocation failed so mark the > branch unlikely. >=20 > Signed-off-by: Mel Gorman > Tested-by: Minchan Kim > Acked-by: Minchan Kim > --- Reviewed-by: Nicolas Saenz Julienne Thanks, --=20 Nicol=C3=A1s S=C3=A1enz