On Fri, Jun 14, 2002 at 10:24:52PM -0000, Halil Demirezen wrote: [halil, your emails would be easier to read if you line wrapped at 72 characters. thanks] > everything is ok unless i use these block. in case i use with > semaphore, that is what i should when writing in shared mem, Paging > ooopss outcome. there is no problem with the compilation I'm not entirely sure what your problem is; I'm going to guess that the problem is actually with "when writing in shared mem, paging ooopses outcome" -- did you use memcpy, or direct assignment (=) or copy_to_user? Unless you used copy_to_user (or the function that is similar, but optimized for 1, 2, or 4 bytes, whose name I can never recall) then I'd wager this is the problem, and not the semaphore. Good luck -- http://immunix.org/
Attachment:
pgp00101.pgp
Description: PGP signature