Re: RFC: CONFIG_PAGE_SHIFT (aka software PAGE_SIZE)

Badari Pulavarty
2007-07-07T01:34:52Z

On Sat, 2007-07-07 at 00:26 +0200, Andrea Arcangeli wrote:
> Hello,
>
..
>
> If you want to help/look here the patch:
>
> http://www.kernel.org/pub/linux/kernel/people/andrea/patches/v2.6/2.6.22-rc7/hard-page-size
>

Very interesting patch set. I really would like to support for it.
I would like to play with, please keep the patchset uptodate.

Here is the small nit fix ..

Thanks,
Badari

mm/migrate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.22-rc7/mm/migrate.c
===================================================================
--- linux-2.6.22-rc7.orig/mm/migrate.c 2007-07-01 12:54:24.000000000 -0700
+++ linux-2.6.22-rc7/mm/migrate.c 2007-07-06 19:58:43.000000000 -0700
@@ -169,7 +169,7 @@ static void remove_migration_pte(struct
goto out;

get_page(new);
- pte = pte_mkold(mk_pte(new, vma->vm_page_prot));
+ pte = pte_mkold(mk_pte(new, addr, vma->vm_page_prot));
if (is_write_migration_entry(entry))
pte = pte_mkwrite(pte);
set_pte_at(mm, addr, ptep, pte);