Re: [PATCH] 32bit wraps and USER_HZ [64 bit counters], kernel 2.5.37
William Lee Irwin III (wli@holomorphy.com)
Sun, 22 Sep 2002 19:36:55 -0700
On Mon, Sep 23, 2002 at 12:07:22AM +0200, Rolf Fokkens wrote:
@@ -340,9 +335,12 @@
unsigned long it_real_value, it_prof_value, it_virt_value;
unsigned long it_real_incr, it_prof_incr, it_virt_incr;
struct timer_list real_timer;
- unsigned long utime, stime, cutime, cstime;
- unsigned long start_time;
- long per_cpu_utime[NR_CPUS], per_cpu_stime[NR_CPUS];
+
+ rwlock_t times_lock;
+ u64 utime, stime, cutime, cstime;
+ u64 cpu_utime[NR_CPUS], cpu_stime[NR_CPUS];
+ u64 start_time;
+
Hmm. Isn't task_t bloated enough already? I'd rather remove them than
make them 64-bit.
Thanks,
Bill
-
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/