Re: [PATCH 0/3] more threaded delta patches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 10 Sep 2007, Martin Koegler wrote:

> I noticed some other (potential) problem:
> delta_cache_size is not protected by locks, although it is modified by
> concurrent threads, eg:
> 	delta_cache_size -= trg_entry->delta_size

Yeah I know.  I was worried about the performance hit of additional 
locks initially, and it is not critical for the delta_cache_size 
variable to be perfectly accurate.  Locking doesn't appear to be the 
issue anymore, so it might be a good thing to do for delta_cache_size 
too.


Nicolas
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux