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

Илья Логинов
2010-06-24T14:08:51Z

On Thu, 24 Jun 2010 17:23:34 +0400
Ilya Loginov <isloginov@gmail.com> 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@gmail.com>
ЪТХ╨{.nг+┴╥÷╝┴╜├+%┼кЪ╠Ищ╤\x17╔┼wЪ╨{.nг+┴╥╔┼{╠ЧG╚²ИЪ┼{ay╨\x1dй┤з≥К,j\a╜╒fё╒╥h ▐О│ЙЪ▒ЙГz_Х╝\x03(╜И ▌┼щ╒j"²З\x1a╤^[m╖ЪЪ╬\a╚ЧG╚²ИЪ╒╦?≥╗Х╜з&ёЬ╖~▐А╤iO∙Ф╛z╥ vь^\x14\x04\x1a╤^[m╖ЪЪц\fЪ╤ЛЪ╒╦?√I╔