In that case, wouldn't it make more sense to build the Linux kernel without those features, or to replace them with sufficient mocks?