Re: [PATCH] pcmcia event thread. (fwd)

Tobias Ringstrom
2000-11-16T16:59:12Z

On Thu, 16 Nov 2000, David Woodhouse wrote:
>
> alan@lxorguk.ukuu.org.uk said:
> > Umm.. Linus drivers dont appear to be SMP safe on unload
>
> AFAIK, no kernel threads are currently SMP safe on unload. However,
> the PCMCIA thread would be safe with the patch below, and we could fairly
> easily convert the others to use up_and_exit() once it's available.
>
> Anyone using PCMCIA or CardBus with 2.4, even if you have a non-CardBus
> i82365 or TCIC controller for which the driver was disabled in test11-pre5,
> please could you test this? Especially if you have TCIC, in fact, because
> it's already been tested successfully on yenta and i82365.
>
> (pcmcia-dif-7). Linus, this is the full patch against pre5, including the
> incremental part I sent this morning.

I have finally managed to find time to test it, and after five minutes, I
must say that it looks very good. I was able to both plug and unplug
cards, and cardmgr did what it was supposed to do. If something bad turns
up, I will let you know.

I vote for inclusion! :-)

/Tobias

dmesg info:

Linux PCMCIA Card Services 3.1.22
options: [pci] [cardbus] [pm]
Intel PCIC probe:
Vadem VG-469 ISA-to-PCMCIA at port 0x3e0 ofs 0x00, 2 sockets
host opts [0]: none
host opts [1]: none
ISA irqs (scanned) = 3,4,5,7 polling interval = 1000 ms