lkml.org 
[lkml]   [1999]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Bug in knfsd unlink.
Date
>  1. have a user daemon make a system call periodically.
> 2. have a user daemon send a signal periodically
> 3. have the kernel call a subroutine periodically.
>
> To me 3. is the best solution, but I don't know how to set
> an alarm in the kernel.
>
> I'll keep looking.

#3 is easy to do, but raises other questions. Notably it needs to wake
something up not play with the cache from an interrupt, at least by
my reading of the code.

(See include/linux/timer.h) - init_timer/add_timer/del_timer.

net/appletalk/aarp.c has a good example of playing with timers
(aarp_proto_init etc)


Alan





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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