Re: Re: where to release proc.p_stats

2005-10-26 Thread David Schultz
On Mon, Oct 24, 2005, nocool wrote: Can memory management system utilize COW to supply zero-filled page to kernel or user process. That is to say: When processes want zeroed page, we give them a mirror of one already zerod pages. If they just read, they can read zero from the back page.

Re: where to release proc.p_stats

2005-10-25 Thread John Baldwin
On Friday 21 October 2005 06:04 pm, Julian Elischer wrote: John Baldwin wrote: On Friday 21 October 2005 04:32 pm, David Schultz wrote: On Fri, Oct 21, 2005, John Baldwin wrote: On Friday 21 October 2005 09:13 am, nocool wrote: freebsd-hackers�ï�¼Œhello Question about 5.4 kernel source

Re: Re: where to release proc.p_stats

2005-10-24 Thread nocool
I didn't notice the UMA_ZONE_NOFREE flag of proc_zone, so proc items will not be recycled. But the existence of proc_fini really confused me. Another question? Can memory management system utilize COW to supply zero-filled page to kernel or user process. That is to say: When processes want

Re: where to release proc.p_stats

2005-10-21 Thread John Baldwin
On Friday 21 October 2005 09:13 am, nocool wrote: freebsd-hackers,hello Question about 5.4 kernel source code. I have some question about strust proc's initialize. Kernel use proc_zone to allocate proc items and initialize them with proc_init (sys\kern\kern_proc.c) function. In

Re: where to release proc.p_stats

2005-10-21 Thread David Schultz
On Fri, Oct 21, 2005, John Baldwin wrote: On Friday 21 October 2005 09:13 am, nocool wrote: freebsd-hackersï¼Œhello Question about 5.4 kernel source code. I have some question about strust proc's initialize. Kernel use proc_zone to allocate proc items and initialize them

Re: where to release proc.p_stats

2005-10-21 Thread John Baldwin
On Friday 21 October 2005 04:32 pm, David Schultz wrote: On Fri, Oct 21, 2005, John Baldwin wrote: On Friday 21 October 2005 09:13 am, nocool wrote: freebsd-hackersï¼Œhello Question about 5.4 kernel source code. I have some question about strust proc's initialize. Kernel use

Re: where to release proc.p_stats

2005-10-21 Thread Julian Elischer
John Baldwin wrote: On Friday 21 October 2005 04:32 pm, David Schultz wrote: On Fri, Oct 21, 2005, John Baldwin wrote: On Friday 21 October 2005 09:13 am, nocool wrote: freebsd-hackers�ï�¼Œhello Question about 5.4 kernel source code. I have some question about