Except properly if KSM not available

Signed-off-by: Jonathan Raffre <jonathan.raffre@nekolover.net>
Merge pull request #797 from nekolover/master

Except properly if KSM not available

Reviewed.