[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111018114518.5610a8c2@lxorguk.ukuu.org.uk>
Date: Tue, 18 Oct 2011 11:45:18 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Rob Clark <rob.clark@...aro.org>
Cc: Hugh Dickins <hughd@...gle.com>,
Patrik Jakobsson <patrik.r.jakobsson@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Christoph Hellwig <hch@...radead.org>, greg@...ah.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 34/49] gma500: the GEM and GTT code is device
independant
> What troubles could you see for swap+uncached (or more likely,
> writecombine) pages?
That should never occur. I would argue the driver is responsible for
putting the cache state of the page back sensibly before it unpins it.
That's a simple enough rule and one I think all the drivers follow at
this point.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists