Re: [PATCH] Rework of /proc/stat

Jean-Eric Cuendet (jean-eric.cuendet@linkvest.com)
Thu, 07 Mar 2002 12:16:16 +0100


> Basically, statistic data are moved from the global kstat structure to
> the request_queue structures, and it is allocated/freed when the
> request queue is initialized and freed. This way it is
>
Why do you dynamically allocate the stat structure? Wouldn't it be
better static in the request struct?
You don't win anything with that since is you create the queue, it's to
be accessed, so the struct will be allocated ASAP.
No?

-- 
Jean-Eric Cuendet
Linkvest SA
Av des Baumettes 19, 1020 Renens Switzerland
Tel +41 21 632 9043  Fax +41 21 632 9090
E-mail: jean-eric.cuendet@linkvest.com
http://www.linkvest.com
--------------------------------------------------------

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