This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC 0/2] Read memory in multiple lines in dcache_xfer_memory


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]