Re: Concerning a post that you made about expandable anonymous shared mappings

2007-07-09 Thread William Tambe
it can do. It may be a great idea: but it's really not needed to solve this particular little problem. As last time around, you were suggesting .mremap callouts; but I much prefer your original shmem_zero_nopage, which is a solution of the scale appropriate to the problem. Such a thing coul

Re: Concerning a post that you made about expandable anonymous shared mappings

2007-07-10 Thread William Tambe
Hugh Dickins wrote: On Mon, 9 Jul 2007, William Tambe wrote: Hugh Dickins wrote: I've come right around to your original view, Stas, and William's: if that mmap creates such an object, then the expanding mremap really ought to be useful, and allow the underlying object to be exp

Re: Concerning a post that you made about expandable anonymous shared mappings

2007-07-11 Thread William Tambe
Stas Sergeev wrote: Hi. William Tambe wrote: I understand your concern. But since I am working on a dynamic memory management code that I wish to use with other projects that I have, I didn't find appropriate to use shm_open. Could you please provide a detailed list of the problem

Concerning a post that you made about expandable anonymous shared mappings

2007-06-29 Thread William Tambe
I read a post that you made about not being able to expand anonymous shared mapping with mremap(). And I am actually having that issue now. You made the post in 2004 and we are now in 2007. I would like to know if that feature was added because the code below always fail with bus error on my m

Re: Concerning a post that you made about expandable anonymous shared mappings

2007-07-02 Thread William Tambe
writing in an expended area not to generate a Bus error? Sincerely, William Tambe Hugh Dickins wrote: On Fri, 29 Jun 2007, William Tambe wrote: I read a post that you made about not being able to expand anonymous shared mapping with mremap(). And I am actually having that issue now. I gu