[Lguest] proposed patch for mmap'ed private block device

Eric Van Hensbergen ericvh at gmail.com
Thu May 22 22:32:37 EST 2008


On Thu, May 22, 2008 at 7:11 AM, Rusty Russell <rusty at rustcorp.com.au> wrote:
> On Thursday 22 May 2008 06:35:12 ron minnich wrote:
>> This is another proposed patch for block devices to have them use mmap
>> instead of file io.
>>
>
> I was thinking of something else: if we added an ioctl to throw away (parts
> of) page tables, you can mmap (assuming alignments work) reads directly into
> the guest.  ISTR Anthony Liguori speculating on something similar.
>

That sounds a bit nastier than one would like.  Of course I have an
immediate Pavlovian wretch response to any sentence containing the
word ioctl.

               -eric



More information about the Lguest mailing list