[Cbe-oss-dev] [PATCH] axonram: 1st version
Christoph Hellwig
hch at lst.de
Fri Feb 16 04:41:18 EST 2007
On Wed, Feb 14, 2007 at 11:24:39PM +0100, Maxim Shchetynin wrote:
> > ... Btw, why do we need the character
> > device at all? We will get the same semantics opening the block device
> > using O_DIRECT or binding the raw driver to it.
>
> Some people are interested in having mmap().
blockdevices do support mmap. The current implementation is not optimal
for the axon ddr2 ram because it uses the page cache. And and me
brainstormed a little bit on irc, and it seems almost trivial to use
the xip infrastructure for mmap of block devices. This is my untested
patch for it:
http://verein.lst.de/~hch/use-xip-for-bdev-mmap
More information about the cbe-oss-dev
mailing list