From mboxrd@z Thu Jan 1 00:00:00 1970 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.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 7D41EC432BE for ; Fri, 23 Jul 2021 20:19:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5EF0460F26 for ; Fri, 23 Jul 2021 20:19:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231187AbhGWTjD (ORCPT ); Fri, 23 Jul 2021 15:39:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:58986 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbhGWTjC (ORCPT ); Fri, 23 Jul 2021 15:39:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A189A60ED7; Fri, 23 Jul 2021 20:19:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1627071574; bh=0BAO7UovvvSbaYafDUDdTwXZEq2gIph4eDBcdB5yieQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=d6DCfyTB0esEzQbIWFCeaUvfgjwA4lX8+8wNkEy2usvctfv4WVW3j2w1Uyd50o/a+ 8T1BPd2lB2f+833Rx9YjdKx+35W+Qg6L13oYLc0tpGhUBn/V+tuNEbAhsK7ZclSndD F9V2ely94T/BSrRzewRhufSwvzowyvkdPyYwdcVI= Date: Fri, 23 Jul 2021 13:19:32 -0700 From: Andrew Morton To: "Huang, Ying" Cc: Christian Borntraeger , Sean Christopherson , Yang Shi , Zi Yan , Linux MM , Linux Kernel Mailing List , Dan Carpenter , Mel Gorman , Gerald Schaefer , Heiko Carstens , Hugh Dickins , Andrea Arcangeli , "Kirill A . Shutemov" , Michal Hocko , Vasily Gorbik , Paolo Bonzini , kvm list Subject: Re: [PATCH] mm,do_huge_pmd_numa_page: remove unnecessary TLB flushing code Message-Id: <20210723131932.aa889158e9c8cd3ac089e8e5@linux-foundation.org> In-Reply-To: <878s1xaobl.fsf@yhuang6-desk2.ccr.corp.intel.com> References: <20210720065529.716031-1-ying.huang@intel.com> <0D75A92F-E2AA-480C-9E9A-0B6EE7897757@nvidia.com> <87lf5z9osl.fsf@yhuang6-desk2.ccr.corp.intel.com> <572f1ddd-9ac6-fb09-9a24-1c667dbd1d03@de.ibm.com> <878s1xaobl.fsf@yhuang6-desk2.ccr.corp.intel.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Jul 2021 08:03:42 +0800 "Huang, Ying" wrote: > Can you help to add the following text to the end of the original patch > description? > > " > The mmu_notifier_invalidate_range() in do_huge_pmd_numa_page() is > deleted too. Because migrate_pages() takes care of that too when CPU > TLB is flushed. > " Done.