Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1304083rdb; Fri, 1 Dec 2023 12:16:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5B7vARclEdG7HBUk9XsQHSfibABBog5rZn7ILkWIw6Ox+69j3hi/7ds9H18qKoce3XyiS X-Received: by 2002:a05:6a20:2451:b0:18b:90fc:c266 with SMTP id t17-20020a056a20245100b0018b90fcc266mr262884pzc.38.1701461793401; Fri, 01 Dec 2023 12:16:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701461793; cv=none; d=google.com; s=arc-20160816; b=eeJtnjMUAwPBnVYLoaeARkpLziicdxblVT2kp1fBstKi8a5JsvI3i/XcMKMO2S/nFZ Emr34aCLv9OeZCmsohzXSavm8jpD+S8TpxVD2NvUbS8Go0YMvezMxXDh5sM07ZKHItNE WJ0pSPQW1DiId3cGq0MVp/Vsk6jjyRKCbs7Ft/Vn0/43aSRfMmFC8+zx6nYwh5FbbTOP l2N7ogFH8S9Ec7GJVFeMWNTHyw4m/ClgF0Oc62YS88dM+wlWl6++rb/GIc0gh4a3eE6M WxaPvS9+bAHpnz4U6cOBJ5G4RwKSnFqs7TQPNA4CdKUcfzi/BGS9WFVZRQE3xuDQ7AtI 9agg== 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; bh=HTwMIv0YN01KwdFimGWzQtXz1FSaPBLeI4JwLDW8vzk=; fh=JXvmjRrRCzQ21CfEvVeswlP20TSe6OSjrywf5RAM9nw=; b=YcAzgL4fVj+QULQNOkco2moXFNw1pWpCJ0AvJiSTQBK/L6gjkso6gfoLfLjv+ggsqR XEE4M0/vZN+LxWM3DApgZNw9/ex7f8ZbHQgDWq9bB/p4IbBlmcnKUgqAemLcjVneVGGn 9mBDfsqtDoib8DGavOUOAmGnenjkNAztTvdVfqMFfoueW07OynQrLwQDQ1k8CRB5MrYc E1sTb+gI2nlfOSUe0p7cCgo+bBtmz9K5xYx7Ymt3FWBk0yiu8/2FFn0w+oN3hg1vozoD OMTIq7jd9WgCWslAqvuQ5aFbcgDODPCnFtVKt2X1kpAY9oMfTKl/4lt4osOd47MKm8u1 jYvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id k63-20020a632442000000b005bdfe7528c9si90655pgk.726.2023.12.01.12.16.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 12:16:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 91FF6807C550; Fri, 1 Dec 2023 12:15:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230417AbjLAUPI (ORCPT + 99 others); Fri, 1 Dec 2023 15:15:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230182AbjLAUPG (ORCPT ); Fri, 1 Dec 2023 15:15:06 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E06710C2 for ; Fri, 1 Dec 2023 12:15:13 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53012C433C9; Fri, 1 Dec 2023 20:15:12 +0000 (UTC) Date: Fri, 1 Dec 2023 15:15:35 -0500 From: Steven Rostedt To: David Hildenbrand Cc: LKML , linux-mm@kvack.org, Vlastimil Babka , Andrew Morton Subject: Re: [PATCH] mm/rmap: Fix misplaced parenthesis of a likely() Message-ID: <20231201151535.06c7aaaf@gandalf.local.home> In-Reply-To: <2d691c11-fa97-4f56-a4c4-c7f466c81d3a@redhat.com> References: <20231201145936.5ddfdb50@gandalf.local.home> <2d691c11-fa97-4f56-a4c4-c7f466c81d3a@redhat.com> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 01 Dec 2023 12:15:25 -0800 (PST) On Fri, 1 Dec 2023 21:06:22 +0100 David Hildenbrand wrote: > But > > > Cc: stable@vger.kernel.org > > stable, really? Why? > > > Fixes:fb3d824d1a46c ("mm/rmap: split page_dup_rmap() into page_dup_file_rmap() and page_try_dup_anon_rmap()") > > and does it even fix a real bug? As a performance person, who measures likely and unlikely results (the ftrace ring buffer was sped up by over 50% with strategically placed likely/unlikely annotation). I find this to be a real bug, and something I would want backported to the kernels we maintain in ChromeOS (which uses upstream stable kernels). -- Steve