aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorNicolas Pitre <[email protected]>2012-06-27 17:28:57 +0100
committerRussell King <[email protected]>2012-07-01 14:21:35 +0100
commit19b52abe3c5d759661500a1dc810924369b2ad46 (patch)
tree8a9746ff942ccc69c386773dd311ee465689453f /tools/perf/util/scripting-engines/trace-event-python.c
parent9973290ce20ace7cac8ad06f753468c0b826fd0f (diff)
ARM: 7438/1: fill possible PMD empty section gaps
On ARM with the 2-level page table format, a PMD entry is represented by two consecutive section entries covering 2MB of virtual space. However, static mappings always were allowed to use separate 1MB section entries. This means in practice that a static mapping may create half populated PMDs via create_mapping(). Since commit 0536bdf33f (ARM: move iotable mappings within the vmalloc region) those static mappings are located in the vmalloc area. We must ensure no such half populated PMDs are accessible once vmalloc() or ioremap() start looking at the vmalloc area for nearby free virtual address ranges, or various things leading to a kernel crash will happen. Signed-off-by: Nicolas Pitre <[email protected]> Reported-by: Santosh Shilimkar <[email protected]> Tested-by: "R, Sricharan" <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Cc: [email protected] Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions