Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp940223ybl; Wed, 21 Aug 2019 07:47:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqwaQRU3ZDXJTDhyd02HJwdIBmmfC63a71CZiYxLx6uyzmTYnx/sgkVVntTfu04H9lu9c9b7 X-Received: by 2002:aa7:8202:: with SMTP id k2mr36795727pfi.31.1566398828711; Wed, 21 Aug 2019 07:47:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566398828; cv=none; d=google.com; s=arc-20160816; b=wbpJCqk6CXoDg1mycHXRxspEHLsFRG7JjNnS2L1SKcooEzhEXl1OM7XamHoJBOMBUB Stp3XuIYmvdDK2qfhpnhOwfJaJRRAuaayLUc6Cs1J3AiReujjbSDMX2tGYbc/dc0JDee teLZjWM/JV44E8mzyMUNMIllwxSO95/Bm9AyY3H1ij2HdqETfVK5nPoU+xaysCyE9UmA Q9ytN+fS8pZtQxIBlE+7MeGMTDm89LjnFpGD5gwSU38dAawllzOXM0VwzeuNdW0+Or8j 9qEfk5q5R2/AcFyAZ0o2atD7CrXGL3P7N5mUR04p995jky3bAdRI76rqbc8Sj/+/+ovk X1bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=P5/ZWod6fAHXWUWrprOInsPqq0oUZgow3uUQibZVw8Y=; b=Ez2ZPj9PwUhXY6rYRDQnfdbqiTbHelEpN0Rls1un5FmV4Oh0+FlFqxhZ4k/hr5SUJK 4FcLu3Z7+lfVjRMvO7KkYw7Qygh1W4D7bl7X+2VZpx1BJtuwYo6FXR8Sm5JVQI4IL8PF dFDt+VzY/yRxPogiZBEO+kjITmPJxirTm8QmxwI/4U06x4X6IigtB797ZmOp1niBjTbV ahedt648PUPAO5qDb1WlkeUPMsMd7Y0VkinyCHaI8Rq3V7J0BTQ4yf7N/xE0Sza+Mo4I tUGZj1lcE/8MDYabMtEZYC2KVDOJBGFBnpW5Llwvrzaif3QOvavHmFWXakhzATlIBdr6 xZIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="FhDR6yl/"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 72si16279102pfx.268.2019.08.21.07.46.53; Wed, 21 Aug 2019 07:47:08 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="FhDR6yl/"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729547AbfHUOpx (ORCPT + 99 others); Wed, 21 Aug 2019 10:45:53 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:53482 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729373AbfHUOpx (ORCPT ); Wed, 21 Aug 2019 10:45:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=P5/ZWod6fAHXWUWrprOInsPqq0oUZgow3uUQibZVw8Y=; b=FhDR6yl/wOx357dfIqkd4iRMS lbPa7cQHtnNhLrpvGVKVIzSEOU5OD5851S775jhqytjk5D5lt0S3eyss/RUFaAlrAjqFs9oI+misK vni4mvVT9RppPtnmq/H3efqx52UccUrxQBM6Z8gqzj8m8TioTP8AydUH8rmN1e3tDJW78XI/xi82+ wZnSvSRd/JHou7xSZqJVqPrTJthEH8RUTJKo+iDIk05uRHk9Lk2ibLM/hg5Ma2zukE63NJ/tWgSAq sQmAGVFS6y6wTfRqccdScleOFikXP314flN1+FLqOecos5ZY6J4v8oeIHN4yl0QydDM7QUizB+O+s jGTHtPkvA==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1i0Rs0-0007h8-PC; Wed, 21 Aug 2019 14:45:52 +0000 Date: Wed, 21 Aug 2019 07:45:52 -0700 From: "hch@infradead.org" To: Atish Patra Cc: linux-kernel@vger.kernel.org, Albert Ou , Anup Patel , Palmer Dabbelt , "hch@infradead.org" , Andreas Schwab , Paul Walmsley , linux-riscv@lists.infradead.org, Allison Randal Subject: Re: [v2 PATCH] RISC-V: Optimize tlb flush path. Message-ID: <20190821144552.GB4925@infradead.org> References: <20190820004735.18518-1-atish.patra@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190820004735.18518-1-atish.patra@wdc.com> User-Agent: Mutt/1.11.4 (2019-03-13) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Btw, for the next version it also might make sense to do one optimization at a time. E.g. the empty cpumask one as the first patch, the local cpu directly one next, and the threshold based full flush as a third.