Re: [PATCH] f_op->poll() without lock_kernel()

From: kuznet@ms2.inr.ac.ru
Date: Sat Apr 22 2000 - 12:43:08 EST


Hello!

> non-default stuff in the first place. E.g. ->mmap() just looks wrong. Oh,
> well...

If it is wrong, then repair it. 8)

> For received packets, they just "appear" in the mmap'd area,

Actually, it is not only for IO. Mmap is (the only) legal method
to get any memory, directly mapped to user space. File offset
in this case is some internal "socket bus" address. It can
be used for all the sorts of things.

Alexey

-
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.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:21 EST