Re: [RFC 4/4]x86: avoid tlbstate lock if no enough cpus

From: Eric Dumazet
Date: Wed Nov 03 2010 - 05:08:16 EST


Le mercredi 03 novembre 2010 Ã 16:41 +0800, Shaohua Li a Ãcrit :

> yes, this is ok. we might need avoid some cpu hotplug race too. I'll
> post a new patch later.
>
>

Hmm, maybe only set the variable "must take the lock", never unset it.



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