Re: Is swap really needed when RAM's aplenty

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

 



Michael Hennebry <hennebry <at> web.cs.ndsu.nodak.edu> writes:

> 
> > If I remember my Kerningham-Ritchie correctly, the answer is yes, since
> > C relies on pointer arithmetic to refer to the elements of the array.
> > The "fred" and "greg" variables are pointers to the beginning of the
> > corresponding memory area, and referring fred[i] goes to the start of
> > the array at fred, and then goes i elements forward to end up with the
> > wanted element.
> 
> That is contiguous in terms of virtual memory.
> Adjacent virtual addresses do not have to have adjacent physical addresses.
> 
Hi,
http://www.patentstorm.us/patents/6986016/description.html
...
For application (that is, user-mode) programming, standard APIs provided for
memory allocation are malloc ( ) and realloc ( ). In both cases, the contiguity
of the underlying physical memory is not guaranteed. Consequently, these calls
are not suitable for use in cases in which contiguous physical memory is
required.
...
JB




-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux