Re: [PATCH] 32bit wraps and USER_HZ [64 bit counters], kernel

Robert Love (rml@tech9.net)
23 Sep 2002 18:13:15 -0400


On Mon, 2002-09-23 at 18:08, Rolf Fokkens wrote:

> On Monday 23 September 2002 04:36, William Lee Irwin III wrote:
>
> > - unsigned long utime, stime, cutime, cstime;
> > - unsigned long start_time;
> > - long per_cpu_utime[NR_CPUS], per_cpu_stime[NR_CPUS];
> >
> > Hmm. Isn't task_t bloated enough already? I'd rather remove them than
> > make them 64-bit.
>
> Since nobody else asks this question:
>
> Do you mean to leave out process statistics?

Yes, I think he does.

Having arrays statically created at NR_CPUS inside the task_struct is
just gross. Especially with NR_CPUS=32. That is 128 bytes each! Now
with your changes, it is 256 bytes each!

Sacrifice them to the gods of bloat.

Robert Love

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