bitkeeper revision 1.7.3.40 (3e02f57eQHmARiBPgHtT5Xo7zs_hGA)

debug
This commit is contained in:
lynx@idefix.cl.cam.ac.uk committed 2002-12-20 10:48:30 +00:00
1 parent b6abf8e833
commit 785871ffb3
1 file changed
+3 -3
@@ -63,13 +63,13 @@ unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, unsi
* is not available. this is the only difference to generic
* arch_get_unmapped_area.
*/
if(current->pid > 100){
printk(KERN_ALERT "bd240 debug: gua: vm addr found %lx\n", addr);
if ((!vma || addr + len <= vma->vm_start) && !direct_mapped(addr)){
printk(KERN_ALERT "bd240 debug: gua: first condition %d, %lx, %lx\n",vma, addr + len, vma->vm_start);
printk(KERN_ALERT "bd240 debug: gua: second condition %d\n", direct_mapped(addr));
return addr;
}
if ((!vma || addr + len <= vma->vm_start) && !direct_mapped(addr))
return addr;
addr = vma->vm_end;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.