Re: [PATCH] cputime (1/6): move call to update_process_times.

From: Alessandro Amici
Date: Thu Aug 05 2004 - 14:58:55 EST



Martin,

On Thursday 05 August 2004 20:03, Martin Schwidefsky wrote:
> For non-smp kernels the call to update_process_times is done
> in the do_timer function. It is more consistent with smp kernels
> to move this call to the architecture file which calls do_timer.

I don't have enough knowledge to comment on the merit of the move to
architecture files, but the proliferation of #ifndef CONFIG_SMP looks really
ugly.

Wouldn't it be possible to move the #ifndef into sched.h?

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