From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27152 invoked by alias); 12 Jan 2006 21:07:13 -0000 Received: (qmail 26747 invoked by uid 48); 12 Jan 2006 21:07:12 -0000 Date: Thu, 12 Jan 2006 21:07:00 -0000 Message-ID: <20060112210712.26746.qmail@sourceware.org> From: "hunt at redhat dot com" To: systemtap@sources.redhat.com In-Reply-To: <20060112181937.2149.hunt@redhat.com> References: <20060112181937.2149.hunt@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/2149] check return value for _stp_map_set_xx() X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00131.txt.bz2 ------- 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.