Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, i have ubuntu software and i would like to install some patches.The pathes are about the contiguous memory allocator(device drivers). I would like some help about how to do ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2013
    Posts
    5

    Contiguous Memory Allocator


    Hello, i have ubuntu software and i would like to install some patches.The pathes are about the contiguous memory allocator(device drivers). I would like some help about how to do this. Also, may i have to install all these patches that are available? Thank you

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,709
    What, exactly, are you trying to accomplish?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Jan 2013
    Posts
    5
    I have read about CMA in the article "DEEP DIVE INTO CONTIGUOUS MEMORY ALLOCATOR"
    and i would like to install these patches. I have just started to deal with device drivers in linux and i need this to allocate huge contiguous physical memory.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,709
    Ok. First, visit your distribution's web site and read their FAQ on building kernels for that distribution - the instructions for RPM-based ones such as Red Hat, Fedora, Suse are different from DEB-based ones such as Debian, Ubuntu, Mint, et al. Then, install the kernel headers, development, and source packages. At that point, you might be able to simply change the kernel configuration (current kernel config files are usually found in /boot as config-x.y.z* where x.y.z is the kernel version). You would copy that file to the kernel source directory as .config, then run the command "make menuconfig" or "make xconfig". You might be able to simply reconfigure the kernel to use the contiguous memory allocator. If you cannot, then you will need to build the driver source to install (modprobe or insmod) into the kernel. It is usually recommended that you build the kernel and drivers as a normal user, and only install them as root, or with sudo as appropriate for your system ("make install").
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •