We typically use proc for this, sometimes combined with an ioctl. Some of
these settings are standard in the kernel (bdflush, others) but more often
you will have to apply a patch.
> No one "memory management scheme", for example, can be all things to all
> tasks, and it seems to me that giving users tools to measure and control the
> behavior of memory management, *preferably without having to recompile and
> reboot*, should be a major priority if Linux is to succeed in a wide variety
> of applications.
Linus doesn't seem to like like having tuning knobs appear where a better
algorithm should be used instead. Leaving the knobs out makes people work
harder to come up with solutions that don't need them.
-- Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/