]> git.proxmox.com Git - mirror_zfs.git/commit
Add kpreempt_[dis|en]able macros in <sys/disp.h>
authorPrakash Surya <surya1@llnl.gov>
Fri, 24 Aug 2012 17:42:12 +0000 (10:42 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 24 Aug 2012 22:18:38 +0000 (15:18 -0700)
commit45324c7c419b70397cae31b9f2b90ca0a97c9d77
tree33099e4b128e9d9924d15220d976f54cce7338aa
parent08850eddcb128cbdca584255324d71dfee2ccba9
Add kpreempt_[dis|en]able macros in <sys/disp.h>

To support preempt enabled kernels in ZFS on Linux, there are a couple
places where the ZFS code needs to disable interrupts. This change adds
the Solaris preempt functions and maps them to the equivalent ZFS
functions, allowing the ZFS to make use of them.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #98
include/sys/disp.h