Re: [PATCH v3 00/11] PCI core learns hotplug

From: Alex Chiang
Date: Mon Mar 09 2009 - 16:37:40 EST


* Vegard Nossum <vegard.nossum@xxxxxxxxx>:
> 2009/3/9 Alex Chiang <achiang@xxxxxx>:
> >> It reproduces reliably if I do this:
> >>
> >> $ while true; do echo 1 > /sys/bus/pci/devices/0000\:00\:00.0/remove; done
> >
> > I was going to ask for lspci -v output so that I could see what
> > device 0000:00:00.0 might be, but I was able to reproduce
> > something similar on my machine.
> >
> > Can I ask why you're doing the above with a while loop? Just to
> > torture the code? Or something else?
>
> Yes, purely for the purpose of torture ;-)

Ok, just checking. :)

> I also found one more use-after-free error using kmemcheck:
>
> Hope this helps :-)

Yes, thanks a lot!

I'll work on these. Thanks for the excellent bug reports.

/ac

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