Re: [patch 2/4] fix input layer f_ops abuse

From: Dmitry Torokhov
Date: Fri Jan 06 2006 - 18:11:08 EST


On 1/6/06, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
> From: Arjan van de Ven <arjan@xxxxxxxxxxxxx>
>
> The input layer has an assignment to a live ->fops, just after creating the
> fops as a duplicate of another one. Just move this assignment a few lines up to avoid
> the race and the assignment to a live fops
>

I do not understand how it will fix the "race", there is still a split
second between "entry" having default fops and modified one. I'd
prefer you fix the comment to reflect that the only change is because
fops is now constant.

--
Dmitry
-
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/