Re: Kernel-bound applications?

Jim Nance (jlnance@avanticorp.com)
Thu, 23 Jul 1998 15:48:45 -0400


On Thu, Jul 23, 1998 at 11:45:36AM -0700, Kirk Petersen wrote:
> > - direct copying from writing process to reading process. This would
> > require you to read the page tables of the reading process so you can
> > copy_from_user() to the physical pages of the reading process. You'll
> > need to pin down the reading process pages
>
> I was thinking about this method. For blocking reads and writes, it seems
> like it would work great. But since X uses non-blocking i/o, I didn't
> really look into it. Anyone want to comment further on the feasibility?

Do X clients typically use non-blocking I/O? I suspect that only the
server needs non-blocking I/O. If the clients block, this should be
enough to make it possible for you to do what you want (I think :-)

Jim

-- 
----------------------------------------------------------------------------
Jim Nance                                                 Avant! Corporation
(919) 941-6655    Do you have sweet iced tea?       jim_nance@avanticorp.com
                  No, but theres sugar on the table.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html