lkml.org 
[lkml]   [2000]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Help in DSM design
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.514 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site