Re: [patch 46/61] lock validator: special locking: slab

From: Ingo Molnar
Date: Fri Jun 23 2006 - 05:58:26 EST



* Andrew Morton <akpm@xxxxxxxx> wrote:

> On Mon, 29 May 2006 23:26:49 +0200
> Ingo Molnar <mingo@xxxxxxx> wrote:
>
> > + /*
> > + * Do not assume that spinlocks can be initialized via memcpy:
> > + */
>
> I'd view that as something which should be fixed in mainline.

yeah. I got bitten by this (read: pulled hair for hours) when converting
the slab spinlocks to rtmutexes in the -rt tree.

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