Re: Locking shared memory

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

 



Allen, Jack wrote:

> Michael:
> 	Thanks for the information. After I posted the last update I did
> some more testing related to page boundaries. I did ps =
> sysconf(_SC_PAGESIZE) which set ps to 4096. I then logged the results of
> (addr % ps) for each address and (size % ps) for each size before
> calling mlock(addr,size). Both calulations logged 0, which means the
> address starts on a page boundary and ends on a page boundary. So I am
> still at a loss as to why only the last segment fails.
> 
> 	Any more thoughts or things to check from you or anybody?
> 
> Thanks:
> Jack Allen
> 
> 

Send us some example code, and I shall have a look into it?

Cheers

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux