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 7947165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:21:16+00:00 2026-06-04T01:21:16+00:00

On 32bit x86 platform, if vmalloc() can allocate memory from either ZONE_NORMAL or ZONE_HIGHMEM,

  • 0

On 32bit x86 platform, if vmalloc() can allocate memory from either ZONE_NORMAL or ZONE_HIGHMEM, does it mean that even if I enlarge ZONE_HIGHMEM, the actual total range that vmalloc() can use is unchanged? I did a test to enlarge ZONE_HIGHMEM, the one time allocation of vmalloc() can be much bigger than before. So does it mean that vmalloc() actually allocate memory from ZONE_HIGHMEM only?

  • 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-06-04T01:21:17+00:00Added an answer on June 4, 2026 at 1:21 am

    vmalloc prefers ZONE_HIGHMEM, if it exists, but can fall back to ZONE_NORMAL.

    However, in a machine with 1GB or more (i.e. any modern machine), vmalloc is limited by virtual memory (the vmalloc region), not by physical memory.
    In such a case, the vmalloc region is 128MB (unless enlarged by vmalloc_reserve), while ZONE_HIGHMEM is that plus all memory above 1GB – normally much larger.

    What you enlarge is actually the vmalloc virtual memory region, and enlarging it lets you vmalloc more. This indirectly enlarges ZONE_HIGHMEM, but this isn’t very impotrant.

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

Sidebar

Related Questions

In .Net framework 2 GiB is the highest memory that you can allocate for
When using SharePoint DLLs (which are x86 only) from a non-ASP.NET app, you can
Accidentally I mixed up between 32Bit and 64Bit library files on my x86 embedded
Porting code from 32bit to 64bit. Lots of places with int len = strlen(pstr);
I have a 32bit iMac that I am writing an iPhone app in Xcode
I know I can’t compile my C# code using the default Platform Target :
I am experimenting with my first cross-platform application that needs to run on Linux
If I set the platform flags of MyApp.exe to be x64 I still can
It often happens that a single C# solution contains some projects that are x86-specific
To what extent can a JIT replace platform independent code with processor-specific machine instructions?

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.