lkml.org 
[lkml]   [2000]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    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 <ak@suse.de>
    > >
    > > 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? ;))

    regards,

    Rik
    --
    Hollywood goes for world dumbination,
    Trailer at 11.

    http://www.surriel.com/
    http://www.conectiva.com/ http://distro.conectiva.com.br/

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 12:52    [W:0.021 / U:91.020 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site