Re: [PATCH] Fix /proc/fb oops after module removal

From: Arjan van de Ven
Date: Sun Apr 13 2008 - 11:47:45 EST


On Sat, 12 Apr 2008 15:20:06 -0700
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Sun, 13 Apr 2008 01:10:29 +0400 Alexey Dobriyan
> <adobriyan@xxxxxxxxx> wrote:
>
> > /proc/fb is not removed during rmmod.
> >
> > Steps to reproduce:
> >
> > modprobe fb
> > rmmod fb
> > ls /proc
> >

>
> hm, that's the sort of thing which one would expect people to notice
> fairly soon after we added the bug. Yet it appears that the bug is
> present in at least 2.6.20 and probably earlier.

rmmod is generally a rare operation... esp for something like a framebuffer

wonder if we need a scripted action that loads all modules and then tries to
unload the ones it can

--
If you want to reach me at my work email, use arjan@xxxxxxxxxxxxxxx
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/