[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070102.162058.55482337.davem@davemloft.net>
Date: Tue, 02 Jan 2007 16:20:58 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: James.Bottomley@...elEye.com
Cc: rmk+lkml@....linux.org.uk, miklos@...redi.hu, arjan@...radead.org,
torvalds@...l.org, linux-kernel@...r.kernel.org,
linux-arch@...r.kernel.org, akpm@...l.org
Subject: Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all
that again
From: James Bottomley <James.Bottomley@...elEye.com>
Date: Tue, 02 Jan 2007 17:34:18 -0600
> Erm ... for a device driver, if we're preparing to do I/O on the page
> something must have made the user caches coherent ... that can't be
> kmap, because the driver might elect to DMA on the page ... unless
> another component of this API is going to be to make dma_map_... also
> flush the user cache?
The DMA map/unmap/sync performs the necessary cache flushes.
-
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