[lkml]   [2006]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
    On Thu, 2006-08-17 at 17:31 +0400, Kirill Korotaev wrote:
    > > How many things actually use this? Can we have the slab ubcs
    > without
    > > the struct page pointer?
    > slab doesn't use this pointer on the page.
    > It is used for pages allocated by buddy
    > alocator implicitly (e.g. LDT pages, page tables, ...).

    Hmmm. There aren't _that_ many of those cases, right? Are there any
    that absolutely need raw access to the buddy allocator? I'm pretty sure
    that pagetables can be moved over to a slab, as long as we bump up the

    It does seem a wee bit silly to have the pointer in _all_ of the struct
    pages, even the ones for which we will never do any accounting (and even
    on kernels that never need it). But, a hashing scheme sounds like a
    fine idea.

    -- Dave

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-08-17 16:39    [W:0.032 / U:12.364 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site