Re: [RFC 2.6.19 1/1] fbdev,mm: hecuba/E-Ink fbdev driver v2



On 12/22/06, Franck Bui-Huu <vagabon.xyz@xxxxxxxxx> wrote:

Well thinking more about it, this wouldn't work for all cache types.
For example, if your cache is not a direct maped one, this workaround
won't work. So this is definitely not a portable solution.


From asking peterz on #mm, I think page_mkclean will do the right
thing and call something like flush_cache_page. I think that resolves
the issue which I think you identified where the end symptom on archs
with virtually tagged caches could be a line of pixels written by
userspace through one PTE remain in-cache and therefore "undisplayed"
when the kernel reads through another PTE that may fall on a different
cacheline.

Thanks,
jayakumar
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • [BUGFIX]{PATCH] flush icache on ia64 take2
    ... This is a patch for fixing icache flush race in ia64by implementing ... This patch guarantees cache is flushed before set_ptecall. ... Update PTEP with ENTRY, which is guaranteed to be a less ... Clear the pte entry and flush it first, ...
    (Linux-Kernel)
  • Re: Flush SMB Cache on Windows Vista?
    ... I don't think that would be a viable workaround for us. ... the SMB cache on Windows Vista when SMB 2.0 is used for Windows ... Call _access or GetFileAttributes. ...
    (microsoft.public.win32.programmer.networks)
  • Re: Flush SMB Cache on Windows Vista?
    ... fileserver, but I imagine similar behavior would occur in Win2008 if there aren't enough CALs installed on the server. ... I don't think that would be a viable workaround for us. ... the SMB cache on Windows Vista when SMB 2.0 is used for Windows ... Call _access or GetFileAttributes. ...
    (microsoft.public.win32.programmer.networks)
  • Re: [PATCH 1/3] mm: tracking shared dirty pages
    ... including some stuff that marks the PTE dirty... ... Firstly I use page_mkwriteto make sure that the page is written to the cache ... modify PTE ... invoke set_page_dirty ...
    (Linux-Kernel)
  • Re: Deployed Support
    ... Some hosts also cache pages ... One other workaround is to make the browser think you are passing a variable in your links ... We push out updates for our website but the ...
    (microsoft.public.frontpage.programming)