Re: [PATCH] Updated Commentry Patches

From: William Lee Irwin III (wli@holomorphy.com)
Date: Thu May 16 2002 - 23:47:48 EST


> 2.4.19pre8_page_alloc_commentry
> http://www.csn.ul.ie/~mel/projects/vm/patches/2.4.19pre8_page_alloc_commentry
> This extends the documentation on page_alloc.c to describe how the buddy
> allocator works

One way to describe the bit toggling behavior is saying that each page
has a "virtual bit", the bit present in the bitmap is the xor of the
"virtual bits" of the two buddies, and the buddy's bit is recovered by
xor'ing with the bit of the page we're examining, which is known from
the entry point.

Cheers,
Bill
-
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 : Thu May 23 2002 - 22:00:13 EST