Re: [PATCH] fix problem with reschenduling in rest_init(2.6.35-rc3)

From: Илья Логинов
Date: Thu Jun 24 2010 - 10:08:58 EST


On Thu, 24 Jun 2010 17:23:34 +0400
Ilya Loginov <isloginov@xxxxxxxxx> wrote:

> Strange, but init does not die after I did this. Fix me if I wrong, but it wants
> to have pid 1, and die in other case.
>
> Interesting...

Yeah, of course, I am wrong. To make it clear I watched sources of sysvinit and
founded out that if pid not equal to 1 init does

exit(telinit(p, argc, argv));

So, it does not die. Anyway, I would have kernel panic.

--
Илья Логинов <zerone2@xxxxxxxxx>
╒ИЛ╧╩╝&ч~╨&╤╛√+-╠Ищ╤╔┼w╝·к⌡╠йБmИb·Лdz╧ч√)М┘ФХw*jg╛╠╗╤┴ ▌┼щ╒j/│ЙДz╧ч√┼Ю2┼ч≥╗Х╜з&╒)ъ║╚a╤зЧЬ╝G╚²Иh╝Фj:+v┴╗┼wХ├ы╔>W ╠ЙчiшaxPjьm╤÷Ъц -╩+┐Ыd _