Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again



From: Arjan van de Ven <arjan@xxxxxxxxxxxxx>
Date: Sun, 31 Dec 2006 10:27:22 +0100



However, it's not only FUSE which is suffering - direct-IO also doesn't
work.

for direct-IO the kernel won't touch the data *at all*... (that's the
point ;)

is it still an issue then?

It can be an issue with virtual caches if the "I/O" is done
using cpu loads and stores, but we should be handling that
with explicit flushing anyways.

The core of the problem is that ARM doesn't look for the user
mappings for anonymous pages when flush_dcache_page() is invoked.
I think as a temporary fix it could walk the RMAP list and
use that to find the user virtual mappings. Would that work
Russel?
-
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

  • Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again
    ... it's not only FUSE which is suffering - direct-IO also doesn't ... for direct-IO the kernel won't touch the data *at all*... ...
    (Linux-Kernel)
  • Re: DIrectIO using kernel buffers
    ... I'm using kernel 2.6.12. ... In general what I'm trying to do is use DirectIO with buffer which was ... will release them while the direct-io is using them, ... manually allocating individual pages at the time, ...
    (Linux-Kernel)
  • DIrectIO using kernel buffers
    ... I'm using kernel 2.6.12. ... I'm trying to improve the usb gadget file storage implementation by ... In general what I'm trying to do is use DirectIO with buffer which was ... will release them while the direct-io is using them, ...
    (Linux-Kernel)
  • DIrect-IO using kernel buffers
    ... I'm using kernel 2.6.12. ... I'm trying to improve the usb gadget file storage implementation by ... In general what I'm trying to do is use DirectIO with buffer which was ... will release them while the direct-io is using them, ...
    (Linux-Kernel)