Thread (2 messages) 2 messages, 2 authors, 2004-11-19

Re: [PATCH][PPC] update_process_times simplification

From: Tom Rini <hidden>
Date: 2004-11-19 15:05:12

On Mon, Nov 15, 2004 at 04:21:00AM -0600, Milton Miller wrote:
When the update_process_times call was moved out of do_timer for the UP case,
the replicator didn't track down the hiding and just added ifndef SMP.

This removes the ifdefs and the indirection of calling another file for
one function in a third file.

I also removed the per-cpu multipler and counter.  On some architectures
(x86 and sparc64) these are set via /proc/profile setup_profiling_timer
to increase the timer interrupt by a factor over HZ.   However, this was
not not implemented for ppc (like several other architectures), so it
was just decrementing, testing, and setting per-cpu variables back to 1.

Untested.
Signed-off-by: Milton Miller <redacted>
Since this is untested, and Linus said he wants bugfixes only until
2.6.10 actually comes out, I'd like to hold this until the 2.6.10
release.

-- 
Tom Rini
http://gate.crashing.org/~trini/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help