Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6936967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:18:10+00:00 2026-05-27T12:18:10+00:00

I am trying to port tcmalloc to uclibc. Tcmalloc has a definition for sbrk

  • 0

I am trying to port tcmalloc to uclibc. Tcmalloc has a definition for sbrk function, which in turn calls the __sbrk from libc. Uclibc on the other hand does not have __sbrk function, but has sbrk.

Any ideas about how I can call uclibc sbrk from tcmalloc sbrk?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:18:10+00:00Added an answer on May 27, 2026 at 12:18 pm

    sbrk is a (old) system call, but most memory allocators are built above mmap. See also this question

    You should use the syscall, not emulate it. And I would prefer using mmap, not sbrk

    Doing a system call (usually mmap) is the only way to get more memory from the linux kernel.

    From the application’s (or library’s) point of view, a system call is atomic (it is mostly a single machine instruction like SYSCALL, SYSENTER, int 0x80 etc.).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to port a code from .NET which uses UInt64 everywhere, I've mostly
I'm currently trying to port an app from asp.net to php, however I just
We are trying to port our code from HPX to AIX but getting core
I'm trying to port a library from Java into AS3, and I'm down to
I am trying to port a J2EE app from Tomcat to Websphere and I'm
I'm trying to port a program which uses a hand-rolled interpolator (developed by a
I'm trying to port a computer game from windows to GNU/Linux. It uses Ogre3D,CEGUI,
I'm trying to port some functionality from my engine from c++ to C#. I
Im trying to port this function to c# http://www.phpsnaps.com/snaps/view/clean-url/ I have problems to transform
I'm trying to port an app from iOS to Android. In my iOS app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.