[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJZ5v0iEYwrNjD5wqq-VA4C4KLwYL6O9SXu2bEEh87-4WmsExQ@mail.gmail.com>
Date: Thu, 8 Dec 2022 14:01:53 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: "Li,Rongqing" <lirongqing@...du.com>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"mingo@...hat.com" <mingo@...hat.com>,
"bp@...en8.de" <bp@...en8.de>,
"dave.hansen@...ux.intel.com" <dave.hansen@...ux.intel.com>,
"x86@...nel.org" <x86@...nel.org>,
"daniel.lezcano@...aro.org" <daniel.lezcano@...aro.org>,
"peterz@...radead.org" <peterz@...radead.org>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"tony.luck@...el.com" <tony.luck@...el.com>,
"jpoimboe@...nel.org" <jpoimboe@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>
Subject: Re: [PATCH 1/2][v2] cpuidle-haltpoll: Replace default_idle with arch_cpu_idle
On Thu, Dec 8, 2022 at 1:43 PM Li,Rongqing <lirongqing@...du.com> wrote:
>
> > >
> > > When cpuidle-haltpoll is built as module,
> >
> > But it isn't now.
>
> Centos is compiling it as module, it will fail;
> Other user wants to compile it as module, they will fail,
> Syzbot random configuration building will fail
>
> Unless prohibit to build it as module as below:
>
> config HALTPOLL_CPUIDLE
> - tristate "Halt poll cpuidle driver"
> + bool "Halt poll cpuidle driver"
> depends on X86 && KVM_GUEST
> default y
> help
Ah, OK. Sorry about the confusion.
Yes, the driver (not the governor, though), can be modular, so yes you
need the export, but please change it to EXPORT_SYMBOL_GPL().
Powered by blists - more mailing lists