Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751123Ab3HSJ4r (ORCPT ); Mon, 19 Aug 2013 05:56:47 -0400 Received: from terminus.zytor.com ([198.137.202.10]:37588 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750773Ab3HSJ4p (ORCPT ); Mon, 19 Aug 2013 05:56:45 -0400 Date: Mon, 19 Aug 2013 02:55:43 -0700 From: tip-bot for Xie XiuQi Message-ID: Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@kernel.org, rusty@rustcorp.com.au, a.p.zijlstra@chello.nl, jens.axboe@oracle.com, xiexiuqi@huawei.com, tglx@linutronix.de, sheng@linux.intel.com Reply-To: mingo@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org, a.p.zijlstra@chello.nl, rusty@rustcorp.com.au, jens.axboe@oracle.com, xiexiuqi@huawei.com, sheng@linux.intel.com, tglx@linutronix.de In-Reply-To: <51F5E6F8.1000801@huawei.com> References: <51F5E6F8.1000801@huawei.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:core/locking] generic-ipi/locking: Fix misleading smp_call_function_any() description Git-Commit-ID: 15e71911fcc655508e02f767a3d9b8b138051d2b X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (terminus.zytor.com [127.0.0.1]); Mon, 19 Aug 2013 02:55:54 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1659 Lines: 42 Commit-ID: 15e71911fcc655508e02f767a3d9b8b138051d2b Gitweb: http://git.kernel.org/tip/15e71911fcc655508e02f767a3d9b8b138051d2b Author: Xie XiuQi AuthorDate: Mon, 29 Jul 2013 11:52:24 +0800 Committer: Ingo Molnar CommitDate: Mon, 19 Aug 2013 09:03:50 +0200 generic-ipi/locking: Fix misleading smp_call_function_any() description Fix locking description: after commit 8969a5ede0f9e17da4b9437 ("generic-ipi: remove kmalloc()"), wait = 0 can be guaranteed because we don't kmalloc() anymore. Signed-off-by: Xie XiuQi Cc: Sheng Yang Cc: Peter Zijlstra Cc: Jens Axboe Cc: Rusty Russell Link: http://lkml.kernel.org/r/51F5E6F8.1000801@huawei.com Signed-off-by: Ingo Molnar --- kernel/smp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/smp.c b/kernel/smp.c index fe9f773..b1c9034 100644 --- a/kernel/smp.c +++ b/kernel/smp.c @@ -278,8 +278,6 @@ EXPORT_SYMBOL(smp_call_function_single); * @wait: If true, wait until function has completed. * * Returns 0 on success, else a negative status code (if no cpus were online). - * Note that @wait will be implicitly turned on in case of allocation failures, - * since we fall back to on-stack allocation. * * Selection preference: * 1) current cpu if in @mask -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/