Messages in this thread | | | Date | Sat, 22 Jan 2005 12:30:53 +0100 | From | Pavel Machek <> | Subject | Re: [PATCH][RFC] swsusp: speed up image restoring on x86-64 |
| |
Hi!
> > + * TLB flush is purely and debugging attempt to make it fail fast if we > > + * do something wrong. TLB is properly flushed in swsusp_restore. > > Did you measure it doesn't noticeable slow down suspend? CR3 reload is quite > expensive, and doing it for each page is quite often.
It slows it down horribly on vmware (like adding 2 minutes). On normal hardware, copying pages does not take long enough for me to notice.
> Also if you want to really flush everything you should do a global > flush.
That cr3 reload can probably be just removed, because swsusp is now stable... Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |