lkml.org 
[lkml]   [1996]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kerneld unloading time
Why can't modules have a call which resets there timeout back to 5 
minutes everytime they are used. e.g. every access other than an
ope/close calls a "module_touched()" inline function which resets the
unload timeout value. This doesn't want to happen in critical sections of
code, but surely those who have modules they need to keep loaded during
brief apparently unused periods can find some suitable reset access points.

I'd do this, but sound is practically the only module I use often.
(This is because I need to run a DOS init program in dosemu to set my
wavrider 32 souncard into Microsoft Sound System mode before the sound
probe will detect the card. - A very good use for modules)

Thanks.

.. . . . . . . . . . . . . . ..
:: : : Jon Burgess 01223-461907 : : ::
:: : jjb1003@cam.ac.uk : : ::
:: : : : : : : : : : : : : : ::


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.035 / U:2.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site