Re: [PATCH] x86, cpa: Cleanup split_large_page and its callee

2013-03-26 Thread Thomas Gleixner
On Thu, 21 Mar 2013, Borislav Petkov wrote: > From: Borislav Petkov > > 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

Re: [PATCH] x86, cpa: Cleanup split_large_page and its callee

2013-03-26 Thread Thomas Gleixner
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

[PATCH] x86, cpa: Cleanup split_large_page and its callee

2013-03-21 Thread Borislav Petkov
From: Borislav Petkov 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

[PATCH] x86, cpa: Cleanup split_large_page and its callee

2013-03-21 Thread Borislav Petkov
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