[PATCH v1 1/4] power: add uncore api to power library
    Stephen Hemminger 
    stephen at networkplumber.org
       
    Mon Jul 11 18:36:45 CEST 2022
    
    
  
On Mon, 11 Jul 2022 16:22:57 +0000
tadhgkearney <tadhg.kearney at 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.
    
    
More information about the dev
mailing list