Re: [PATCH] Rework of /proc/stat

From: Jean-Eric Cuendet (jean-eric.cuendet@linkvest.com)
Date: Thu Mar 07 2002 - 06:16:16 EST


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



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:01:02 EST