lkml.org 
[lkml]   [2014]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [RFC][PATCH 0/5] arch: atomic rework
    Date

    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


    \
     
     \ /
      Last update: 2014-02-06 19:41    [W:2.247 / U:0.596 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site