public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: pavan <linux.mail@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: COW callback
Date: Thu, 22 Jul 2004 19:24:43 +0530	[thread overview]
Message-ID: <85ea7b2204072206544edca8d8@mail.gmail.com> (raw)

i am very new to linux kernel world. so please excuse me for any
trivial queries. but i am looking for some callback/signal mechanism
so that the driver is notified when a page is COWed (in
handle_pte_fault).

i have wriiten a simple driver which support mmap. i want to keep
track of the modified pages so that when the user calls msync (but
does not explicitely provide the start offset and lenght), the
modified pages are flushed to disk. now, is there a mechanism to do
that in 2.4 and onward ?

thanks,
pavan

                 reply	other threads:[~2004-07-22 13:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=85ea7b2204072206544edca8d8@mail.gmail.com \
    --to=linux.mail@gmail.com \
    --cc=linux-kernel@vger.kernel.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