netdev
[Top] [All Lists]

Re: [timers] net/sched/*

To: andrewm@xxxxxxxxxx (Andrew Morton)
Subject: Re: [timers] net/sched/*
From: kuznet@xxxxxxxxxxxxx
Date: Tue, 30 May 2000 21:18:57 +0400 (MSK DST)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <3933CC51.6B05CE93@uow.edu.au> from "Andrew Morton" at May 31, 0 00:12:33 am
Sender: owner-netdev@xxxxxxxxxxx
Hello!

> +/* REVIEWME: called from process context */

It is not essential. It is static timer.


> +/*
> + * REVIEWME: Called from process context.  I think del_timer_sync is safe 
> here
> + */
> +     del_timer_async(&q->wd_timer);
> +     del_timer_async(&q->delay_timer);

Alas. It is called under spinlock and cannot be synchronous.

This and all the rest must use (existing) reference counts.

It will be cleaned later, this code needs some cleaning in any case.

Alexey

<Prev in Thread] Current Thread [Next in Thread>