This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFC 0/2] Read memory in multiple lines in dcache_xfer_memory
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Fri, 18 Oct 2013 11:21:04 +0800
- Subject: [RFC 0/2] Read memory in multiple lines in dcache_xfer_memory
- Authentication-results: sourceware.org; auth=none
Hi,
This patch series is to improve the dcache on reading from target memory.
The rationale of this patch series is to reduce the number of calling
target_read, and read as much as possible in one time. Details can be
found in patch 2/2.
Patch 1/2 simply splits the code on reading and writing in
dcache_xfer_memory, and patch 2/2 focuses on optimizing reading target
memory, because GDB reads a lot of data from target, but writes few.
The performance gain is measured and listed in patch 2/2. The whole
series is regression tested on x86_64-linux. Comments?
*** BLURB HERE ***
Yao Qi (2):
Separate read and write in dcache_xfer_memory
Read memory in multiple lines in dcache_xfer_memory.
gdb/dcache.c | 356 ++++++++++++++++++++++++++++++++++++++++++----------------
1 files changed, 260 insertions(+), 96 deletions(-)
--
1.7.7.6