diff options
author | jhb <jhb@FreeBSD.org> | 2012-04-02 17:26:21 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2012-04-02 17:26:21 +0000 |
commit | f021ea5434f592e3851c6ac7ba55f702497922a1 (patch) | |
tree | 089a7b044405029969ebb09261922e032495eb37 /contrib/diff/lib/quotesys.c | |
parent | 17b84cf2382e9ad71907f9d8ce1ad2a7d692b6f6 (diff) | |
download | FreeBSD-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/quotesys.c')
0 files changed, 0 insertions, 0 deletions