[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1234901512.4744.230.camel@laptop>
Date: Tue, 17 Feb 2009 21:11:52 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Oleg Nesterov <oleg@...hat.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Nick Piggin <npiggin@...e.de>,
Jens Axboe <jens.axboe@...cle.com>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Ingo Molnar <mingo@...e.hu>,
Rusty Russell <rusty@...tcorp.com.au>,
Steven Rostedt <rostedt@...dmis.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -v4] generic-ipi: remove kmalloc()
On Tue, 2009-02-17 at 21:02 +0100, Oleg Nesterov wrote:
> Argh! Sorry-sorry-sorry. I managed to confused myself and you.
>
> Please return to the previous version. With this patch we do:
>
> func(info);
>
> if (!refs && wait)
> csd_complete();
>
> but we can't do csd_complete(), we can not be sure other CPUs
> has already passed this function call.
>
> Of course we can add another counter, but I don't think this
> worth the trouble.
Eek, you're right.
> As for the previous version. I am almost sure I missed something
> again, but do we really need both CSD_FLAG_WAIT and CSD_FLAG_LOCK
> flags? smp_call_function_many(wait => 1) can just wait for
> !CSD_FLAG_LOCK.
I suppose we can.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists