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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 26 Mar 2013 21:56:05 +0100 (CET)
From:	Thomas Gleixner <tglx@...utronix.de>
To:	Borislav Petkov <bp@...en8.de>
cc:	X86 ML <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>,
	Borislav Petkov <bp@...e.de>
Subject: Re: [PATCH] x86, cpa: Cleanup split_large_page and its callee

On Thu, 21 Mar 2013, Borislav Petkov wrote:

> From: Borislav Petkov <bp@...e.de>
> 
> So basically we're generating the pte_t * from a struct page and we're
> handing it down to the __split_large_page internal version which then
> goes and gets back struct page * from it because it needs it.
> 
> Change the caller to hand down struct page * directly and the callee can
> compute the pte_t itself.
> 
> Net save is one virt_to_page() call and simpler code. While at it, make
> __split_large_page static.
> 
> Signed-off-by: Borislav Petkov <bp@...e.de>

Acked-by: Thomas Gleixner <tglx@...utronix.de>
--
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