Re: [RFC] [PATCH 00/19] Non disruptive application core dumpinfrastructure using task_work_add()

From: Andi Kleen
Date: Mon Oct 07 2013 - 14:10:26 EST


> > Couldn't they just use the new process_vm_readv() syscalls instead?
> > AFAIK those do not require ptrace.
> >
> We need the register set and hence would need a ptrace.

But the kernel needs to stop to to read the registers.

Do you have data how much the latency difference is between
an optimized ptrace reader (using PTRACE_GETREGSET) vs the kernel ?

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/