From mboxrd@z Thu Jan 1 00:00:00 1970 From: augustocaringi@gmail.com (Augusto Mecking Caringi) Date: Wed, 28 Sep 2016 10:14:29 +0100 Subject: Virtual Address Space In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Wed, Sep 28, 2016 at 6:06 AM, Madhu K wrote: > Hi All, > > This is to understand the Virtual address space.Basically who generates the > virtual addresses CPU or GNU compiler? Hi, In my view, the linker. The compiler normally generates absolute addresses (starting from 0), creating object code. Then the linker generates an executable by combining different object files together and assigning virtual addresses. Finally, is CPU (MMU) job (with the kernel helping) to translate these virtual addresses to physical ones. Best regards, -- Augusto Mecking Caringi