On 11/02/2011 01:08 AM, Mathieu Desnoyers wrote: > * Lai Jiangshan ([email protected]) wrote: >> We can aggressively grow a ht, > > What allows us to state that agressive grow is OK ?
I mean, if compare to shrinking, growing can be agressive a little more, we can to do grow even the launching thread get old information. But if compare to growing, shrinking must be conservative a little more, if the launching thread find other thread are trying to grow ht, it means the launching thread got old information, it should stop to shrink. I think I should used "relativistic agressive". Thanks, Lai > > > missing space above. > >> + if (s <= count) >> + return; > > Keeping the behavior of size check (change to patch 2) will probably > affect this. Waiting for your new reply for the patch 2. > >> + >> + size = s; >> + } >> + } >> + >> __cds_lfht_resize_lazy_launch(ht); >> } >> -- >> 1.7.4.4 >> > _______________________________________________ ltt-dev mailing list [email protected] http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
