[lkml]   [1999]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:54    [W:0.033 / U:2.696 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site