Tried smartass, no luck. Saw maxwen's smartmax-
-it worked! Thanks maxwen.

References to smartass in this code a due purely to my laziness.
See cpufreq_smartmax.c for the unadulterated code.