lkml.org 
[lkml]   [1999]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjectfree_page
    I'm reading the implementation of the buddy algorithm.
    I was wondering what happens if someone tries to free a block of order k
    while one
    of the buddies of order k-1 which make this block is already free and
    the other isn't.
    From the implementation, it seems to me that this will lead to an
    incorrect behaviour but I'm not sure of my interpretation.

    So I would like to know :
    Is this allowed ? Or should one make sure not to free already free
    blocks ?

    Thanks in advance.






    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:54    [W:0.024 / U:64.396 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site