]> granicus.if.org Git - spl/commit
Add kpreempt() compatibility macro
authorNed Bass <bass6@llnl.gov>
Thu, 29 Aug 2013 03:08:03 +0000 (20:08 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 9 Oct 2013 20:52:55 +0000 (13:52 -0700)
commit3ecf2d2bb66b36917520c9b66154547f3510a66a
tree91245c8b3123958fb24044c4782b901e210937c2
parentdf2c0f18498d1c98e4f211fdb623376b18f18134
Add kpreempt() compatibility macro

This is needed for the Illumos #4045 write throttle patch.  It is used
in the arc eviction code to avoid blocking all arc activity by sitting on
arcs_mtx too long.

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