# Re: \[PATCH V2 18/68\] powerpc/mm: Move hash and no hash code to separate files

- From: Balbir Singh \<bsingharora@gmail.com\>
- Date: 2016-04-20 06:17:38 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2016/04/9489467
- Thread: https://ratatoskr.run/linuxppc-dev/2016/04/9489240/t/2.md

```text
>>> +		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
```
