Change-Id: I2b72dfb9291670cb837dfdb279f519892575d4a6
assert(ph->ph->refcount > 0);
- if((new_page_cl = alloc_mem(1, allocflags)) == NO_MEM)
+ if((new_page_cl = alloc_mem(1, allocflags)) == NO_MEM) {
+ printf("anon_pagefault: out of memory\n");
return ENOMEM;
+ }
new_page = CLICK2ABS(new_page_cl);
/* Totally new block? Create it. */
}
if(r != OK) {
- printf("map_pf: memtype->ev_pagefault failed\n");
+ printf("map_pf: pagefault in %s failed\n", ph->memtype->name);
if(ph)
pb_unreferenced(region, ph, 1);
return r;