On Mon, Mar 08, 2004 at 08:28:55PM -0800, Ian Romanick wrote: | ... | - Implement the wait in the kernel. The driver calls a new swap ioctl | that takes the 'target' frame as a parameter. The kernel mainains a | queue of pending swaps that is checked each time a vblank interrupt is | handled. ...
This is essentially the implementation that I've seen used before. As you mentioned, it has to be modified somewhat to deal with gang-swapping. Allen ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel