Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: [PATCH] fix oops from removing running dvb_net
Hi Emard, Hi Jon,
Jon Burgess wrote:
Emard wrote:
2.6 a more work is needed (can someone help me there
for the inspiration) to secure budgets on 2.6 because the budget-core
is loaded separately and MOD_INC_USE_COUNT gets bound to budget-core
and not to actual budget driver
...
Emard
You could get some inspiration from a patch I posted some time ago which
attempted to lock modules when the frontends where in use. In this patch
I passed the module reference from the card specific budget code to the
core in the ttpci_budget_init() call.
http://www.linuxtv.org/mailinglists/linux-dvb/2003/09-2003/msg00191.html
There were some problems reported with the patch not working on 2.4, but
I ran out of time and lacked the hardware to diagnose and fix the problem.
The intention of your patch was correct, but it seems as if nobody had
the time to fix the open issues. Using MOD_(INC|DEC)_USE_COUNT directly
is deprecated in 2.6 since this introduces race conditions. Emard, can
you please review Jon's patch, check the issues metioned in the mailing
list archive and try whether you can resolve the open issues?
Holger
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index