lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <75ce7c301f0f3b8d1bd7fa94e0f54984ccb851be.camel@linux.intel.com>
Date:   Thu, 19 Jan 2023 10:01:06 -0800
From:   srinivas pandruvada <srinivas.pandruvada@...ux.intel.com>
To:     "Rafael J. Wysocki" <rafael@...nel.org>
Cc:     Daniel Lezcano <daniel.lezcano@...aro.org>,
        linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
        rui.zhang@...el.com, amitk@...nel.org
Subject: Re: [PATCH v3 2/4] powercap: idle_inject: Add update callback

On Tue, 2023-01-17 at 16:09 +0100, Rafael J. Wysocki wrote:

Hi Daniel,

> On Tue, Jan 17, 2023 at 4:08 PM srinivas pandruvada
> <srinivas.pandruvada@...ux.intel.com> wrote:
> > 
> > On Tue, 2023-01-17 at 12:13 +0100, Daniel Lezcano wrote:
> > > On 17/01/2023 03:07, Srinivas Pandruvada wrote:
> > > 
> > > [ ... ]
> > > 
> > > > +struct idle_inject_device *idle_inject_register(struct cpumask
> > > > *cpumask)
> > > > +{
> > > > +       return idle_inject_register_full(cpumask, NULL);
> > > > +}
> > > >   EXPORT_SYMBOL_NS_GPL(idle_inject_register, IDLE_INJECT);
> > > 
> > > Why not just add the parameter to idle_inject_register() ?
> > > 
> > > There is only one user ATM
> > That was done in v1. But Rafael suggested to avoid changes to
> > existing
> > kernel source.
> 
> However, it can be done if Daniel prefers that.  It is 1 callback now
> only, so no big deal I suppose.
Do you have preference? I can submit an update.

Thanks,
Srinivas



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ