• L
    Use proper object allocators for unknown object nodes too · 2c1cbec1
    Linus Torvalds 提交于
    We used to use a different allocator scheme for when we didn't know the
    object type.  That meant that objects that were created without any
    up-front knowledge of the type would not go through the same allocation
    paths as normal object allocations, and would miss out on the statistics.
    
    But perhaps more importantly than the statistics (that are useful when
    looking at memory usage but not much else), if we want to make the
    object hash tables use a denser object pointer representation, we need
    to make sure that they all go through the same blocking allocator.
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: NJunio C Hamano <junkio@cox.net>
    2c1cbec1
object.c 5.1 KB