lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 26 Sep 2008 13:54:33 +0800
From:	Yong Wang <yong.y.wang@...ux.intel.com>
To:	arjan@...ux.intel.com
Cc:	linux-kernel@...r.kernel.org, qi.wang@...el.com
Subject: [PATCH] fastboot: Enter the initcall loop only once for all async
	initcalls


fastboot: Enter the initcall loop only once for all async initcalls

Only need to enter the initcall loop once for all async initcalls since
they have been submitted to async work queue all together when the loop
is entered for the first async initcall.

Signed-off-by: Yong Wang <yong.y.wang@...el.com>
Signed-off-by: Qi Wang <qi.wang@...el.com>
---
 init/main.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/init/main.c b/init/main.c
index 8967835..672dabf 100644
--- a/init/main.c
+++ b/init/main.c
@@ -788,6 +788,7 @@ static void __init do_initcalls(void)
 #else
 			do_async_initcalls(NULL);
 #endif
+			call = __async_initcall_end - 1;
 		}
 		if (phase == 1 && call >= __async_initcall_end)
 			phase = 2;
--
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