This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/2149] check return value for _stp_map_set_xx()
- From: "hunt at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 12 Jan 2006 21:07:12 -0000
- Subject: [Bug translator/2149] check return value for _stp_map_set_xx()
- References: <20060112181937.2149.hunt@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From hunt at redhat dot com 2006-01-12 21:07 -------
> Sorry, this is wrong - it's actually a FIFO. To be LRU we need to move nodes to
> the tail when they're accessed as well. I think this would be preferable...
It's a little more complicated than that. When wrapping, it removes the first
node in the node list. That would typically be the first node created, kind of
FIFO. Except you can sort the list and change the ordering. If we enable wrap
mode, it should be per-map and should be used for things like FIFOs or lists.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2149
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.