Subject: Re: gif can cause kernel to hang
To: Greg Troxel <gdt@ir.bbn.com>
From: Jeff Rizzo <riz@boogers.sf.ca.us>
List: tech-net
Date: 02/10/2004 11:23:42
On Tue, Feb 10, 2004 at 02:12:00PM -0500, Greg Troxel wrote:
>   OK, I'm slogging through figuring stuff out, and thus far, I've determined
>   that yes, gif_output and in_gif_output get called repeatedly for
>   a single packet.  I'd *like* to force __HAVE_GENERIC_SOFT_INTERRUPTS,
>   and I tried #undef-ing it in sys/arch/i386/i386/vector.S and
>   sys/arch/i386/include/types.h, but then I get a compile-time error:
> 
> Rather than try to turn that all off, I would change if_gif.c to
> require both that and e.g. GIF_USE_SOFTINTR, so that the system still
> has the soft interrupt _mechanism_, but that gif_output doesn't try to
> _use_ it.  This may well blow up in some way I don't grok, though.

Hm, yeah, I'll give it a shot, but I fear my lack of familiarity with
the kernel may be my undoing.  Plus, I left my 4.4BSD book at home!  :)

+j
-- 
Jeff Rizzo                                         http://boogers.sf.ca.us/~riz