Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3021925ybi; Thu, 18 Jul 2019 19:27:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+jDwf6pBJFDtaHCQ9YiyIq5qqpp220hthtDGJmh+EHJ0axHGHCoQ6bn0WfK3d4PvxKXMK X-Received: by 2002:a17:902:aa8a:: with SMTP id d10mr54802003plr.154.1563503266248; Thu, 18 Jul 2019 19:27:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563503266; cv=none; d=google.com; s=arc-20160816; b=KGVKXAHW5arCX4kBdKcg7c4oJYWZhub+KBVfwbTwi/XG/d4m8VF88l0+YjXl8biTVw DtbriMv21pHMxUXscOLgmQDOXqVOU/9XaNtgFdXqgqbngqA/rB+mrr1G8ZU50DoaJcQS JZ9I+Tupas9xQ/ySEXNE9N+ySRfoTvNvNfA3WTDRBtVP9b5/SG8m3pcu940VP+osE50H TSR8hX65h0mWVmoK3CKXv54NNHC2jJrmtAMDbFsQNpU905C4xmmhaD+/KQm8usMfAfu4 068KAYziUQ384KbHQasJ2kbAdukgMKZTxvx0+nysNqsyp28+TOkiJ3CCtmUilUQJcTmY YXZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=sxqy0aVARx/svgd9lhuXKRMbkKbSw/ki/+TOz3RAFlw=; b=Y79oGapIOtlRLWu+ERCFPFgWRQ4Tz6F8/imu2ebXW9Nj2IbwReUPdoOUw2k/ytfBTV m0/ZwaYnsaI4FvPbBLrRnlw1+2hQdLqTUFUqYHlWabzmQ1evaYMr2M2omZXYp0b/p9JZ CYMAc06Cq0FfaquGdeALMEwmGENzvHEqSoky9Cg/9Any9PBmNxIYSTQFqmGhBI1m06UV oKKhAn6EeU/1MHFz9ojoDUFmXEnbpfkizy2YjifNxXSklS6ZrmxueKYJltE3bitRiF/y VoJWfAKa3Txkhoy/9tUJvDOVqwgK/48qJJhvpN/aYCdO3XNbv2zT0+hhlb1ao5kIwFcO n/fQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hpe.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c3si2291929pje.1.2019.07.18.19.27.30; Thu, 18 Jul 2019 19:27:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hpe.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726694AbfGSCZp (ORCPT + 99 others); Thu, 18 Jul 2019 22:25:45 -0400 Received: from mx0b-002e3701.pphosted.com ([148.163.143.35]:9650 "EHLO mx0b-002e3701.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726015AbfGSCZp (ORCPT ); Thu, 18 Jul 2019 22:25:45 -0400 Received: from pps.filterd (m0134425.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x6J2Ks5G001476; Fri, 19 Jul 2019 02:25:23 GMT Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) by mx0b-002e3701.pphosted.com with ESMTP id 2tu3mm0h9j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 Jul 2019 02:25:23 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g9t5009.houston.hpe.com (Postfix) with ESMTP id A588B6D; Fri, 19 Jul 2019 02:25:22 +0000 (UTC) Received: from [16.116.130.82] (unknown [16.116.130.82]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 5ED6A4C; Fri, 19 Jul 2019 02:25:21 +0000 (UTC) Subject: Re: [PATCH v3 8/9] x86/mm/tlb: Remove UV special case To: Nadav Amit , Andy Lutomirski , Dave Hansen Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Dave Hansen References: <20190719005837.4150-1-namit@vmware.com> <20190719005837.4150-9-namit@vmware.com> From: Mike Travis Message-ID: <54c082c5-ebee-8fd7-cf69-b8c15b60a329@hpe.com> Date: Thu, 18 Jul 2019 19:25:29 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: <20190719005837.4150-9-namit@vmware.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-19_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907190027 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It is a fact that the UV is still the UV and SGI is now part of HPE. The current external product is known as SuperDome Flex. It is both up to date as well as very well maintained. The ACK I provided was an okay to change the code, but please make the description accurate. On 7/18/2019 5:58 PM, Nadav Amit wrote: > SGI UV support is outdated and not maintained, and it is not clear how > it performs relatively to non-UV. Remove the code to simplify the code. > > Cc: Peter Zijlstra > Cc: Dave Hansen > Acked-by: Mike Travis > Suggested-by: Andy Lutomirski > Signed-off-by: Nadav Amit > --- > arch/x86/mm/tlb.c | 25 ------------------------- > 1 file changed, 25 deletions(-) > > diff --git a/arch/x86/mm/tlb.c b/arch/x86/mm/tlb.c > index 89f83ad19507..40daad52ec7d 100644 > --- a/arch/x86/mm/tlb.c > +++ b/arch/x86/mm/tlb.c > @@ -684,31 +684,6 @@ void native_flush_tlb_multi(const struct cpumask *cpumask, > trace_tlb_flush(TLB_REMOTE_SEND_IPI, > (info->end - info->start) >> PAGE_SHIFT); > > - if (is_uv_system()) { > - /* > - * This whole special case is confused. UV has a "Broadcast > - * Assist Unit", which seems to be a fancy way to send IPIs. > - * Back when x86 used an explicit TLB flush IPI, UV was > - * optimized to use its own mechanism. These days, x86 uses > - * smp_call_function_many(), but UV still uses a manual IPI, > - * and that IPI's action is out of date -- it does a manual > - * flush instead of calling flush_tlb_func_remote(). This > - * means that the percpu tlb_gen variables won't be updated > - * and we'll do pointless flushes on future context switches. > - * > - * Rather than hooking native_flush_tlb_multi() here, I think > - * that UV should be updated so that smp_call_function_many(), > - * etc, are optimal on UV. > - */ > - flush_tlb_func_local((void *)info); > - > - cpumask = uv_flush_tlb_others(cpumask, info); > - if (cpumask) > - smp_call_function_many(cpumask, flush_tlb_func_remote, > - (void *)info, 1); > - return; > - } > - > /* > * If no page tables were freed, we can skip sending IPIs to > * CPUs in lazy TLB mode. They will flush the CPU themselves >