Displaying 6 results from an estimated 6 matches for "vmspace".
Did you mean:
nmspace
2004 May 07
0
Fwd: [Re: cvs commit: src/sys/vm vm_map.c]
..., 2004 at 12:37:35AM -0800, Tim J. Robbins wrote:
> +> tjr 2004/03/23 00:37:34 PST
> +>
> +> FreeBSD src repository
> +>
> +> Modified files:
> +> sys/vm vm_map.c
> +> Log:
> +> Do not copy vm_exitingcnt to the new vmspace in vmspace_exec(). Copying
> +> it led to impossibly high values in the new vmspace, causing it to never
> +> drop to 0 and be freed.
>
> How serious it is? Do you planning to MFC it to RELENG_4 with peter@'s
> patch of course?
A user can cause the kernel to allocate...
2006 Mar 02
1
Failing to understand getrusage()
I'm failing to understand how getrusage() works, which is a bit perplexing,
because it doesn't seem like it would be terribly complicated.
I've attached the code. My aim is to verify that I can use getrusage() to
do (admittedly crude) instrumentation of which functions in my program are
allocating lots of memory[1]. So I figure I can call getrusage() at various
points and look at
2003 Oct 01
1
4.9 RC1 (i386) mplayer induced panic
...s = -1070447284
esp = 0
softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, ssd_dpl = 0, ssd_p = 1,
ssd_xx = 5, ssd_xx1 = 0, ssd_def32 = 1, ssd_gran = 1}
#4 0xc02d0649 in trap_pfault (frame=0xc032d134, usermode=0, eva=48)
at /usr/src/sys/i386/i386/trap.c:867
va = 0
vm = (struct vmspace *) 0x0
map = 0xc
rv = 0
ftype = 0 '\000'
p = (struct proc *) 0x0
#5 0xc02d0233 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = -1036583680,
tf_ebp = -1070411396, tf_isp = -1070411424, tf_ebx = -1070260740, tf_edx = 6865984,
tf_ecx = -618392704, tf...
2013 Jul 22
2
stopping amd causes a freeze
Occasionally stopping amd freezes my system. It's a rare occurrence,
and I haven't found a reliable way to reproduce it.
It's also a real freeze, so there's no way to get into the debugger
or grab a core dump. I only can perform the 4 seconds hard shutdown to
revive the system.
I run amd through sysutils/automounter, which is a scripting solution
that generates an amd.map file
2006 Apr 12
1
powerd not behaving with an Asus A8V-MX and Athlon 64 X2 3800+
...0, 0
mbuf_jumbo_9: 9216, 0, 0, 0, 0
mbuf_jumbo_p: 4096, 0, 0, 0, 0
mbuf_cluster: 2048, 25600, 192, 22, 448
mbuf: 256, 0, 193, 332, 412
mbuf_packet: 256, 0, 384, 141, 3
VMSPACE: 300, 0, 31, 21, 543
UPCALL: 44, 0, 0, 0, 0
KSEGRP: 88, 0, 112, 88, 112
THREAD: 372, 0, 112, 18, 112
PROC: 524, 0, 79, 33, 591
Files: 72,...
2003 Aug 22
3
PAE removal patch for testing
...et_t) IdlePTD);
+ pmap->pm_count = 1;
pmap->pm_active = 0;
pmap->pm_ptphint = NULL;
TAILQ_INIT(&pmap->pm_pvlist);
bzero(&pmap->pm_stats, sizeof pmap->pm_stats);
-#ifdef PAE
- pmap->pm_pdpt = IdlePDPT;
-#endif
}
/*
@@ -1064,66 +1118,51 @@
* such as one in a vmspace structure.
*/
void
-pmap_pinit(pmap_t pmap)
+pmap_pinit(pmap)
+ register struct pmap *pmap;
{
- vm_page_t m, ma[NPGPTD];
- vm_paddr_t pa;
- int i;
+ vm_page_t ptdpg;
/*
* No need to allocate page table space yet but we do need a valid
* page directory table.
*/
- if (pmap->pm_pd...