Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.arcetri.astro.it/irlab/doc/library/linux/khg/HyperNews/get/khg/288.html
Дата изменения: Thu Mar 23 12:37:58 2000 Дата индексирования: Wed Sep 15 00:52:33 2010 Кодировка: Поисковые слова: п п п п п п р п р п р п р п р п |
Hi,
in my first kernel-related project, i want to copy data in the kernel from one process to another. I have the start point/size of the user-level buffers, but i found no way to do a _direct_ copy. The copy takes place in a write() call of a character device driver, the source/size is the write buffer/size, the destinition is a other process, currently blocking in its read method. Of course, i could do a kmalloc, copy to kernel, wake up the read, copy from the kmalloc'd area, kfree the area, but ... that is too much overhead. Any hints? Bye, JЭrgen
|