Re: /proc/stat vs. failed order-4 allocation

From: Christoph Hellwig
Date: Wed May 21 2014 - 10:32:37 EST


On Wed, May 21, 2014 at 02:25:21PM +0200, Heiko Carstens wrote:
> Hi all,
>
> I'm just wondering why /proc/stat is a single_open() seq_file and not a
> regular seq_file with an iterator (say 48 online cpus for each iteration
> or something similar).

Probably because no one sent a patch for it. I'm pretty sure it used the
even more horrible old proc ops before and was converted in batch with
various other files.
--
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/