The patch titled Subject: init: reduce rootwait polling interval time to 5ms has been added to the -mm tree. Its filename is init-reduce-rootwait-polling-interval-time-to-5ms.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/init-reduce-rootwait-polling-interval-time-to-5ms.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/init-reduce-rootwait-polling-interval-time-to-5ms.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Jungseung Lee <js07.lee@xxxxxxxxxxx> Subject: init: reduce rootwait polling interval time to 5ms For several devices, the rootwait time is sensitive because it directly affects booting time. The polling interval of rootwait is currently 100ms. To save unnessesary waiting time, reduce the polling interval to 5 ms. Link: http://lkml.kernel.org/r/20161207060743.1728-1-js07.lee@xxxxxxxxxxx Signed-off-by: Jungseung Lee <js07.lee@xxxxxxxxxxx> Cc: Pierre Ossman <drzeus-list@xxxxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- init/do_mounts.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -puN init/do_mounts.c~init-reduce-rootwait-polling-interval-time-to-5ms init/do_mounts.c --- a/init/do_mounts.c~init-reduce-rootwait-polling-interval-time-to-5ms +++ a/init/do_mounts.c @@ -543,6 +543,8 @@ void __init mount_root(void) #endif } +#define ROOTWAIT_MSEC 5 + /* * Prepare the namespace - decide what/where to mount, load ramdisks, etc. */ @@ -588,7 +590,7 @@ void __init prepare_namespace(void) saved_root_name); while (driver_probe_done() != 0 || (ROOT_DEV = name_to_dev_t(saved_root_name)) == 0) - msleep(100); + msleep(ROOTWAIT_MSEC); async_synchronize_full(); } _ Patches currently in -mm which might be from js07.lee@xxxxxxxxxxx are init-reduce-rootwait-polling-interval-time-to-5ms.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html