aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMorgan Jones <[email protected]>2017-06-19 16:43:16 +0000
committerBrian Behlendorf <[email protected]>2017-06-19 09:43:16 -0700
commitd9ad3fea3bd0368b6af0b08ccc4de1b080e2bcb7 (patch)
tree8275909a37a01b0fa87f5ad906fb9950bc14fc3d /.github
parent0241e491a08ffa471a08ceaa0b0943999d775cbe (diff)
Add kpreempt_disable/enable around CPU_SEQID uses
In zfs/dmu_object and icp/core/kcf_sched, the CPU_SEQID macro should be surrounded by `kpreempt_disable` and `kpreempt_enable` calls to avoid a Linux kernel BUG warning. These code paths use the cpuid to minimize lock contention and is is safe to reschedule the process to a different processor at any time. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Morgan Jones <[email protected]> Closes #6239
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions