On Tue, 2011-06-07 at 18:28 +0530, Srikar Dronamraju wrote: > +static void print_insert_fail(struct task_struct *tsk, > + unsigned long vaddr, const char *why) > +{ > + pr_warn_once("Can't place breakpoint at pid %d vaddr" " %#lx: %s\n", > + tsk->pid, vaddr, why); > +} Why would we ever want to print this instead of simply failing the operation and returning an error code to userspace? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>