summaryrefslogtreecommitdiffstats
path: root/contrib/diff/lib/getopt.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2012-04-02 17:26:21 +0000
committerjhb <jhb@FreeBSD.org>2012-04-02 17:26:21 +0000
commitf021ea5434f592e3851c6ac7ba55f702497922a1 (patch)
tree089a7b044405029969ebb09261922e032495eb37 /contrib/diff/lib/getopt.h
parent17b84cf2382e9ad71907f9d8ce1ad2a7d692b6f6 (diff)
downloadFreeBSD-src-f021ea5434f592e3851c6ac7ba55f702497922a1.zip
FreeBSD-src-f021ea5434f592e3851c6ac7ba55f702497922a1.tar.gz
Further tweak the changes made in r233709. The kernel doesn't permit
sleeping from a swi handler (even though in this case it would be ok), so switch the refill and scanning SWI handlers to being tasks on a fast taskqueue. Also, only schedule the refill task for a CMCI as an MC# can fire at any time, so it should do the minimal amount of work needed and avoid opportunities to deadlock before it panics (such as scheduling a task it won't ever need in practice). To handle the case of an MC# only finding recoverable errors (which should never happen), always try to refill the event free list when the periodic scan executes. MFC after: 2 weeks
Diffstat (limited to 'contrib/diff/lib/getopt.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud