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.
One avenue I explored was to start a kernel thread from the driver, I then implemented a semaphore to prevent any race conditions arising from concurrent read/writes to the same address space. I hoped that a child thread would be able to access the same area of memory.
Unfortunately this has not worked as I expected. I would appreciate any suggestions.