lkml.org 
[lkml]   [2008]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/3] ia64: Call migration code on correctable errors v3
    On Fri, 9 May 2008, Russ Anderson wrote:

    > + local_irq_save(irq_flags);

    The page migration functions expect to be called in non atomic contexts
    since they use things like lock_page(). Can you just drop the irq disable?
    The spinlock should not be there either. Page migration serialize via
    the LRU. Pages that are to be migrated have to be taken off the LRU
    first. There is no danger of two threads trying to migrate the same
    page because the second one will not be able to take it off the LRU
    anymore.





    \
     
     \ /
      Last update: 2008-05-09 23:05    [W:0.018 / U:1.888 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site