Re: mm: migrate_pages using

2007-03-14 Thread KAMEZAWA Hiroyuki
On Mon, 12 Mar 2007 19:57:58 +0100 Michal Hocko <[EMAIL PROTECTED]> wrote: > What do you think about that. Is this way correct? > If you are sure that your "original" pages is never freed while you are migrating it.maybe. -Kame - To unsubscribe from this list: send the line "unsubscribe li

Re: mm: migrate_pages using

2007-03-12 Thread Michal Hocko
On Mon, Mar 12, 2007 at 04:32:55PM +0900, KAMEZAWA Hiroyuki wrote: > > > When I try to put_page(original) (because I don't want it for this > > moment) I get to bad_page path and need to reboot... > > > > What am I missing? Am I using migrate_pages correctly? > > > > == > migrate_pages()

mm: migrate_pages using

2007-03-11 Thread Michal Hocko
Hello. I have some problems with migrate_pages understanding. Here is my situation: I need to change virtual page mapping (all stuff referring to the page) to new physical location. Page is present for the process and new page is already allocated (and not mapped anywhere). I thought that direct