Hi! > One rule of optimization is to move any code you can outside the loop. > Why isn't the nice_to_ticks calculation done when nice is changed > instead of EVERY recalc.? I guess another way to ask this is, who needs This way change is localized very nicely, and it is "obviously right". -- Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt, details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: [QUESTION] 2.4.x nice level Quim K Holland
- Re: [QUESTION] 2.4.x nice level LA Walsh
- [QUESTION] 2.4.x nice level SodaPop
- Re: [QUESTION] 2.4.x nice level george anzinger
- Re: [QUESTION] 2.4.x nice level Rik van Riel
- Re: [QUESTION] 2.4.x nice level george anzinger
- [test-PATCH] Re: [QUESTION] 2.4.x nice level Rik van Riel
- Re: [test-PATCH] Re: [QUESTION] 2.4.x nic... Rik van Riel
- Re: [test-PATCH] Re: [QUESTION] 2.4.... Pozsar Balazs
- Re: [test-PATCH] Re: [QUESTION] 2.4.x nic... george anzinger
- Re: [test-PATCH] Re: [QUESTION] 2.4.... Pavel Machek
- Re: [test-PATCH] Re: [QUESTION] ... Rik van Riel
- Re: [test-PATCH] Re: [QUESTION] ... george anzinger
- Re: [QUESTION] 2.4.x nice level Tor Arntsen