Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262074AbTKOVdn (ORCPT ); Sat, 15 Nov 2003 16:33:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262076AbTKOVdn (ORCPT ); Sat, 15 Nov 2003 16:33:43 -0500 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:18920 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S262074AbTKOVdm (ORCPT ); Sat, 15 Nov 2003 16:33:42 -0500 Date: Sat, 15 Nov 2003 21:33:42 +0000 From: viro@parcelfarce.linux.theplanet.co.uk To: Tigran Aivazian Cc: Harald Welte , linux-kernel@vger.kernel.org Subject: Re: seq_file and exporting dynamically allocated data Message-ID: <20031115213342.GR24159@parcelfarce.linux.theplanet.co.uk> References: <20031115201444.GO24159@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 600 Lines: 12 On Sat, Nov 15, 2003 at 08:50:55PM +0000, Tigran Aivazian wrote: > Looking at mm/slab.c implementation I see that it just walks the integer > distance from the head of the list. Simple but not 100% correct, I think. > I.e. it can miss an entry if the list has changed between two read(2)s. Define "miss". What sort of warranties do you expect there? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/