Re: seq_file and exporting dynamically allocated data

From: viro
Date: Sat Nov 15 2003 - 16:34:34 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/