Re: Regarding Buddy Allocator
From: WANG Cong
Date: Tue Feb 08 2011 - 00:59:30 EST
On Mon, 07 Feb 2011 18:29:48 -0500, Sri Ram Vemulpali wrote:
> Can anyone point me to implementation of buddy allocator, with efficient
> data structures used. Thanks in advance.
>
> I am trying to get another thought or implementation on code.
You need to check mm/page_alloc.c, especially __rmqueue_fallback()
and __free_one_page().
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/