[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug#109519: pfinet crashs in tcp_close() because of missing schedule_tim
From: |
Moritz Schulte |
Subject: |
Bug#109519: pfinet crashs in tcp_close() because of missing schedule_timeout() |
Date: |
21 Aug 2001 23:26:28 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> writes:
> > Otherwise we would need to implement a
> > schedule_timeout() function. Linux' schedule_timeout() depends on a
> > lot of other functions, it can't be simply plugged into pfinet.
>
> The one you send me seemed to only on the schedule and timer
> interface.
and 'process_timeout':
> timer.function = process_timeout;
process_timeout() needs wake_up_process(), which is currently also not
in pfinet. wake_up_process() then needs add_to_runqueue(), which
e.g. uses the variable 'nr_running', which we only declare but don't
initialize. There's simply much from the Linux scheduling environment,
which is needed here, not available in pfinet. I guess, it would be
easier to implement the needed functionality 'native' than hacking
more and more from Linux scheduling/task managing into pfinet(?).
moritz
--
Moritz Schulte <moritz@chaosdorf.de> http://www.chaosdorf.de/moritz/
Debian/GNU supporter - http://www.debian.org/ http://www.gnu.org/
GPG fingerprint = 3A14 3923 15BE FD57 FC06 B501 0841 2D7B 6F98 4199