Re: [RFC] [PATCH] Performance of del_timer_sync
From: Andrew Morton
Date: Tue May 11 2004 - 15:29:32 EST
Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> On Tue, May 11, 2004 at 01:11:37PM -0700, Andrew Morton wrote:
> > +int del_single_shot_timer(struct timer_struct *timer)
> > +{
> > + if (del_timer(timer))
> > + del_timer_sync(timer);
> > +}
>
> it's probably better named del_timer_singleshot given the name we gave
> to the other timer functions.
Nah, that's ungrammatical. del_timer_singleshot means "delete a timer in a
single-shot manner".
We have:
"add a timer"
"modify a timer"
"delete a timer"
"delete a timer synchronously"
"delete a single-shot timer"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/