On Oct. 22, 2007, 22:16 +0200, Alan Cox <firstname.lastname@example.org> wrote:
Alternatively, I proposed to check for end of list in sg_next
by calling it with the next iterator value and number of list elements.
We tried that patch here and it seems like a reasonable alternative.
If folks are interested, I can send the full patch for review.