Re: [patch] reduce IPI noise due to /dev/cdrom open/close

From: Jes Sorensen
Date: Tue Jul 04 2006 - 04:32:29 EST


Arjan van de Ven wrote:
> On Tue, 2006-07-04 at 10:12 +0200, Jes Sorensen wrote:
>> Guess the question is, is there a way we can detect when media has
>> been
>> inserted without doing open/close on the device constantly?
>
> they could just keep the device open.... at least until media is
> inserted

Yup, I will see how much it requires to make it do that.

> also they should poll at most every 10 seconds; anything more frequent
> is just braindead...

But of course, then your camera's picture card isn't detected within a
microsecond of your inserting it into the cardreader! Really can't have
that!

Cheers,
Jes

-
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/