Re: question on modifying pte entries

2007-10-31 Thread Benjamin Herrenschmidt
On Wed, 2007-10-31 at 13:45 -0600, Chris Friesen wrote: > Hi all, > > We've got some kernel code that monitors which pages have been dirtied > by an application. > > The pages are locked in memory, and the system has no swap. Initially > we mark the pages clean using ptep_clear_flush_dirty(),

question on modifying pte entries

2007-10-31 Thread Chris Friesen
Hi all, We've got some kernel code that monitors which pages have been dirtied by an application. The pages are locked in memory, and the system has no swap. Initially we mark the pages clean using ptep_clear_flush_dirty(), then when requested by the app we scanning through the pages and che