From: "Nikola Gidalov" <ngidalov@gmail.com>
To: linux-mm@kvack.org
Subject: mmap maped memory trace
Date: Sat, 12 Aug 2006 23:43:46 +0200 [thread overview]
Message-ID: <6e88e8570608121443i44991d96y15c4e7ff662f1121@mail.gmail.com> (raw)
Dear kernel experts,
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.
I'm making a virtual 8bpp framebuffer driver. The user of the fb
driver uses mmap to map the framebuffer memory. In the driver I use
the vmalloc memory and map the memory to the user space when the user
calls mmap.
Now , I'd like to intercept the "memory-write" operation to my mmaped
memory, to convert the 8bpp value to 32bpp and to write the 32bpp
value to the real framebuffer on the fly.
Changing the clients to use 32bpp framebuffer directly os not an option.
With kind regards,
Nikola
--
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 reply other threads:[~2006-08-12 21:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-12 21:43 Nikola Gidalov [this message]
2006-08-15 11:25 ` Andi Kleen
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=6e88e8570608121443i44991d96y15c4e7ff662f1121@mail.gmail.com \
--to=ngidalov@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