COW callback

From: pavan
Date: Thu Jul 22 2004 - 08:57:03 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/