Re: Help in DSM design

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Sat Mar 04 2000 - 06:30:54 EST


Larry McVoy wrote:
>
> Cache line miss, around 200ns.

I know this is of-topic, but I read that cache-line ping-pong is a
problem for our spinlocks. Has anyone tried to move the spinlocks (*)
into a special page, and mark that page as "write-trough"?

It should be possible to add a new ELF section, and mark the global
spinlocks with __spinlockdata [like __initdata].

(*) I know that many spinlocks are located within other structures, but
some (important) spinlocks are not:

* kernel_flag
* tasklist_lock
* runqueue_lock
* global_bh_lock
* pagecache_lock
* pagemap_lru_lock
* inode_lock
* lru_list_lock
* hash_table_lock
* console_lock
* kmap_lock
* semaphore_lock [i386]
* tlbstate_lock [i386]

--
	Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:16 EST