diff options
author | 2012-03-29 15:50:08 -0400 | |
---|---|---|
committer | 2012-04-02 12:13:22 -0400 | |
commit | 719ea79e330c5e1a17fb7e4cf352a81e4c84cff5 (patch) | |
tree | 08fc6a29a0430599b9e91e9e87945b0b6eb2ef6a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arch/tile: don't leak kernel memory when we unload modules (diff) | |
download | linux-dev-719ea79e330c5e1a17fb7e4cf352a81e4c84cff5.tar.xz linux-dev-719ea79e330c5e1a17fb7e4cf352a81e4c84cff5.zip |
arch/tile: fix up locking in pgtable.c slightly
We should be holding the init_mm.page_table_lock in shatter_huge_page()
since we are modifying the kernel page tables. Then, only if we are
walking the other root page tables to update them, do we want to take
the pgd_lock.
Add a comment about taking the pgd_lock that we always do it with
interrupts disabled and therefore are not at risk from the tlbflush
IPI deadlock as is seen on x86.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions