| To: | Dave Grothe <dave@xxxxxxxx> |
|---|---|
| Subject: | Re: RFC: PPP over X |
| From: | "Andi Kleen" <ak@xxxxxxx> |
| Date: | Thu, 10 Feb 2000 17:26:09 +0100 |
| Cc: | Matti Aarnio <matti.aarnio@xxxxxxxxx>, Ole Husgaard <osh@xxxxxxxxx>, Paul Mackerras <paulus@xxxxxxxxxxxxx>, Henner Eisen <eis@xxxxxxxxxxxxx>, hadi@xxxxxxxxxx, mostrows@xxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, axboe@xxxxxxx, markster@xxxxxxxxx, mitch@xxxxxxxxxx, ak@xxxxxxx, marc@xxxxxxx, bcrl@xxxxxxxxxx, Linux STREAMS <linux-streams@xxxxxxxxxxxxxxxxxx> |
| In-reply-to: | <38A2D8A4.6E1EBE52@xxxxxxxx>; from dave@xxxxxxxx on Thu, Feb 10, 2000 at 09:26:28AM -0600 |
| References: | <200002092333.AAA05339@xxxxxxxxxxxxx> <00021011490500.01926@xxxxxxxxxxxxxxxxxxxxx> <38A2B348.B07A7398@xxxxxxxxx> <38A2CCDD.3F9FACAE@xxxxxxxx> <20000210170459.Y26018@xxxxxxxxxxxxxxx> <38A2D8A4.6E1EBE52@xxxxxxxx> |
| Sender: | owner-netdev@xxxxxxxxxxx |
On Thu, Feb 10, 2000 at 09:26:28AM -0600, Dave Grothe wrote: > Matti Aarnio wrote: > > > On Thu, Feb 10, 2000 at 08:36:13AM -0600, Dave Grothe wrote: > > Without making a > > > trip up to user space the answer always has to be "can't be done." The > > > reason being that we can't configure our SNA code (STREAMS based) above > > > TCP while keeping the messages in the kernel. > > > > Yes you can. You can "simulate" user dataspace in kernel > > by doing: > > > > (from mm/filemap.c) > > This looks like a technique for writing to any old file system from inside the > kernel. What about the other direction. Do you have to set up a kernel > thread per > data stream and use a similar technique to "read" from the file system? Or > maybe one > could concoct an inside-the-kernel kludge to use poll(). You need a kernel thread to read/write TCP or UDP, because their socket layer requires process context. e.g. sunrpc does it this way for asynchronous NFS. Have a nice vacation, -Andi |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: RFC: PPP over X, Dave Grothe |
|---|---|
| Next by Date: | Question on i2.2 kernel ipv4 stack code, magicboiz |
| Previous by Thread: | Re: RFC: PPP over X, Dave Grothe |
| Next by Thread: | Re: RFC: PPP over X, Henner Eisen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |