Malacaih,
I've had kernel_task issues with several different OS versions - Mountain Lion, Yosemite and now El Capitan.
For me, kernel_task most frequently misbehaves when my MacBook Pro 8,2 is connected to external devices - an external monitor, something plugged into the audio out (headphone jack), etc.
Try using the computer standalone - starting the computer with all external devices disconnected - and see if that resolves kernel_task swallowing up all your CPU cycles. If so, connect one external device, reboot, launch Activity Monitor and observe. Disconnect, shut down, and connect a different (and only one) external device, and lather, rinse, repeat. Essentially, try to identify which external device is pulling the trigger on kernel_task. Depending on what you observe, there may be specific (or more global) solutions available to you.
Hope this helps some.