[PATCH V2 18/68] powerpc/mm: Move hash and no hash code to separate files
Balbir Singh
bsingharora at gmail.com
Wed Apr 20 16:17:24 AEST 2016
>>> + if (htab_bolt_mapping(ea, ea + PAGE_SIZE, pa, flags,
>>> + mmu_io_psize, mmu_kernel_ssize)) {
>>> + printk(KERN_ERR "Failed to do bolted mapping IO "
>>> + "memory at %016lx !\n", pa);
>>> + return -ENOMEM;
>>
>> What happens when we do unmap this? I know this code has been around for a while
>> so its not new
>
> you mean iounmap ? it do call vunmap, which look for a linux page table
> entry. If it is a bolt_mapping entry as above, we will not have a linux
> page table entry and that unmap will not relaly remove the mapping.
Make sense, thanks!
Balbir
More information about the Linuxppc-dev
mailing list