This is simply bits operation. Initailize every bit to 0, check the bit value changed. If I remember the paging in OS correctly, we manage the dirty pages like this.
回複:第一題說明
所有跟帖:
• 不錯不錯。 -feicen- ♀ (0 bytes) () 05/09/2009 postreply 17:54:16
• 能否詳細說明一下,或者給出偽代碼?學習學習 -feicen- ♀ (0 bytes) () 05/09/2009 postreply 17:56:43
• 回複:能否詳細說明一下,或者給出偽代碼?學習學習 -GoldIsGold- ♀ (449 bytes) () 05/09/2009 postreply 18:28:15
• 有待仔細考慮。尤其是對"big hotel"的case,有huge number of rooms. -戲雨飛鷹- ♀ (66 bytes) () 05/10/2009 postreply 11:48:07
• 樓上2位好厲害!PF:)。 -戲雨飛鷹- ♀ (0 bytes) () 05/09/2009 postreply 17:58:30
• yeah, this is good -hello2- ♂ (0 bytes) () 05/09/2009 postreply 18:40:40
• 回複:回複:第一題說明 -spear123- ♂ (216 bytes) () 05/10/2009 postreply 18:06:06