• Mel Gorman's avatar
    powerpc: Do not assert pte_locked for hugepage PTE entries · af3e4aca
    Mel Gorman authored
    With CONFIG_DEBUG_VM, an assertion is made when changing the protection
    flags of a PTE that the PTE is locked. Huge pages use a different pagetable
    format and the assertion is bogus and will always trigger with a bug looking
    something like
    
     Unable to handle kernel paging request for data at address 0xf1a00235800006f8
     Faulting instruction address: 0xc000000000034a80
     Oops: Kernel access of bad area, sig: 11 [#1]
     SMP NR_CPUS=32 NUMA Maple
     Modules linked in: dm_snapshot dm_mirror dm_region_hash
      dm_log dm_mod loop evdev ext3 jbd mbcache sg sd_mod ide_pci_generic
      pata_amd ata_generic ipr libata tg3 libphy scsi_mod windfarm_pid
      windfarm_smu_sat windfarm_max6690_sensor windfarm_lm75_sensor
      windfarm_cpufreq_clamp windfarm_core i2c_powermac
     NIP: c000000000034a80 LR: c000000000034b18 CTR: 0000000000000003
     REGS: c000000003037600 TRAP: 0300   Not tainted (2.6.30-rc3-autokern1)
     MSR: 9000000000009032 <EE,ME,IR,DR>  CR: 28002484  XER: 200fffff
     DA...
    af3e4aca
pgtable.c 6.64 KB