lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 2 Jun 2008 13:25:08 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Jeremy Fitzhardinge <jeremy@...p.org>
Cc:	x86@...nel.org,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Jan Beulich <jbeulich@...ell.com>,
	Xen-devel <xen-devel@...ts.xensource.com>
Subject: Re: [PATCH] xen: avoid hypercalls when updating unpinned pud/pmd


* Jeremy Fitzhardinge <jeremy@...p.org> wrote:

> When operating on an unpinned pagetable (ie, one under construction or 
> destruction), it isn't necessary to use a hypercall to update a 
> pud/pmd entry.  Jan Beulich observed that a similar optimisation 
> avoided many thousands of hypercalls while doing a kernel build.
>
> One tricky part is that early in the kernel boot there's no page 
> structure, so we can't check to see if the page is pinned.  In that 
> case, we just always use the hypercall.
>
> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@...rix.com>
> Cc: Jan Beulich <jbeulich@...ell.com>

applied to tip/x86/xen, thanks Jeremy.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ