Sunday, 8 September 2013

Would turning off feature in kernel cause kernel module(using feature) to misbehave?

Would turning off feature in kernel cause kernel module(using feature) to
misbehave?

I am using KVM as a kernel module. I want to turn off the huge page
support. I did not find any option in KVM source to turn if off.
However, I see a kernel wide option to turn it off. If I disable a huge
page feature using compile time config option CONFIG_TRANSPARENT_HUGEPAGE,
the kernel source would not be able to use it, right ? Or at least fail
gracefully citing missing feature ? Either of above is fine, I just wanted
to know if it could have some unknown problems.

No comments:

Post a Comment