lkml.org 
[lkml]   [2013]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 15/34] frv: handle pgtable_page_ctor() fail
Date
David Howells wrote:
>
> Acked-by: David Howells <dhowells@redhat.com>
>
> for the FRV and MN10300 patches.
>
> Can you move pte_alloc_one() to common code, at least for some arches? I
> think that the FRV and MN10300 ones should end up the same after this - and I
> wouldn't be surprised if some of the other arches do too.

There's no true approach for generic. It depends on what pgtable_t is:
pointer to struct page or virtual address of the allocated page table.
Some arches also use some sort of cache for page table allocator. Others
don't.

I don't see a sensible way generalize it.

--
Kirill A. Shutemov


\
 
 \ /
  Last update: 2013-10-14 11:21    [W:0.065 / U:7.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site