On Fri, Nov 16, 2012 at 9:14 AM, H. Peter Anvin wrote:
> On 10/10/2012 10:38 AM, Yinghai Lu wrote:
>> attached patch on top of this patch will fix the problem?
>>
>
> .mapping = {
> - .pagetable_reserve = native_pagetable_reserve,
> + .mark_page_ro
On 10/10/2012 10:38 AM, Yinghai Lu wrote:
On Wed, Oct 10, 2012 at 10:26 AM, Stefano Stabellini
wrote:
On Wed, 10 Oct 2012, Yinghai Lu wrote:
It doesn't matter whether they come from BRK or other memory: Xen
assumes that all the pagetable pages come from
pgt_buf_start-pgt_buf_top, so if you
On 10/10/2012 10:38 AM, Yinghai Lu wrote:
On Wed, Oct 10, 2012 at 10:26 AM, Stefano Stabellini
stefano.stabell...@eu.citrix.com wrote:
On Wed, 10 Oct 2012, Yinghai Lu wrote:
It doesn't matter whether they come from BRK or other memory: Xen
assumes that all the pagetable pages come from
On Fri, Nov 16, 2012 at 9:14 AM, H. Peter Anvin h...@zytor.com wrote:
On 10/10/2012 10:38 AM, Yinghai Lu wrote:
attached patch on top of this patch will fix the problem?
.mapping = {
- .pagetable_reserve = native_pagetable_reserve,
+
On Wed, Oct 10, 2012 at 10:26 AM, Stefano Stabellini
wrote:
> On Wed, 10 Oct 2012, Yinghai Lu wrote:
>
> It doesn't matter whether they come from BRK or other memory: Xen
> assumes that all the pagetable pages come from
> pgt_buf_start-pgt_buf_top, so if you are going to use another range you
>
On Wed, 10 Oct 2012, Yinghai Lu wrote:
> On Wed, Oct 10, 2012 at 9:38 AM, Stefano Stabellini
> wrote:
> >> - if (pfn >= pgt_buf_top)
> >> - panic("alloc_low_page: ran out of memory");
> >> + if ((pgt_buf_end + 1) >= pgt_buf_top) {
> >> + unsigned long ret;
> >> +
On Wed, Oct 10, 2012 at 9:38 AM, Stefano Stabellini
wrote:
>> - if (pfn >= pgt_buf_top)
>> - panic("alloc_low_page: ran out of memory");
>> + if ((pgt_buf_end + 1) >= pgt_buf_top) {
>> + unsigned long ret;
>> + if (min_pfn_mapped >= max_pfn_mapped)
>> +
On Wed, 10 Oct 2012, Yinghai Lu wrote:
> Get pgt_buf early from BRK, and use it to map PMD_SIZE to top at first.
> then use page from PMD_SIZE to map next blow range.
>
> alloc_low_page will use page from BRK at first, then will switch to use
> to memblock to find and reserve page for page table
On Wed, 10 Oct 2012, Yinghai Lu wrote:
Get pgt_buf early from BRK, and use it to map PMD_SIZE to top at first.
then use page from PMD_SIZE to map next blow range.
alloc_low_page will use page from BRK at first, then will switch to use
to memblock to find and reserve page for page table
On Wed, Oct 10, 2012 at 9:38 AM, Stefano Stabellini
stefano.stabell...@eu.citrix.com wrote:
- if (pfn = pgt_buf_top)
- panic(alloc_low_page: ran out of memory);
+ if ((pgt_buf_end + 1) = pgt_buf_top) {
+ unsigned long ret;
+ if (min_pfn_mapped =
On Wed, 10 Oct 2012, Yinghai Lu wrote:
On Wed, Oct 10, 2012 at 9:38 AM, Stefano Stabellini
stefano.stabell...@eu.citrix.com wrote:
- if (pfn = pgt_buf_top)
- panic(alloc_low_page: ran out of memory);
+ if ((pgt_buf_end + 1) = pgt_buf_top) {
+ unsigned long
On Wed, Oct 10, 2012 at 10:26 AM, Stefano Stabellini
stefano.stabell...@eu.citrix.com wrote:
On Wed, 10 Oct 2012, Yinghai Lu wrote:
It doesn't matter whether they come from BRK or other memory: Xen
assumes that all the pagetable pages come from
pgt_buf_start-pgt_buf_top, so if you are going
On Tue, Oct 9, 2012 at 4:58 PM, Yinghai Lu wrote:
> Get pgt_buf early from BRK, and use it to map PMD_SIZE to top at first.
> then use page from PMD_SIZE to map next blow range.
>
> alloc_low_page will use page from BRK at first, then will switch to use
> to memblock to find and reserve page for
Get pgt_buf early from BRK, and use it to map PMD_SIZE to top at first.
then use page from PMD_SIZE to map next blow range.
alloc_low_page will use page from BRK at first, then will switch to use
to memblock to find and reserve page for page table usage.
At last we could get rid of calculation
Get pgt_buf early from BRK, and use it to map PMD_SIZE to top at first.
then use page from PMD_SIZE to map next blow range.
alloc_low_page will use page from BRK at first, then will switch to use
to memblock to find and reserve page for page table usage.
At last we could get rid of calculation
On Tue, Oct 9, 2012 at 4:58 PM, Yinghai Lu ying...@kernel.org wrote:
Get pgt_buf early from BRK, and use it to map PMD_SIZE to top at first.
then use page from PMD_SIZE to map next blow range.
alloc_low_page will use page from BRK at first, then will switch to use
to memblock to find and
16 matches
Mail list logo