[ILUG] Kernel Programming Question.

John Ronan j0n at tssg.wit.ie
Thu May 11 12:51:11 IST 2000


After succesfully hanging my machine several dozen time at this stage I've a
question. I'm playing with a PCI Development board at the moment, and for the
board I maintain "board" struct which I pass around a pointer to  in the
file->private_data pointer thus maintaining state information.  I have several
buffers and variables which I will be accessing from bottom_half handlers and
these can also be accessed from the device driver_write/read functions... what
is the best way to protect these buffers... 

Cheers

John

-- 
John Ronan <j0n at tssg.wit.ie>, +353-51-302411
Telecommunications Software Systems Group - WIT, http://www.tssg.wit.ie

Don't worry about avoiding temptation -- as you grow older, it starts
avoiding you.
                -- The Old Farmer's Almanac

=====================================================================




More information about the ILUG mailing list