]> git.baikalelectronics.ru Git - kernel.git/commit
xen/p2m: Allow alloc_p2m_middle to call reserve_brk depending on argument
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 30 Mar 2012 18:15:14 +0000 (14:15 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 6 Apr 2012 21:03:01 +0000 (17:03 -0400)
commit058566fed35b04525b7fdfa5f423b1edae6460ff
treeade7186b2ae588fce6c41a688a7fa6aadd5b4320
parentf05e32af11fcd1a7088c8942c599de5e0913b688
xen/p2m: Allow alloc_p2m_middle to call reserve_brk depending on argument

For identity cases we want to call reserve_brk only on the boundary
conditions of the middle P2M (so P2M[x][y][0] = extend_brk). This is
to work around identify regions (PCI spaces, gaps in E820) which are not
aligned on 2MB regions.

However for the case were we want to allocate P2M middle leafs at the
early bootup stage, irregardless of this alignment check we need some
means of doing that.  For that we provide the new argument.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/p2m.c