On Thu, May 17, 2007 at 12:47:20PM +0530, Bharata B Rao wrote:
> Ok, I wasn't aware that this rwsem had many concurrent readers. From whatever
> little I could see (during system boot and during kernel compilation with
> make -j), the number of concurrent readers very rarely touched 3 and was 1
> mostly. May be there are other concurrent readers of this sem. Any idea
> from where they could be coming from ?
Anybody reading from /proc/mounts? You do realize that on systems where
/etc/mtab is a symlink to /proc/mounts every df(1), etc. - anything that
wants to find out all mountpoints - will read through that file?
The whole point is that we need exclusion between those who modify
mount tree *and* between them and anyone who looks at the mount tree.
We don't need any exclusion between several processes that happen to
examine the current mount tree at the same time. And since those
are far more frequent than those who modify the tree...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]