Re: page fault scalability patch V11 [0/7]: overview
From: Linus Torvalds
Date: Fri Nov 19 2004 - 21:05:15 EST
On Fri, 19 Nov 2004, Christoph Lameter wrote:
>
> Note though that the mmap_sem is no protection. It is a read lock and may
> be held by multiple processes while incrementing and decrementing rss.
> This is likely reducing the number of collisions significantly but it wont
> be a guarantee like locking or atomic ops.
It is, though, if you hold it for a write.
The point being that you _can_ get an exact rss value if you want to.
Not that I really see any overwhelming evidence of anybody ever really
caring, but it's nice to know that you have the option.
Linus
-
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/