[PATCH 2/2] powerpc,kexec: Speedup kexec hpte tear down
michael at ellerman.id.au
Tue May 11 21:36:11 EDT 2010
On Wed, 2010-05-12 at 11:06 +1000, Michael Neuling wrote:
> > > We probably only do the remove on < 1% of the hptes now. So I doubt we
> > > would get a speedup since most of the time we aren't do the remove
> > > anymore.
> > It would be nice to have some actual numbers. Could you add some
> > counters and print the results at the end? (Or don't you have any
> > way to print things at that stage?)
> Printing is hard at that point but I think we can do it. I'll try to
> when I get some time.
A version of udbg_putcLP() that uses a raw hcall should work, or there
was code added to purgatory recently to print to the HV console which
you could nick.
> A heavily loaded system which kdumps will need a lot more hptes removes
> than kexec, so stats for both these cases might be useful also.
Yeah, or even a system that is kexec'ed while lots of stuff is still
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: This is a digitally signed message part
More information about the kexec