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-16 18:23 -------
(In reply to comment #4)
> (In reply to comment #1)
> > I don't want to belittle the importance of checking return values, but filled
> > maps could be avoided by turning on map->wrap.
> 
> The current wrapping scheme seems too complicated to use.

It depends what you want to use it for. Setting one flag enables it. Current
behaviour is FIFO. Adding a flag to change the behaviour to LRU would be simple.
Only gotcha is that there is only one node list and sorting will reorder the list.

-- 


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]