On Mon, 11 Jul 2022 16:22:57 +0000 tadhgkearney <tadhg.kear...@intel.com> wrote:
> + FILE *f_cur_min; /**< FD of scaling_min */ > + FILE *f_cur_max; /**< FD of scaling_max */ > + FILE *f_base_min; /**< FD of initial min */ > + FILE *f_base_max; /**< FD of initial max */ Do you need to hold these extra FD's open? Also wasteful to use stdio for simple control sysfs like this.