summaryrefslogtreecommitdiff
path: root/kernel/profile.c
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2010-04-02 16:33:29 (GMT)
committerJason Wessel <jason.wessel@windriver.com>2010-04-02 19:58:17 (GMT)
commita0279bd58060ccedbd414edf97d50cfa3778c370 (patch)
treeaf70474c8f284ce4a0429b22417699fa7b40e9a5 /kernel/profile.c
parent42be79e37e264557f12860fa4cc84b4de3685954 (diff)
downloadlinux-a0279bd58060ccedbd414edf97d50cfa3778c370.tar.xz
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. [sonic.zhang@analog.com: Reported original problem and preliminary patch] Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions