Re: apm emulation driver broken ?

From: Rafael J. Wysocki
Date: Fri Nov 16 2007 - 11:03:44 EST


Hi,

On Friday, 16 of November 2007, Franck Bui-Huu wrote:
> Rafael,
>
> Looking at commit:
>
> 831441862956fffa17b9801db37e6ea1650b0f69
> Freezer: make kernel threads nonfreezable by default
>
> it seems that you broke the apm emulation driver.
>
> You removed PF_NOFREEZE flag setting in apm_ioctl(), which is
> definitely not part of the apm kernel daemon but instead is called by
> user space proccesses...

Yes ...

> I'm just reading this code for the first time so I can be wrong but it
> looks like it's not going to work anymore.
>
> Could you confirm ?

Well, no, AFAICS.

The freezer doesn't regard the current task as freezable.

Greetings,
Rafael
-
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/