[lkml]   [2007]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.6.22-rc7: known regressions with patches v2

    On Sat, 7 Jul 2007, Christoph Lameter wrote:
    > What are these functions "malloc" and "free"? Would be good if those
    > would be using kmalloc_track_caller() so that we can figure out who called
    > them.

    There's not a lot of those around. Looks like it's probably one of

    init/do_mounts_rd.c:static void __init *malloc(size_t size)
    init/initramfs.c:static void __init *malloc(size_t size)

    both of which exist just because those things include "lib/inflate.c".

    It's probably do_mounts_rd.c, because initramfs.c defines malloc/free
    before the #include, and I would have expected gcc to just inline them in
    that case.

    That's probably the right thign to do in do_mounts_rd.c too, rather than
    adding any kmalloc_track_caller() stuff.

    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: 2007-07-08 01:43    [W:0.021 / U:31.484 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site