Re: [PATCH] raceless request_region() fix (was Re: Linux 2.6.0-test4)

From: Jeff Garzik
Date: Mon Aug 25 2003 - 17:00:53 EST


Is it a race if noone cares? :)

The code does

if (!request_region(...))
fail
touch hardware
release_region
if (!request_region(...))
fail

If the HIGHLY UNLIKELY event of another ISA driver claiming this region occurs, the system continues working just fine.

At the time, I was thinking that any further touching of the code should be converting it to a more pnp-like structure.

Jeff



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