[lkml]   [2000]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: test13-pre5
    On Thu, 28 Dec 2000, Andi Kleen wrote:
    > On Thu, Dec 28, 2000 at 02:33:07PM -0800, David S. Miller wrote:
    > > Date: Thu, 28 Dec 2000 23:17:22 +0100
    > > From: Andi Kleen <>
    > >
    > > Would you consider patches for any of these points?
    > >
    > > To me it seems just as important to make sure struct page is
    > > a power of 2 in size, with the waitq debugging turned off this
    > > is true for both 32-bit and 64-bit hosts last time I checked.
    > Why exactly a power of two ? To get rid of ->index ?

    Most likely to minimise the number of cache misses needed
    to access a complete page_struct.

    Then again, I guess 48 bytes would _also_ guarantee that
    we never need more than 2 cache misses to access every
    part of the page_struct.

    And the memory wasted in the page_struct may well be a
    bigger factor than the cache misses on lots of systems...

    (time for another CONFIG option? ;))


    Hollywood goes for world dumbination,
    Trailer at 11.

    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:52    [W:0.020 / U:26.828 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site