lkml.org 
[lkml]   [2010]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] Cachefiles, mpage_cleardirty addtition, west bridge related
Date

> From: dhowells@redhat.com [mailto:dhowells@redhat.com]

> David Cross <david.cross@cypress.com> wrote:

> > This patch adds the mpage_cleardirty function to the cachefiles >
implementation in the kernel.

> Ummm... How is this used by cachefiles? Nothing in this patch actually >
uses
> mpage_cleardirty().

This is used by the current west bridge driver in the linux-next tree,
marked as BROKEN at the moment. It is used in order to clear dirty pages
from the page cache for a specific file after it has been allocated. This
allows west bridge to transfer data from USB to storage directly without
requiring that the file data path go through the CPU. The easiest way to
think of this is that it allows for direct file based DMA. Please let me
know if you have any additional questions or concerns on this.
Thanks,
David


---------------------------------------------------------------
This message and any attachments may contain Cypress (or its
subsidiaries) confidential information. If it has been received
in error, please advise the sender and immediately delete this
message.
---------------------------------------------------------------


\
 
 \ /
  Last update: 2010-09-08 18:55    [from the cache]
©2003-2011 Jasper Spaans