On Tue, Mar 11, 2014 at 11:34:21PM +0800, Ming Lei wrote: > I mean the below block can be put inside the previous lock:
Oh, *now* I see what you mean. Please, ignore my prevous reply. Still, we want to release the lock as soon as possible and there is no reason to the below bits it under lock. > if (nr_free == 1) > cpumask_set_cpu() > > As I mentioned, 'nr_free == 1' doesn't happen frequently, so > it won't be big deal, will it? -- Regards, Alexander Gordeev agord...@redhat.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/