Re: [PATCH] fix cpufreq_stats attrs removal



On Thu, Mar 22, 2007 at 06:02:01PM +0100, Mattia Dongili wrote:

The problem is cpufreq_stats doesn't know when a cpufreq driver is
removed and doesn't cleanup. I guess this affects any setup with
cpufreq_stats.
The attached patch seems to solve both symptoms and yes... it's quite
invasive as it introduce one more cpufreq policy notification (REMOVED).

BTW: the patch is against .21-rc4-mm1 but applies with some fuzz to
2.6.20 too

Alternatively, as it's just debug functionality, we could just
mark it unsafe for rmmod, which is nastier, but a lot less invasive
to the non-debug code.

Dave

--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • [patch] s390: setup.c cleanup + build fix
    ... considered a cleanup it can be merged anyway. ... Patch is against 2.6.17-mm1. ... Machine setup.. ... static struct resource code_resource = { ...
    (Linux-Kernel)
  • Re: [PATCH 01 of 11] mmu-notifier-core
    ... A third solution is to add: ... Do you still prefer the bitflag or you prefer ... Also note the rculist.h patch you sent earlier won't work against ... feature and a tiny cleanup that nobody can notice anyway. ...
    (Linux-Kernel)
  • Re: [2.6 patch] drivers/block/ps2esdi.c: remove two unused functions (fwd)
    ... > The patch below still applies and compiles against 2.6.10-mm2. ... You remove the setup functions, but not the rest of the code. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Game problems
    ... The setup never starts. ... OK I downloaded the patch. ... || There are three download locations to chose from. ... Ok I have Windows XP and the game I have, "the 11th Hour", was made a few ...
    (microsoft.public.windowsxp.games)
  • [PATCH] Extended interrupt LVT support for AMD Barcelona
    ... This patch adds extended interrupt support for AMD Barcelona CPUs. ... the APIC setup code is ... * MCE interrupts are supported. ...
    (Linux-Kernel)