From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262701AbVAVL0M (ORCPT ); Sat, 22 Jan 2005 06:26:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262702AbVAVL0M (ORCPT ); Sat, 22 Jan 2005 06:26:12 -0500 Received: from ns.suse.de ([195.135.220.2]:62091 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S262701AbVAVL0K (ORCPT ); Sat, 22 Jan 2005 06:26:10 -0500 Date: Sat, 22 Jan 2005 12:26:08 +0100 From: Andi Kleen To: Pavel Machek Cc: Andi Kleen , "Rafael J. Wysocki" , Andrew Morton , LKML Subject: Re: [PATCH][RFC] swsusp: speed up image restoring on x86-64 Message-ID: <20050122112608.GB1303@wotan.suse.de> References: <200501202032.31481.rjw@sisk.pl> <20050122025019.GC27060@wotan.suse.de> <20050122095432.GA2366@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050122095432.GA2366@elf.ucw.cz> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > + * 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. Also if you want to really flush everything you should do a global flush. -Andi