lkml.org 
[lkml]   [2007]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [00/17] Large Blocksize Support V3
    William Lee Irwin III wrote:
    >> What sort of strategy do you intend to use to speculatively populate
    >> the pagecache with contiguous pages?

    On Sat, Apr 28, 2007 at 12:50:26PM +1000, Nick Piggin wrote:
    > Andrew outlined it.

    I'd like to suggest a few straightforward additions to the proposal:

    (1) the interface to the page allocator tries to allocate N pages where
    (a) N is a power of 2
    (b) some effort is made to get contiguity
    (c) some effort is made to fall back to lesser contiguity
    (d) some effort is made to get N pages even with no contiguity
    (2) a corresponding group freeing interface to the page allocator
    (3) Pass the pages around in a list or similar so that O(1) instead of
    O(pages) splice operations under the lock suffice for passing
    them around. Dissecting compound pages outside locks helps.


    -- wli
    -
    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: 2007-04-28 05:19    [W:3.025 / U:0.436 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site