Re: Buddy System bitmaps

From: alad@hss.hns.com
Date: Fri Jun 15 2001 - 00:14:25 EST


well... I doubt whether buddy allocator would take u to a situation where pages
0 and 2 are used and 1 and 3 are free...
try reading __get_free_pages in mm/page_alloc.c

Ramil.Santamaria@tais.toshiba.com on 06/15/2001 12:39:20 AM

To: linux-kernel@vger.kernel.org
cc: (bcc: Amol Lad/HSS)

Subject: Buddy System bitmaps

Hi,

For this scenario consider a set of 4 page frames.
Frames 0 and 2 are used while frames 1 and 3 are free.

The question is would the bitmap for order 1 be a 1 or 0 for this scenario.

I am not on the list so please cc me on your response.

Thanks in advance.

Ramil J.Santamaria
Toshiba America Information Systems
(949) 461-4379
(949) 206-3439 - fax
ramil.santamaria@tais.toshiba.com

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

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



This archive was generated by hypermail 2b29 : Fri Jun 15 2001 - 21:00:24 EST