Re: MOD_INC_USE_COUNT

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 11 Nov 1997 14:07:16 +0000 (GMT)


> > if a debug option is set
> >
>
> True, but with the __attribute__(()) hack we could get compile-time
> checking, which would be both safer and eliminate the runtime cost.

Not really - your idea doesnt work across function calls by variable - which
the kernel is full of and implicit sleeps by page faults and the like

Alan