Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1705389imu; Thu, 17 Jan 2019 01:47:27 -0800 (PST) X-Google-Smtp-Source: ALg8bN4Wfk5N4XarSkxdov9tXB0vn839QhGe00GUjy+mlT0LYe8V9zrEIhVF1rg+h8ec9e77nBNS X-Received: by 2002:a17:902:aa0a:: with SMTP id be10mr14122975plb.266.1547718447664; Thu, 17 Jan 2019 01:47:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547718447; cv=none; d=google.com; s=arc-20160816; b=mnI9WlUjptCLqATWCOPfFVMGnnWEB723ItO2b8YNRUBsracid7WgAwMe335lWS/uXK uJPM3ysc6AQH0dPpWubz4Cp8CW9rkow50DUPRvNH1eqAk8DKB0lteAlBLKF3UxTdCB9w P5lQEbqRCTWkiGd+P23rnEX2ym4kfSksMQQwhjFBn05nz+0lW7DNItDZNgLAt6kw1kGi XKlxgsSTsf0Pf0q4RvHcGYKkVGUw91FgxKRJ7x1EaoqW4/FEEgSHxXFrh01d44Xn/VNN AOFOC5AOy096lraciTz7B1yAc3yOgnYP8M3YpebzEdSLfVk0CTy4Q5h/GU4gz+YP+GPl mFDg== 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=XAoos3UGtKwWZX9H/mGqjf00n0NGLotPlsblsRqXSb4=; b=x68I5qZWJ/GIe1WWc3DCYvxX7z85k46o89e+V4lv/uV9O8ORo8DgXNs4l63cqIcf9o tBWJ+OwuxMBRgCHFvyNkeMmQgT9hlby5/wURnjgDLfDDcT5ScV3GqeIxApXPm1Pi0TUk TD0VHQ6AdaSePH05RpWUjRLHFfjT993pgzyzrjcwuexfIbHRZ0scD3K2LKwqkrwhzft1 Px82MR/Y0fOkjGI0fLueIKfHAWBEOUYXOBVL5NSX9VDqbI3wMjmPfQQnQ2NIzJYWjrys bg3dExjaNQqgPFNRSdNWAwwj0m7Q6hBYaL50awoLDo20qHhVZ5KPDp7oqLW6DXiJCYHe bU+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=YTu6rxWc; 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 p26si1193567pfj.244.2019.01.17.01.47.12; Thu, 17 Jan 2019 01:47:27 -0800 (PST) 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=YTu6rxWc; 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 S1727801AbfAQJCu (ORCPT + 99 others); Thu, 17 Jan 2019 04:02:50 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:56034 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725991AbfAQJCu (ORCPT ); Thu, 17 Jan 2019 04:02:50 -0500 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=XAoos3UGtKwWZX9H/mGqjf00n0NGLotPlsblsRqXSb4=; b=YTu6rxWc3FQhzcXk3EPBU7HLR OyTcM1f9sS+6kF4/dVoOiKp7CInaF4VTp0EiSmTfXRJQQ7/W/5jP8KonkowGVKrIqaMfiWeRU9je5 JdkFycpKIs5gVzdRP72xc0breLM7wMeHKOyDQwsHuHIKniHsaArS6313YXeXrat/4HSzD6OBn+TdG lK3d9GrluWcorLd5oSjaRJ+uhRR7MzmSPenrDm1V48o/T8q3VVbkGRvr0/INmLgsCX6p0kCXPAZ3p v9S1sckbTwakh55iMk1TPS/zJOgjwyk+EItRLxvtawaefglh4KMJYL0C1CwW/bPPIcnbWcd2xcXB7 3oo01m5Lw==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gk3ZU-0006xa-40; Thu, 17 Jan 2019 09:02:44 +0000 Date: Thu, 17 Jan 2019 01:02:43 -0800 From: Christoph Hellwig To: "Andrew F. Davis" Cc: Laura Abbott , Liam Mark , Sumit Semwal , Greg Kroah-Hartman , Arve =?iso-8859-1?B?SGr4bm5lduVn?= , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, dri-devel Subject: Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap Message-ID: <20190117090243.GA21651@infradead.org> References: <20190111180523.27862-1-afd@ti.com> <20190111180523.27862-14-afd@ti.com> <79eb70f6-00b0-2939-5ec9-65e196ab4987@ti.com> <99ca0b08-02bd-64fd-d43c-c330f0d11639@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <99ca0b08-02bd-64fd-d43c-c330f0d11639@ti.com> User-Agent: Mutt/1.9.2 (2017-12-15) 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 On Wed, Jan 16, 2019 at 10:17:23AM -0600, Andrew F. Davis wrote: > I wouldn't go as far as to remove them just yet.. Liam seems pretty > adamant that they have valid uses. I'm just not sure performance is one > of them, maybe in the case of software locks between devices or > something where there needs to be a lot of back and forth interleaved > access on small amounts of data? We shouldn't add unused features to start with. If mainline users for them appear we can always add them back once we've reviewed the uses cases and agree that they are sane and have no better solution.