kmalloc: Fix address order in free list
The order is expected by the merger. Change-Id: I54338caaaa1a203ab5dd39a574a25aac324142a5 Fujitsu: POSTK_TEMP_FIX_46
This commit is contained in:
committed by
Dominique Martinet
parent
859e976348
commit
351fdead3b
@ -2105,17 +2105,10 @@ static void ___kmalloc_insert_chunk(struct list_head *free_list,
|
||||
if (next_chunk) {
|
||||
list_add_tail(&chunk->list, &next_chunk->list);
|
||||
}
|
||||
#ifdef POSTK_DEBUG_TEMP_FIX_46 /* kmalloc free_list consolidate bug fix. */
|
||||
/* Add tail */
|
||||
else {
|
||||
list_add_tail(&chunk->list, free_list);
|
||||
}
|
||||
#else /* POSTK_DEBUG_TEMP_FIX_46 */
|
||||
/* Add after the head */
|
||||
else {
|
||||
list_add(&chunk->list, free_list);
|
||||
}
|
||||
#endif /* POSTK_DEBUG_TEMP_FIX_46 */
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user