Re: Minor page faults from pthread_create()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

2012/1/6 Adrian Knoth <adi@xxxxxxxxxxxxxxxxxxxxx>:
> I was wondering why pthread_create() should cause minor page faults when
> there is a pre-allocated pre-faulted 100MB memory pool.

That pre-allocated block of memory is used by Glibc for its malloc routines.
While doing a pthread_create() you go to the kernel. Inside the kernel
many functions allocate memory as well. This is outside the control of
the C-library.
Probably some function inside the kernel allocates this memory and
uses it, resulting in these page-faults.
One example is allocating memory for the stack.

Kind regards,

Remy
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux