Re: [05/17] vunmap: return page array

2007-09-19 Thread KAMEZAWA Hiroyuki
On Wed, 19 Sep 2007 15:15:58 -0700 (PDT) Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Wed, 19 Sep 2007, KAMEZAWA Hiroyuki wrote: > > > Hmm, I don't like returning array which someone allocated in past and > > forgot. > > But that is exactly the point. There is no need to keep track of the

Re: [05/17] vunmap: return page array

2007-09-19 Thread Christoph Lameter
On Wed, 19 Sep 2007, KAMEZAWA Hiroyuki wrote: > Hmm, I don't like returning array which someone allocated in past and forgot. But that is exactly the point. There is no need to keep track of the information that is of no interest until the disposition of the mapping. > And, area->page[] array u

Re: [05/17] vunmap: return page array

2007-09-19 Thread KAMEZAWA Hiroyuki
On Tue, 18 Sep 2007 20:36:10 -0700 Christoph Lameter <[EMAIL PROTECTED]> wrote: > Make vunmap return the page array that was used at vmap. This is useful > if one has no structures to track the page array but simply stores the > virtual address somewhere. The disposition of the page array can be >

[05/17] vunmap: return page array

2007-09-18 Thread Christoph Lameter
Make vunmap return the page array that was used at vmap. This is useful if one has no structures to track the page array but simply stores the virtual address somewhere. The disposition of the page array can be decided upon after vunmap. vfree() may now also be used instead of vunmap which will rel