summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMyron Stowe <myron.stowe@hp.com>2010-10-22 00:24:14 +0400
committerLen Brown <len.brown@intel.com>2010-10-25 07:31:43 +0400
commit4a3cba5e72a5232842ff7c1ca691ec3450af64b9 (patch)
treebcf2659d20f6b8383f3c42d066595832097ca46e /include
parent78cdb3ed4053798c894899b15d2255fb880edad4 (diff)
downloadlinux-4a3cba5e72a5232842ff7c1ca691ec3450af64b9.tar.xz
ACPI: Page based coalescing of I/O remappings optimization
This patch optimizes ACPI MMIO remappings by keeping track of the remappings on a PAGE_SIZE granularity. When an ioremap() occurs, the underlying infrastructure works on a 'page' based granularity. As such, an ioremap() request for 1 byte for example, will end up mapping in an entire (PAGE_SIZE) page. Huang Ying took advantage of this in commit 15651291a2f8c11e7e6a42d8bfde7a213ff13262 by checking if subsequent ioremap() requests reside within any of the list's existing remappings still in place, and if so, incrementing a reference count on the existing mapping as opposed to performing another ioremap(). Signed-off-by: Myron Stowe <myron.stowe@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions