Re: pagefaults ...

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

 



On Fri, Jun 14, 2013 at 09:45:17AM +0200, Stanislav Meduna wrote:
> On 14.06.2013 07:18, Lars Segerlund wrote:
>
> >  I have an application which should be realtime but apparently
> > generates page faults from a realtime context, I am trying to find a
> > way to get a stacktrace when this occurs, does anybody have any ideas
> > ?
>
[..]
>
> Basic questions:
>
> - do you call mlockall(MCL_CURRENT | MCL_FUTURE) _before_ your
>   threads are started?
>
> - do the faulting threads allocate memory?
>
> - do the faulting threads call kernel functions that might allocate memory?

Throwing in an additional question here that recently bit us:

  - does your application make use of fork(), popen(), daemon(), or any
    other call which under-the-hood invokes clone() with CLONE_VM not set?

  Josh

Attachment: pgpl5vw_R2hpI.pgp
Description: PGP signature


[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