lkml.org 
[lkml]   [2003]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] __cacheline_aligned_in_smp?
From
   From: Rusty Russell <rusty@rustcorp.com.au>
Date: Tue, 14 Jan 2003 12:10:12 +1100

Hmm, you really want to weakly align it: you don't care if something follows it on
the cacheline, (ie. don't make it into an array, but it'd be nice if other
things could share the cacheline) in UP.

No, that is an incorrect statement.

I want the rest of the cacheline to be absent of any write-possible
data. There are many members in there which are read-only and thus
will only consume a cacheline which would never need to be written
back to main memory due to modification.

If you allow other things to seep into that cache line, you totally
obliterate what I was trying to accomplish.

I don't think there's a way of doing that short of using asm?

You really don't understand what I'm trying to accomplish.

I want alignment on cache line boundary, and I don't want anything
else in that cacheline.

Franks a lot,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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