lkml.org 
[lkml]   [2004]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: who is merlin.fit.vutbr.cz?
At 3/29/2004 03:32 PM +0200, Tomasz Rola wrote:
>BTW, if I understand correctly, to read something from the tree one
>doesn't really need to lock it. Only writes should be locked.

Locking on reads prevents getting a copy of the tree with half of someone
else's changes that were written during your read. That gets more likely
as the time it takes to read the entire tree increases.

--
Jeff Woods <kazrak+kernel@cesmail.net>

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

\
 
 \ /
  Last update: 2005-03-22 14:02    [from the cache]
©2003-2011 Jasper Spaans