[lkml]   [2006]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2.6.19-rc6] sparc: replace kmalloc+memset with kzalloc
    Yan Burman wrote:
    > Stefan Richter wrote:
    >> this ^, the old code and your update don't check for NULL return.
    > Both of this parts are done at early stages, so it is probably:
    > a) Impossible to recover from failure
    > b) If you run out of memory at this stage, you are probably in very big
    > trouble anyway
    > I could modify it to check and panic if the check fails.
    > Would that be better?

    I hope the domain experts answer this. (I have no recommendation but
    wanted to point out a potential, although unlikely, cause for trouble.)
    Stefan Richter
    -=====-=-==- =-== ==---
    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-11-24 20:17    [W:0.020 / U:40.868 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site