Re: [PATCH][RFC] Re: 2.4.15-pre5: /proc/cpuinfo broken

Linus Torvalds (torvalds@transmeta.com)
Sat, 17 Nov 2001 10:53:46 -0800 (PST)


On Sat, 17 Nov 2001, Alexander Viro wrote:
>
> Frankly, I'd prefer to try (b) before reverting to (a). Patch doing that
> variant follows. Linus, your opinion?

(d) make seq_file have my originally suggested "subposition" code.

Ie make the X low bits of "pos" be the position in the record, with the
high bits of "pos" being the current "record index" kind of thing.

That makes lseek() happy.

Linus

-
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/