Messages in this thread |  | | Date | Fri, 16 Dec 2022 16:01:44 +0100 | From | Peter Zijlstra <> | Subject | Re: [PATCH 2/2][v2] cpuidle-haltpoll: Build as module by default |
| |
On Thu, Dec 08, 2022 at 02:32:15AM +0000, Li,Rongqing wrote: > > > > Allow user to unload it in running > > > > Just like that? And corrupt things left and right while at it? > > > > No way. > > > > And why do you need this? > > Cpuidle-haltpoll can not improve performance for all cases, like when > guest has mwait, unixbench shows a small performance drop; So change > it as module, user can insmod this drivers and rmmod this driver at > run time
I'm thinking all this can be achieved by a small change to haltpoll_want().
|  |