Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo

From: H. Peter Anvin
Date: Sun Jan 20 2008 - 00:55:58 EST


Miklos Szeredi wrote:
- for mount ID's use IDA (from the IDR library) instead of a 32bit
counter, which could overflow

IDAs tend to get reused quickly, which can cause race conditions. Any reason not to just use a 64-bit counter?

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