mirror_zfs/module/icp/core
Morgan Jones d9ad3fea3b 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 <behlendorf1@llnl.gov>
Signed-off-by: Morgan Jones <me@numin.it>
Closes #6239
2017-06-19 09:43:16 -07:00
..
kcf_callprov.c Fix spelling 2017-01-03 11:31:18 -06:00
kcf_mech_tabs.c Add missing *_destroy/*_fini calls 2017-05-04 19:26:28 -04:00
kcf_prov_lib.c Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
kcf_prov_tabs.c Add missing *_destroy/*_fini calls 2017-05-04 19:26:28 -04:00
kcf_sched.c Add kpreempt_disable/enable around CPU_SEQID uses 2017-06-19 09:43:16 -07:00