Re: [PATCH] Updated Commentry Patches

William Lee Irwin III (wli@holomorphy.com)
Thu, 16 May 2002 21:47:48 -0700


> 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/