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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:18:45+00:00 2026-06-08T17:18:45+00:00

In linux, because the bases of segments are all 0, so the logical address

  • 0

In linux, because the bases of segments are all 0, so the logical address coincide with the linear address (Book “Understanding the linux kernel”). I think the logical address of different process may be the same, so the linear address of different process may be the same and as each process view 4GB, each process will have its own linear address space (local address space). But some other articles says there is a large linear address space shared by all process, and the segment mechanism is used to map different process into different part of the linear address space. Sounds like a global linear address space with wider address bits. Where am I wrong? Or they are used in different architecture?

  • 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-08T17:18:46+00:00Added an answer on June 8, 2026 at 5:18 pm

    Each Linux process has its own address space; it is virtual memory. Different processes have different address spaces (but all the threads inside a process share the same address space).

    You can get a map of process 1234 on Linux by reading /proc/1234/maps or from inside the process /proc/self/maps

    Try the following commands

     cat /proc/$$/maps
     cat /proc/self/maps
    

    and think about their output; the first command shows the memory map of your shell; the second one shows the memory map of the process running cat

    The address space is set with execve(2) at program startup and changed with the mmap(2) and related syscalls.

    An application interact with the kernel only thru syscalls. The kernel has a “different” address space, which you should not care about (unless you are coding inside the kernel).

    Read also a good book like Advanced Unix Programming and/or Advanced Linux Programming

    See also this explanation on syscalls.

    Notice that segmented addressing is specific to i386 and is obsolete: most systems don’t use it anymore. It has completely disappeared in 64 bits mode of x86-64. All Linux systems use a flat memory model

    Please read carefully all the references.

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

Sidebar

Related Questions

Information about the application: Linux - 2.4.1 Kernel m68k based embedded application Single process
I want to use ASP.Net on Linux because of license problems and costs. Can
I'm learning Objective-C using GNUstep(because I use Linux). I was thinking in create a
I am trying to setup a development environment for Linux C++ application. Because I'm
I'm in the process of implementing a cross-platform (Mac OS X, Windows, and Linux)
I m bit confused by the following statement in linux device drivers book. http://www.linuxdriver.co.il/ldd3/
Anybody using mercurial to manage a linux kernel? This is a bit long, but
I'm writing a linux kernel module that makes use of the exported symbol open_exec
I have a Linux C++ application which receives sequenced UDP packets. Because of the
Linux bash script: function Print() { echo $1 } Print OK This script runs

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.