Re: paging in realtime context ...

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

 



On 28.06.2013 16:14, Lars Segerlund wrote:

>  Quick question, if I mlock my app and prefault the stacks, what
> happens if I haven't linked static and use a library ?
> 
>  Surely a bunch of pagefaults ?

I am no kernel expert but as I understand it should not matter
whether the application is linked statically or dynamically.
What is mapped gets locked.

After mlockall returns you should only get pagefaults if the
mapping changes (heap grows, you call mmap, dlopen()
a library, start a new thread, ...).

-- 
                                            Stano

--
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