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
=====================================================================
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!