[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <13455.1189529837@redhat.com>
Date: Tue, 11 Sep 2007 17:57:17 +0100
From: David Howells <dhowells@...hat.com>
To: Jens Axboe <jens.axboe@...cle.com>
Cc: dhowells@...hat.com, Paul Mundt <lethal@...ux-sh.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Greg Ungerer <gerg@...pgear.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -mm] splice: Disable vmsplice on nommu.
Jens Axboe <jens.axboe@...cle.com> wrote:
> > > It's a bit of a sledge hammer... Since get_user_pages() appears to work
> > > on nummu, we can just disable the vmsplice-to-userspace bits and leave
> > > the (working) vmsplice-from-userspace in place.
> >
> > That sounds about right. I don't think you can do the latter without
> > an MMU, but I may be wrong about what it does.
>
> You mean the former? The latter is vmsplice() filling a pipe with user
> pages, using get_user_pages() to set them up. And that looks like it
> should work on nommu.
>
> The former is vmsplice() using mmap like functionality to map pages into
> a user vma.
Sorry, yes. The former.
David
-
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