lkml.org 
[lkml]   [2009]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [GIT PULL v2] Early SLAB fixes for 2.6.31
    From
    On Mon, Jun 15, 2009 at 11:18 AM, Heiko
    Carstens<heiko.carstens@de.ibm.com> wrote:
    > I didn't look any deeper into this, but looks to me like doing something like
    > schedule_work() this early isn't ok.
    >
    > This is the conversion that leads to the crash:
    >
    > -               alloc_bootmem_low(sizeof(struct raw3215_info));
    > +               kzalloc(sizeof(struct raw3215_info), GFP_NOWAIT | GFP_DMA);
    >
    > Might be that I missed something. Maybe some special flag?

    Btw, you should not need to use GFP_NOWAIT anymore and GFP_KERNEL
    should be fine even during early boot.

    Pekka
    --
    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: 2009-06-15 11:13    [W:0.022 / U:119.108 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site