public inbox for sid-cvs@sourceware.org
help / color / mirror / Atom feed
* src/sid/component/cache ChangeLog cache.cxx ca ...
@ 2002-06-08 13:33 bje
  0 siblings, 0 replies; 5+ messages in thread
From: bje @ 2002-06-08 13:33 UTC (permalink / raw)
  To: sid-cvs

CVSROOT:	/cvs/src
Module name:	src
Changes by:	bje@sources.redhat.com	2002-06-08 13:33:18

Modified files:
	sid/component/cache: ChangeLog cache.cxx cache.h cacheutil.cxx 
	                     cacheutil.h hw-cache.txt hw-cache.xml 

Log message:
	2002-06-08  Ben Elliston  <bje@redhat.com>
	
	* cacheutil.h (cache_set::expunge): New method.
	(cache_set::operator[]): Likewise.
	(cache::invalidate): Likewise.
	(cache::operator[]): Likewise.
	* cacheutil.cxx (cache::invalidate): Implement.
	* cache.h (cache_component::flush_set_pin): New pin.
	(cache_component::flush_set): New callback method.
	(cache_component::invalidate_set_pin): New pin.
	(cache_component::invalidate_set): New method.
	* cache.cxx (cache_component constructor): Initialise and add
	"flush-set" and "invalidate-set" pins.
	(cache_component::flush_set): Implement.
	(cache_component::invalidate_set): Likewise.
	* hw-cache.xml: Update documentation.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/ChangeLog.diff?cvsroot=src&r1=1.20&r2=1.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/cache.cxx.diff?cvsroot=src&r1=1.13&r2=1.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/cache.h.diff?cvsroot=src&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/cacheutil.cxx.diff?cvsroot=src&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/cacheutil.h.diff?cvsroot=src&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/hw-cache.txt.diff?cvsroot=src&r1=1.8&r2=1.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/hw-cache.xml.diff?cvsroot=src&r1=1.6&r2=1.7


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

* src/sid/component/cache ChangeLog cache.cxx ca ...
@ 2004-04-29 20:27 brolley
  0 siblings, 0 replies; 5+ messages in thread
From: brolley @ 2004-04-29 20:27 UTC (permalink / raw)
  To: sid-cvs

CVSROOT:	/cvs/src
Module name:	src
Changes by:	brolley@sourceware.org	2004-04-29 20:26:08

Modified files:
	sid/component/cache: ChangeLog cache.cxx cache.h cacheutil.cxx 
	                     cacheutil.h 

Log message:
	2004-04-29  Dave Brolley  <brolley@redhat.com>
	
	* cacheutil.cxx (cache_set::expell_line): Don't update the set here.
	
	2004-04-29  Dave Brolley  <brolley@redhat.com>
	
	* cache.cxx: Update calls to cache::find.
	* cacheutil.cxx (cache_set::allocate_lines): Now takes cache index as
	an argument. Update all callers.
	(cache_set::find): Now returns a pointer to the line, if found. Update
	all callers.
	(cache::find): Ditto.
	(cache_set::expell_line): Update the status of the expelled line.
	* cacheutil.h (cache_line_factory::make_line): Now takes cache index as
	an argument. Update all callers.
	(cache_set::allocate_lines): Now takes cache index as
	an argument. Update all callers.
	(cache_set::find): Now returns a pointer to the line, if found. Update
	all callers.
	(cache::find): Ditto.
	
	2004-04-29  Dave Brolley  <brolley@redhat.com>
	
	* cacheutil.h (cache_line): Removed copy constructor. Now virtual base
	class.
	(cache_line::operator=): Removed.
	(internal_cache_line): New class implements former cache_line class.
	(cache_set): Now takes cache_line_factory.
	(allocate_lines): New method moves line allocation from the constructor.
	(cache_set::set_line): Now takes reference to cache_line.
	(cache_set::replace_line): Renamed to expell_line. Now returns a pointer
	to the expelled line.
	(cache): Now takes cache_line_factory argument.
	(cache::init): New method moves set allocation from the constructor.
	(cache_set::expell_line): Renamed to expell_line. Now returns a pointer
	to the expelled line.
	(cache_line_factory): New class.
	* cacheutil.cxx (cache_line): Removed copy constructor. Now virtual base
	class.
	(cache_line::operator=): Removed.
	(internal_cache_line): New class implements former cache_line class.
	(cache_set): Now takes cache_line_factory.
	(allocate_lines): New method moves line allocation from the constructor.
	(cache_set::set_line): Now takes reference to cache_line.
	(dummy): Now internal to cache_set::find.
	(cache_set::replace_line): Renamed to expell_line. Now returns a pointer
	to the expelled line.
	(cache): Now takes cache_line_factory argument.
	(cache::init): New method moves set allocation from the constructor.
	(cache_set::expell_line): Renamed to expell_line. Now returns a pointer
	to the expelled line.
	* cache.h (cache_replacement_algorithm::expell): Renamed from 'replace'.
	Returns a pointer to the expelled line. Update specializations.
	(cache_component): Now takes a cache_line_factory as an argument.
	Private data now protected.
	(line_factory): New member of cache_component.
	(~cache_component): Now virtual.
	(CacheCreate): Pass internal_line_factory to cache_component.
	* cache.cxx (line_sizes): Make it static.
	(line_sizes): Ditto.
	(replacement_algorithms): Ditto.
	(internal_line_factory): New static cache_line_factory.
	(cache_component): Now takes a cache_line_factory as an argument. Pass
	the cache line factory to the constructor for acache. Save a reference
	to the line factory. Call acache.init
	(write_any): Rewrite to use cache::expell_line instead of the former
	cache::replace.
	(read_any): Ditto.
	(cache_replacement_algorithm::expell): Renamed from 'replace'. Returns
	a pointer to the expelled line. Update all callers and specializations.
	(CacheCreate): Pass internal_line_factory to cache_component.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/ChangeLog.diff?cvsroot=src&r1=1.24&r2=1.25
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/cache.cxx.diff?cvsroot=src&r1=1.16&r2=1.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/cache.h.diff?cvsroot=src&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/cacheutil.cxx.diff?cvsroot=src&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/cacheutil.h.diff?cvsroot=src&r1=1.6&r2=1.7


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

* src/sid/component/cache ChangeLog cache.cxx ca ...
@ 2002-07-16 12:14 brolley
  0 siblings, 0 replies; 5+ messages in thread
From: brolley @ 2002-07-16 12:14 UTC (permalink / raw)
  To: sid-cvs

CVSROOT:	/cvs/src
Module name:	src
Changes by:	brolley@sources.redhat.com	2002-07-16 12:14:46

Modified files:
	sid/component/cache: ChangeLog cache.cxx cache.h hw-cache.txt 
	                     hw-cache.xml 

Log message:
	2002-07-16  Dave Brolley  <brolley@redhat.com>
	
	* cache.h (cache): Add flush_and_invalidate_set_pin and
	flush_and_invalidate_pin.
	* cache.cxx (cache_component): Initialize flush_and_invalidate_set_pin
	and flush_and_invalidate_pin. Add flush-and-invalidate and
	flush-and-invalidate-set pins.
	(flush_set): Don't flush an invalid line.
	(flush_and_invalidate_set): New method.
	(flush_and_invalidate_line): New method.
	* hw-cache.xml, hw-cache.txt: Modified accordingly.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/ChangeLog.diff?cvsroot=src&r1=1.21&r2=1.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/cache.cxx.diff?cvsroot=src&r1=1.14&r2=1.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/cache.h.diff?cvsroot=src&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/hw-cache.txt.diff?cvsroot=src&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/hw-cache.xml.diff?cvsroot=src&r1=1.7&r2=1.8


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

* src/sid/component/cache ChangeLog cache.cxx ca ...
@ 2001-09-27 13:23 fche
  0 siblings, 0 replies; 5+ messages in thread
From: fche @ 2001-09-27 13:23 UTC (permalink / raw)
  To: sid-cvs

CVSROOT:	/cvs/src
Module name:	src
Changes by:	fche@sources.redhat.com	2001-09-27 13:23:50

Modified files:
	sid/component/cache: ChangeLog cache.cxx cacheutil.cxx 

Log message:
	* bug fix
	
	2001-09-27  Frank Ch. Eigler  <fche@redhat.com>
	
	* cache.cxx (emit_report): Remove extra blank line.
	(set_hash_mask, set_hash_shift): Exchange names to match functionality.
	* cacheutil.cxx (cache ctor): Compute good default hash_params.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/ChangeLog.diff?cvsroot=src&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/cache.cxx.diff?cvsroot=src&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/cacheutil.cxx.diff?cvsroot=src&r1=1.3&r2=1.4


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

* src/sid/component/cache ChangeLog cache.cxx ca ...
@ 2001-06-21  6:37 bje
  0 siblings, 0 replies; 5+ messages in thread
From: bje @ 2001-06-21  6:37 UTC (permalink / raw)
  To: sid-cvs

CVSROOT:	/cvs/src
Module name:	src
Changes by:	bje@sources.redhat.com	2001-06-21 06:37:10

Modified files:
	sid/component/cache: ChangeLog cache.cxx cache.h hw-cache.txt 

Log message:
	2001-06-21  Ben Elliston  <bje@redhat.com>
	
	* cache.h (cache_component::hit_latency): New member.
	(cache_component::miss_latency): Likewise.
	* cache.cxx (cache_component ctor): Add attributes for these.
	(cache_component::write_any): Add miss latency for misaligned
	accesses. Set latency correctly for return.
	(cache_component::read_any): Add miss latency for misaligned
	accesses. Set latency correctly for return.
	(cache_component::read_line): Return the true result of reads.
	(cache_component::write_line): Likewise for writes.
	* hw-cache.txt: Document latency extensions.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/ChangeLog.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/cache.cxx.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/cache.h.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/cache/hw-cache.txt.diff?cvsroot=src&r1=1.1&r2=1.2


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

end of thread, other threads:[~2004-04-29 20:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-08 13:33 src/sid/component/cache ChangeLog cache.cxx ca bje
  -- strict thread matches above, loose matches on Subject: below --
2004-04-29 20:27 brolley
2002-07-16 12:14 brolley
2001-09-27 13:23 fche
2001-06-21  6:37 bje

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).