Re: [PATCH] uio/gen-pci: don't enable interrupts in ISR

From: Sebastian Andrzej Siewior
Date: Tue Aug 09 2011 - 07:43:54 EST


Michael S. Tsirkin wrote:
It seems to me that you could drop this "user block" thing
since you never change anything outside of this command register and it
does not stop the race.

I don't think so: if we did, we would lose userspace modifications to
other bits such as io enable, and there's no way to guess what their
values should be.

How so?

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