Re: [PATCH 9 of 20] ipath - char devices for diagnostics andlightweight subnet management

From: Bryan O'Sullivan
Date: Thu Mar 09 2006 - 18:50:15 EST


On Thu, 2006-03-09 at 15:26 -0800, Roland Dreier wrote:

> Similarly what protects against another process opening the device
> right after the ipath_sma_alive = 0 setting, but before you do all the
> cleanup that's after that?

This is fixed by the stuff I just did in response to your earlier
message.

> And what protects against a hot unplug of a device after the test of s
> against ipath_max?

We don't support hotplugged devices at the moment. If you're asking
whether an rmmod at the wrong time could cause something bad to happen,
I don't *think* so.

<b

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