public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [RFC 0/2] Read memory in multiple lines in dcache_xfer_memory
@ 2013-10-18  3:22 Yao Qi
  2013-10-18  3:22 ` [PATCH 1/2] Separate read and write " Yao Qi
  2013-10-18  3:22 ` [PATCH 2/2] Read memory in multiple lines " Yao Qi
  0 siblings, 2 replies; 11+ messages in thread
From: Yao Qi @ 2013-10-18  3:22 UTC (permalink / raw)
  To: gdb-patches

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-11-18 17:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-18  3:22 [RFC 0/2] Read memory in multiple lines in dcache_xfer_memory Yao Qi
2013-10-18  3:22 ` [PATCH 1/2] Separate read and write " Yao Qi
2013-10-18  3:22 ` [PATCH 2/2] Read memory in multiple lines " Yao Qi
2013-10-21 20:38   ` Doug Evans
2013-10-22  0:50     ` Yao Qi
2013-10-25 17:08       ` Doug Evans
2013-11-06  9:24         ` Yao Qi
2013-11-18 17:08         ` Pedro Alves
2013-10-21 23:16   ` Doug Evans
2013-10-22 12:27     ` Yao Qi
2013-11-18 18:17   ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).