Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

From: Christoph Hellwig
Date: Thu Jan 17 2019 - 04:02:52 EST


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.