From: Ben Teissier <ben.teissier@gmail.com>
To: linux-mm@kvack.org
Subject: misunderstanding of the virtual memory
Date: Thu, 09 May 2013 10:33:21 -0400 [thread overview]
Message-ID: <518BB3B1.8010207@gmail.com> (raw)
In-Reply-To: <518BB132.5050802@gmail.com>
Hi,
I'm Benjamin and I'm studying the kernel. I write you this email
because I've a trouble with the mmu and the virtual memory. I try to
understand how a program (user land) can write something into the stack
(push ebp, for example), indeed, the program works with virtual address
(between 0x00000 and 0x8... if my memory is good) but at the hardware
side the address is not the same (that's why mmu was created, if I'm right).
My problem is the following : how the data is wrote on the physical
memory. When I try a strace (kernel 2.6.32 on a simple program) I have
no hint on the transfer of data. Moreover, according to the wikipedia
web page on syscall (
https://en.wikipedia.org/wiki/System_call#The_library_as_an_intermediary
), a call is not managed by the kernel. So, how the transfer between
virtual memory and physical memory is possible ?
I hope my email is understandable, I tried to put words on my troubles.
Thanks a lot for your help and have a nice day.
Benjamin.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next parent reply other threads:[~2013-05-09 14:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <518BB132.5050802@gmail.com>
2013-05-09 14:33 ` Ben Teissier [this message]
2013-05-09 16:57 ` misunderstanding of the virtual memory Seth Jennings
2013-05-10 15:57 ` Benjamin Teissier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=518BB3B1.8010207@gmail.com \
--to=ben.teissier@gmail.com \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).