Re: module mess in -CURRENT

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Thu Nov 14 2002 - 19:27:30 EST


Andrea Arcangeli wrote:
> 1msec still leave a reasonable window open IMHO. this problem would need
> sequence numbers updated atomically to be solved correctly without
> regard to the timing

I agree 100% - it would be nice to be correct instead of "usually
works".

Once you're talking about nanoseconds, you can have both: each time
you store an mtime, make sure the value is at least 1 nanosecond
greater than the previously stored mtime for any file in the
serialisation domain. If it is not, simply _wait_ for up to a
nanosecond until the value has advanced enough.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:35 EST