[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6d6a94c50612271949l66265cd4v4c63c1bdf3984417@mail.gmail.com>
Date: Thu, 28 Dec 2006 11:49:37 +0800
From: Aubrey <aubreylee@...il.com>
To: linux-kernel@...r.kernel.org, linux-mm@...ck.org
Cc: "Nick Piggin" <nickpiggin@...oo.com.au>
Subject: Re: Page alignment issue
On 12/27/06, Aubrey <aubreylee@...il.com> wrote:
> 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.
It seems nothing depend on this feature. the problem you encounted is
the kernel task stack should be 2-page aligned.
-Aubrey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists