Re: page_alloc.c comments patch

Andrew Morton (akpm@zip.com.au)
Thu, 18 Apr 2002 03:47:07 -0700


Hans-Peter Jansen wrote:
>
> On Thursday, 18. April 2002 04:26, Mel wrote:
> > This patch is a first cut effort at commenting how the buddy algorithm
> > works for allocating and freeing blocks of pages. No code is changed so
> > the impact is minimal to put it mildly
>
> Sure?
>
> > - index = page_idx >> (1 + order);

It's OK:

- index = page_idx >> (1 + order);

+ /* index is the number bit inside the free_area_t bitmap stored in
+ * area->map
+ */
+ index = page_idx >> (1 + order);

> Nevertheless, great attempt, Mel.

yes, it is.

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