Re: hardcoded HZ in hub.c

From: David Woodhouse (dwmw2@infradead.org)
Date: Wed Nov 22 2000 - 06:47:38 EST


andrewm@uow.edu.au said:
> Ah. No, I don't think it would be polite to cause TTY hangup
> processing to be deferred for this long. I'd suggest that the policy
> be "scheduled tasks can't sleep". I guess kmalloc(GFP_KERNEL) is
> acceptable because the system is already running like a dog if this
> sleeps.

Oi! I specifically added that so I could queue tasks which can sleep.

Put a time limit on it if you must, but not one which prohibits the
existing usage by the PCMCIA socket drivers.

I'm beginning to think that I should have argued with Linus¹ when he told
me to make it a generic thing rather than calling it pcmcia_queue_task()

¹ "Blasphemy! He said it again!"

--
dwmw2

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



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:23 EST