Messages in this thread | | | Date | Fri, 15 Nov 2002 00:27:30 +0000 | From | Jamie Lokier <> | Subject | Re: module mess in -CURRENT |
| |
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/
| |