Sharing memory between ithread and userland

M. Warner Losh imp at bsdimp.com
Sun Feb 6 13:21:23 PST 2005


Have you marked the dev_status struct volatile so that the compiler is
forced to re-fetch from memory the values?  The example you provided
didn't have this...

Warner


More information about the freebsd-hackers mailing list