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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080720145003.7c1b05cb@infradead.org>
Date:	Sun, 20 Jul 2008 14:50:03 -0700
From:	Arjan van de Ven <arjan@...radead.org>
To:	Daniel Walker <dwalker@...sta.com>
Cc:	linux-kernel@...r.kernel.org, mingo@...e.hu,
	Rene Herman <rene.herman@...access.nl>,
	Simon Arlott <simon@...e.lp0.eu>,
	Alan Stern <stern@...land.harvard.edu>
Subject: Re: [patch 5/3] fastboot: sync the async execution before
 late_initcall and move level 6s (sync) first

On Sun, 20 Jul 2008 14:14:59 -0700
Daniel Walker <dwalker@...sta.com> wrote:

> On Sun, 2008-07-20 at 09:00 -0700, Arjan van de Ven wrote:
> > @@ -775,6 +776,11 @@ static void __init do_initcalls(void)
> >                 }
> >                 if (phase == 1 && call >= __async_initcall_end)
> >                         phase = 2;
> > +               if (phase == 2 && call >= __device_initcall_end) {
> > +                       phase = 3;
> > +                       /* make sure all async work is done before
> > level 7 */
> > +                       flush_workqueue(async_init_wq);
> > +               }
> >                 if (phase != 1)
> >                         do_one_initcall(*call);
> >         }
> 
> Did this impact the boot time improvements at all?

not much in my measurement; but on my system .. level 7 is mostly empty
so there's not much difference


-- 
If you want to reach me at my work email, use arjan@...ux.intel.com
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ