Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp339967rwn; Wed, 14 Sep 2022 22:21:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR5UlAJYVgyCig1nRcYQRoD6Gn61tqQ7f4LCFGpjZUwaOxrFfKQuveeXhAK3PpmCYW3S6EKw X-Received: by 2002:a17:907:763b:b0:77b:c559:2bcb with SMTP id jy27-20020a170907763b00b0077bc5592bcbmr15159908ejc.490.1663219298138; Wed, 14 Sep 2022 22:21:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663219298; cv=none; d=google.com; s=arc-20160816; b=rEFaoOdTp6krgQnE/VfWclMmqS17IpXMg3x02f4GsYS3u4Gt6FSZFNCeplZYd4gAvl suwCdQXObZLyjNKBTDqOo3L8Nk0eMnpOoRScV8YQLFId89p3RDDVLZ8MCjlrtYHTZSNP lvWFDPF3JSuAz4MoiZVE3TYKdD22vbZjc2dP7kuAvdO3x8dl4tfr27Hq6i0tEXq5KRb2 KRr+DpDIQU89wubibGUEVazOKMDxgaU4WC/MvaBO2Mj9zj/Hzf2kuv0jV8feouQIpnO7 tuY9CESmyGbnScpKevHhWXx+d9hNJS2qVWlPZ+sJUizrR7EylWqW7ZjO78rTo8MffsvQ JhHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=oyIUsk6sHUPZgVxXFtXQrzKmfZGdQ9Uug4BgQW8pjW4=; b=hpGJpBIK2nbkCZ7KivaWbhcUT9GXPHq4SrrEDo0FvAYlTMc6WFAp8i9KxXsIEUgDtg tAhfPPqOsv0ev1nHLFmQ5CbMkPe+x0eflfYjJd/7+nU5pfWQ9sadOF2H/33qLS9RS262 2fKZCITfYe30XVLvmqIrWCHiyvDzz6rasw0GHgRUeSqMUHYvkQURiGcq1n6VJeBRyDKv ExWCEfTJpdQEaUsvz2F1wean5ubpEnzVUjtYR3v5T642XvLedn6SFlbYaOh//4atIRN2 uR0agmJIQzLGtdeCBJCbZGzWW8XCCAF08lqUueiU0QFgD+e61FGb5cDPbATfA7sBQwiQ 7Lsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=vNFFy42G; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="45Dr8e/q"; 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=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c15-20020a170906170f00b00777a3557cdbsi10597869eje.952.2022.09.14.22.21.11; Wed, 14 Sep 2022 22:21:38 -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=@suse.de header.s=susede2_rsa header.b=vNFFy42G; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="45Dr8e/q"; 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=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229561AbiIOErp (ORCPT + 99 others); Thu, 15 Sep 2022 00:47:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbiIOErn (ORCPT ); Thu, 15 Sep 2022 00:47:43 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00542915DA for ; Wed, 14 Sep 2022 21:47:42 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id B1AF05C9DD; Thu, 15 Sep 2022 04:47:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1663217261; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=oyIUsk6sHUPZgVxXFtXQrzKmfZGdQ9Uug4BgQW8pjW4=; b=vNFFy42GO0d+iLV2boTsxMGM5d9oO6WnPxTRuNys6O9RSl5m6QTB8SlF+AjFqnwZXMK9LA Kp1d7/yy/8zo9AzFl879IfV2hzvrRhNmFUi2Ct/P2cQI7AOyFw88Cgh8XnzfLsgXxvGpsD 9HZDIAhplK/Dkx6JvSNzn8I8ZqJuWVo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1663217261; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=oyIUsk6sHUPZgVxXFtXQrzKmfZGdQ9Uug4BgQW8pjW4=; b=45Dr8e/qy9q8kjqsjkPxCa3Y/VdTI8y+qgP5QP59S4crqaCHHiT2W9aBxab+gIx4Hq4s7+ 1N9mRlU4J2QM6RCw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 5C207139B3; Thu, 15 Sep 2022 04:47:41 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id BOKoE22uImPnKwAAMHmgww (envelope-from ); Thu, 15 Sep 2022 04:47:41 +0000 Date: Thu, 15 Sep 2022 06:47:39 +0200 From: Oscar Salvador To: Miaohe Lin Cc: akpm@linux-foundation.org, david@redhat.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 04/16] mm/page_alloc: remove obsolete comment in zone_statistics() Message-ID: References: <20220909092451.24883-1-linmiaohe@huawei.com> <20220909092451.24883-5-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220909092451.24883-5-linmiaohe@huawei.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Fri, Sep 09, 2022 at 05:24:39PM +0800, Miaohe Lin wrote: > Since commit 43c95bcc51e4 ("mm/page_alloc: reduce duration that IRQs > are disabled for VM counters"), zone_statistics() is not called with > interrupts disabled. Update the corresponding comment. > > Signed-off-by: Miaohe Lin Reviewed-by: Oscar Salvador > --- > mm/page_alloc.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index 2deac2fe3372..c81f06d8a4f5 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -3671,8 +3671,6 @@ void __putback_isolated_page(struct page *page, unsigned int order, int mt) > > /* > * Update NUMA hit/miss statistics > - * > - * Must be called with interrupts disabled. > */ > static inline void zone_statistics(struct zone *preferred_zone, struct zone *z, > long nr_account) > -- > 2.23.0 > -- Oscar Salvador SUSE Labs