Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ACA9AC43467 for ; Fri, 16 Oct 2020 20:52:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 508412145D for ; Fri, 16 Oct 2020 20:52:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602881524; bh=6cgIkY9BV3WQpcASTGbr8AA9VcqZC5GqWDFa9DAP0Ww=; h=Date:From:To:Subject:Reply-To:List-ID:From; b=BWwt3TpeSNLYJiLgB0cABhhoRJUNh7aAtdh09r7wMNSaZBwDCbV0lpJtwXC03vkI9 3QJTTV/ctpTOwEAQTr+Qt8idzL39BheFWSg6MBHDIEM6AFzSdTFJ/ONDxZtVeSdtuK Stm0cnPaXbQ3sWuJeR7tqcLwCGk8BNRRJpfLzOuk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408216AbgJPUwD (ORCPT ); Fri, 16 Oct 2020 16:52:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:40750 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732579AbgJPUwD (ORCPT ); Fri, 16 Oct 2020 16:52:03 -0400 Received: from localhost.localdomain (c-71-198-47-131.hsd1.ca.comcast.net [71.198.47.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B33ED21D40; Fri, 16 Oct 2020 20:52:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602881522; bh=6cgIkY9BV3WQpcASTGbr8AA9VcqZC5GqWDFa9DAP0Ww=; h=Date:From:To:Subject:From; b=NvombyGRNz9C7DC7SGSU+q8cXkEhKRMO379Z7WmG5XD54WrtpZvR4QKqkItxHpmWt owhnd+5BMqKX3n5K1adCkkc2Ku941ae7OkF7zA7jaI2MYtMJ0PM25qdhV5f94xvdkn sdf2YV99MMYrqh4LS0MRUW7RZTyppRUh+9qsmp50= Date: Fri, 16 Oct 2020 13:52:01 -0700 From: akpm@linux-foundation.org To: alexander.h.duyck@linux.intel.com, david@redhat.com, mm-commits@vger.kernel.org, richard.weiyang@linux.alibaba.com Subject: [merged] mm-page_reporting-drop-stale-list-head-check-in-page_reporting_cycle.patch removed from -mm tree Message-ID: <20201016205201.Dx7_s-x1t%akpm@linux-foundation.org> User-Agent: s-nail v14.8.16 Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The patch titled Subject: mm/page_reporting.c: drop stale list head check in page_reporting_cycle has been removed from the -mm tree. Its filename was mm-page_reporting-drop-stale-list-head-check-in-page_reporting_cycle.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Wei Yang Subject: mm/page_reporting.c: drop stale list head check in page_reporting_cycle list_for_each_entry_safe() guarantees that we will never stumble over the list head; "&page->lru != list" will always evaluate to true. Let's simplify. [david@redhat.com: Changelog refinements] Link: http://lkml.kernel.org/r/20200818084448.33969-1-richard.weiyang@linux.alibaba.com Signed-off-by: Wei Yang Reviewed-by: David Hildenbrand Reviewed-by: Alexander Duyck Signed-off-by: Andrew Morton --- mm/page_reporting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/page_reporting.c~mm-page_reporting-drop-stale-list-head-check-in-page_reporting_cycle +++ a/mm/page_reporting.c @@ -178,7 +178,7 @@ page_reporting_cycle(struct page_reporti * the new head of the free list before we release the * zone lock. */ - if (&page->lru != list && !list_is_first(&page->lru, list)) + if (!list_is_first(&page->lru, list)) list_rotate_to_front(&page->lru, list); /* release lock before waiting on report processing */ _ Patches currently in -mm which might be from richard.weiyang@linux.alibaba.com are