Re: RFC: Resource Management

Andrew Mileski (dmtech@magi.com)
Thu, 15 Feb 1996 15:11:03 -0500 (EST)


>Your scheme sounds nice, but I have one point of concern. Work is
>going on that will allow the sharing of pages between user and
>kernel space for doing I/O. Is this a problem for your API?
>How would one use it if say the following could occur...
>
>1) sys_write(char *buf, int length)
>2) lock *buf in memory, and mark COW
>3) dma_buf = VTOP(buf)
>4) Do DMA direct to buffer
>
>Thanks...
>/*%\ Philip J. Mucci | GRA in C.S. | Internet, The Last Free Media /%*\
>|%*| under Dr. Jack Dongarra | George Washington grew hemp! |*%|
>\*%/ http://www.cs.utk.edu/~mucci ===== HPC / PVM / Active Messages \%*/

I don't think this will be a problem.

I've been considering some sort of protection mechanism, but haven't
worked out the details yet. It will be a snap to add such protection
to resource allocations (another field in a structure).

-- Andrew E. Mileski --

-------------------------------------------------------
Located in Canada's Capital: Ottawa! (EST)
mailto:dmtech@magi.com http://www.magi.com/~dmtech/