[lkml]   [2000]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Calling current() from interrupt context
   Date: 	Tue, 10 Oct 2000 10:54:11 +0100 (BST)
From: Alan Cox <>

Having the stacks aligned also isnt good for the caches. If you are
bored some time instrument the cache lines that wake_up() touches
on a wake. Its very common to see most of them being on the same
line because each kernel thread waiting on the same event (eg poll
in apache) is at the same kernel and user stack depth.

Some of us actually have instrumented it :-) I added a coloring
mechanism to the task/kstack allocator on sparc64. It made no
noticable difference whatsoever to any real life measurement I

In my experiments I tried both L1 cache and L2 cache coloring.

David S. Miller
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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