Messages in this thread | | | From | David Howells <> | Subject | Re: [RFC][PATCH 0/5] arch: atomic rework | Date | Thu, 06 Feb 2014 18:25:49 +0000 |
| |
Is it worth considering a move towards using C11 atomics and barriers and compiler intrinsics inside the kernel? The compiler _ought_ to be able to do these.
One thing I'm not sure of, though, is how well gcc's atomics will cope with interrupt handlers touching atomics on CPUs without suitable atomic instructions - that said, userspace does have to deal with signals getting underfoot. but then userspace can't normally disable interrupts.
David
| |