[lkml]   [2003]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch] 2.4 fix to allow vmalloc at interrupt time
    On Tue, May 13, 2003 at 02:11:12PM -0700, Matthew Jacob wrote:
    > This fixes a buglet wrt doing vmalloc at interrupt time for 2.4.
    > get_vm_area should call kmalloc with GFP_ATOMIC- after all, it's
    > set up to allow for an allocation failure. As best as I read
    > the 2.4 code, the rest of the path through _kmem_cache_alloc
    > should be safe.

    Try write_lock_irq(&vmlist_lock)/read_lock_irq(&vmlist_lock) and
    passing in a gfp mask with an alternative API etc. for the interrupt
    time special case. It's deadlockable without at least the locking bits.

    But it's worse than that, the implicit smp_call_function() means this
    is stillborn and infeasible period.

    -- wli
    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: 2005-03-22 13:35    [W:0.020 / U:51.712 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site