This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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]

[Bug translator/2149] check return value for _stp_map_set_xx()


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


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