lkml.org 
[lkml]   [1998]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: pre-2.1.132-2..
Date
Followup to:  <Pine.LNX.3.96.981218170746.9730W-100000@chiara.csoma.elte.hu>
By author: MOLNAR Ingo <mingo@chiara.csoma.elte.hu>
In newsgroup: linux.dev.kernel
>
> On Fri, 18 Dec 1998, Andrea Arcangeli wrote:
>
> > Since we just waste 64*4 byte in the struct, we could waste 16 more bytes
> > to be completly aligned I think...
>
> this we'd have to make it a runtime pointer. Even if we could fix it up
> compile-time, the .section solution i suggested is better because we will
> not waste 'partial buffers', we will tightly pack cache-aligned structures
> into a continuous chunk.
>

Don't need to do that, just pass __aligned__(()) unless the kernel
address *itself* isn't aligned. You're right about partial buffers,
though.

-hpa
--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables

-
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:46    [W:0.728 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site