linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: Nikola Gidalov <ngidalov@gmail.com>
Cc: linux-mm@kvack.org
Subject: Re: mmap maped memory trace
Date: Tue, 15 Aug 2006 13:25:05 +0200	[thread overview]
Message-ID: <20060815132505.8184c036.ak@muc.de> (raw)
In-Reply-To: <6e88e8570608121443i44991d96y15c4e7ff662f1121@mail.gmail.com>

On Sat, 12 Aug 2006 23:43:46 +0200
"Nikola Gidalov" <ngidalov@gmail.com> wrote:

> I'd like to ask you how it is possible to to be notified in the driver
> module whenever the user of driver writes to the mmap-ed memory from
> the driver.

You would need to unmap the area and then on a fault emulate the store instruction
and fake its behaviour.

You probably don't want to go this way, it would be fairly complicated.

-Andi

--
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>

      reply	other threads:[~2006-08-15 11:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-12 21:43 Nikola Gidalov
2006-08-15 11:25 ` Andi Kleen [this message]

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=20060815132505.8184c036.ak@muc.de \
    --to=ak@muc.de \
    --cc=linux-mm@kvack.org \
    --cc=ngidalov@gmail.com \
    /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