Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Can two different kernel modules gain access to the same area of memory from a call to ioremap_nocache() ?

I have a wireless driver, and a separate module, I would like the separate module to profile the noise values on the card, whilst the driver is still operating. Hence my question above.

share|improve this question
Why would you need a kernel module to profile the noise values? – gertvdijk Jan 28 at 16:10
Thanks for the question, the wireless driver is very complex, and to alter the periodicity of it calibrations might induce some unintended results. I would have to do this since it only does its calibrations for intervals that are much too long for my needs. Since I know exactly how to profile the device in a separate module, I am just curious to know if I can gain access to the same area of memory that the driver is working with. – Radagasp Jan 28 at 16:15
I have done a bit more research and I think my best bet will be to start a kernel thread from the driver, I could then implement a semaphore to prevent any race conditions arising from concurrent read/writes to the same address space. I am hoping that a child thread will be able to access the same area of memory. – Radagasp Jan 28 at 17:20

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.