On Thu, 21 Mar 2013, Borislav Petkov wrote:

> From: Borislav Petkov <b...@suse.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 <b...@suse.de>

Acked-by: Thomas Gleixner <t...@linutronix.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to