lkml.org 
[lkml]   [2011]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 34/49] gma500: the GEM and GTT code is device independant
From
On Tue, Oct 18, 2011 at 5:45 AM, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
>> 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.

no, what I'm trying to avoid is having two virtual mappings to the
same physical page with different cache attributes. This is not
allowed on some architectures (like ARM)

BR,
-R


\
 
 \ /
  Last update: 2011-10-18 14:01    [W:0.107 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site