rem: entry->mutex.semaphore_index = ( ((void *)entry - (void *)(hash_table->entrys ) )
add: entry->mutex.semaphore_index = ( ((void *)entry - (void *)(ht->entrys ) )
context: int init_entry_lock( struct s_table* hash_table, struct entry *entry ){#ifdef FAST_LOCK	init_lock(entry->mutex);#else	/* just advice which of the available semaphores to use;	   specifically, all entries are partitioned into as	   many partitions as number of available semaphors allows        */	entry->mutex.semaphore_set=entry_semaphore;	entry->mutex.semaphore_index = ( ((void *)entry - (void *)(hash_table->entrys ) )               / sizeof(struct entry) ) % sem_nr;#endif	return 0;}