Re: [patch 1/7] x86 PAT: store vm_pgoff for all linear_over_vma_region mappings - v3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pallipadi, Venkatesh
Date: Thursday, December 18, 2008 - 3:10 pm

On Thu, Dec 18, 2008 at 01:27:28PM -0800, Nick Piggin wrote:

OK. Will add comments about both the points.


The main reason is performance. If we know it is linear, we can track the entire
region as one block and do the reserve free for entire region. But, if it is
not linear, then we have to reserve memtype of physical addresses page by page.
This will not be optimal as it will result in reserve and free becoming
slower. Almost all users that we find in kernel today (atleast in x86)  are
all linear.

Thanks,
Venki

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 0/7] x86 PAT: track pfnmap mappings with remap_pfn_ ..., venkatesh.pallipadi, (Thu Dec 18, 12:41 pm)
[patch 1/7] x86 PAT: store vm_pgoff for all linear_over_vm ..., venkatesh.pallipadi, (Thu Dec 18, 12:41 pm)
[patch 2/7] x86 PAT: Add follow_pfnmp_pte routine to help ..., venkatesh.pallipadi, (Thu Dec 18, 12:41 pm)
[patch 3/7] x86 PAT: hooks in generic vm code to help arch ..., venkatesh.pallipadi, (Thu Dec 18, 12:41 pm)
[patch 4/7] x86 PAT: Implement track/untrack of pfnmap reg ..., venkatesh.pallipadi, (Thu Dec 18, 12:41 pm)
[patch 5/7] x86 PAT: change pgprot_noncached to uc_minus i ..., venkatesh.pallipadi, (Thu Dec 18, 12:41 pm)
[patch 6/7] x86 PAT: add pgprot_writecombine() interface f ..., venkatesh.pallipadi, (Thu Dec 18, 12:41 pm)
[patch 7/7] x86 PAT: update documentation to cover pgprot ..., venkatesh.pallipadi, (Thu Dec 18, 12:41 pm)
Re: [patch 7/7] x86 PAT: update documentation to cover pgp ..., Pallipadi, Venkatesh, (Thu Dec 18, 2:49 pm)
Re: [patch 4/7] x86 PAT: Implement track/untrack of pfnmap ..., Pallipadi, Venkatesh, (Thu Dec 18, 2:53 pm)
RE: [patch 7/7] x86 PAT: update documentation to cover pgp ..., Pallipadi, Venkatesh, (Thu Dec 18, 3:03 pm)
Re: [patch 1/7] x86 PAT: store vm_pgoff for all linear_ove ..., Pallipadi, Venkatesh, (Thu Dec 18, 3:10 pm)
Re: [patch 2/7] x86 PAT: Add follow_pfnmp_pte routine to h ..., Pallipadi, Venkatesh, (Thu Dec 18, 3:15 pm)
Re: [patch 3/7] x86 PAT: hooks in generic vm code to help ..., Pallipadi, Venkatesh, (Thu Dec 18, 3:23 pm)