• Austin Clements's avatar
    percpu safety policies and scoped pushcli/popcli around percpu access · d0b095e0
    Austin Clements 提交于
    These safety policies help ensure that an accessor does not migrate
    CPUs while accessing a percpu variable.  The "cli" safety policy only
    allows percpu variables to be accessed when interrupts are disabled.
    The "internal" safety policy leaves it up to the caller.  Not
    surprisingly, most current percpu variables use internal.
    d0b095e0
wq.hh 1.9 KB