kexec.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Clean up makedumpfile cache handling
@ 2015-03-06  9:31 Petr Tesarik
  2015-03-06  8:23 ` [PATCH 1/4] cache: get rid of search loop in cache_add() Petr Tesarik
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Petr Tesarik @ 2015-03-06  9:31 UTC (permalink / raw)
  To: Atsushi Kumagai, Michael Holzheu; +Cc: kexec mailing list, Jan Willeke

The cache code is somewhat clumsy. This patch series tries to clean up
the code and clarify the concept, especially the meaning of the pending
list (allocated cache entries whose content is not yet valid).

The last patch adds some basic statistics to the final report.

Petr Tesarik (4):
  cache: get rid of search loop in cache_add()
  cache: allow to return a page to the pool
  cache: do not allocate from the pending list
  cache: add hit/miss statistics to the final report

 cache.c        | 46 +++++++++++++++++++---------------------------
 cache.h        | 11 +++++++++--
 makedumpfile.c | 29 ++++++++++++++++++++++-------
 3 files changed, 50 insertions(+), 36 deletions(-)

-- 
1.8.4.5


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

end of thread, other threads:[~2015-03-06  9:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-06  9:31 [PATCH 0/4] Clean up makedumpfile cache handling Petr Tesarik
2015-03-06  8:23 ` [PATCH 1/4] cache: get rid of search loop in cache_add() Petr Tesarik
2015-03-06  8:52 ` [PATCH 2/4] cache: allow to return a page to the pool Petr Tesarik
2015-03-06  8:59 ` [PATCH 3/4] cache: do not allocate from the pending list Petr Tesarik
2015-03-06  9:26 ` [PATCH 4/4] cache: add hit/miss statistics to the final report Petr Tesarik

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 NNTP newsgroup(s).