Page alignment issue
- From: Aubrey <aubreylee@xxxxxxxxx>
- Date: Wed, 27 Dec 2006 23:49:43 +0800
As for the buddy system, much of docs mention the physical address of
the first page frame of a block should be a multiple of the group
size. For example, the initial address of a 16-page-frame block should
be 16-page aligned. I happened to encounted an issue that the physical
addresss pf the block is not 4-page aligned(0x36c9000) while the order
of the block is 2. I want to know what out of buddy algorithm depend
on this feature? My problem seems to happen in
schedule()->context_switch() call, but so far I didn't figure out the
root cause.
Any clue or suggestion will be really appreciated!
Thanks,
-Aubrey
-
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/
- Follow-Ups:
- Re: Page alignment issue
- From: Nick Piggin
- Re: Page alignment issue
- From: Aubrey
- Re: Page alignment issue
- Prev by Date: Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels
- Next by Date: Re: [patch] block: remove BKL dependency from drivers/block/loop.c
- Previous by thread: [RFC] Heads up on a series of AIO patchsets
- Next by thread: Re: Page alignment issue
- Index(es):