Re: [PATCH 1/1] export native versions of machine_ops functions

From: Glauber Costa
Date: Thu Mar 06 2008 - 06:49:19 EST


On Thu, Mar 6, 2008 at 7:55 AM, Ingo Molnar <mingo@xxxxxxx> wrote:
>
> * Glauber Costa <gcosta@xxxxxxxxxx> wrote:
>
> > People overriding machine_ops provided functions may want to call the
> > native version after its pre-processing. It already happens for the
> > smp_ops functions, so I don't see a reason for avoiding it here.
>
> i'd like to do this only if there are actual users - otherwise we'll get
> a trickle of "make needlessly global functions static" patches a few
> weeks later ;-)
>
> Ingo
>

KVM is a user for that. Because it registers a memory area in which
the host will be continually writting to (the clock), when it
shutdown, the host
have no way to know it has to stop. If you're really shutting down,
there's no problem. But if you're kexecing, for example, the host will
keep writting to a random
memory area after the new kernel installs.


--
Glauber Costa.
"Free as in Freedom"
http://glommer.net

"The less confident you are, the more serious you have to act."
--
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/