added kernel pinning hooks