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
Reply to
Aneesh Kumar K.V, 2016-04-17
quoted
quoted
+		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
Thread (139 messages) 139 messages, 9 authors, last reply 2016-11-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help