Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kgdb: have ebin2mem call probe_kernel_write once
Rather than call probe_kernel_write() one byte at a time, process the whole buffer locally and pass the entire result in one go. This way, architectures that need to do special handling based on the length can do so, or we only end up calling memcpy() once. [[email protected]: Reported original problem and preliminary patch] Signed-off-by: Jason Wessel <[email protected]> Signed-off-by: Sonic Zhang <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
- Loading branch information