Re: [PATCH 0/3 -mm] kexec jump -v8

From: Huang, Ying
Date: Fri Dec 21 2007 - 03:58:17 EST


On Fri, 2007-12-21 at 19:35 +1100, Nigel Cunningham wrote:
> Hi.
>
> Huang, Ying wrote:
> > This patchset provides an enhancement to kexec/kdump. It implements
> > the following features:
> >
> > - Backup/restore memory used both by the original kernel and the
> > kexeced kernel.
>
> Why the kexeced kernel as well?

The memory range used by kexeced kernel is also the usable memory range
in original kernel. Maybe should be: backup/restore memory used by both
the original kernel and the kexeced kernel. My English is poor.

> [...]
>
> > The features of this patchset can be used as follow:
> >
> > - Kernel/system debug through making system snapshot. You can make
> > system snapshot, jump back, do some thing and make another system
> > snapshot.
>
> Are you somehow recording all the filesystem changes after the first
> snapshot? If not, this is pointless (you'll end up with filesystem
> corruption).

This snapshot is not used for restore/resume. It is just used for
debugging. You can check the system state with these snapshots. So I
think it is useful even without recording filesystem changes.

> [...]
>
> > - Cooperative multi-kernel/system. With kexec jump, you can switch
> > between several kernels/systems quickly without boot process except
> > the first time. This appears like swap a whole kernel/system out/in.
>
> How is this useful to the end user?

I am not sure how useful is this. Maybe I can run a Redhat and a Debian
on my machine and switch between them.

Best Regards,
Huang Ying

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/