A bit optimization for tlb_set_page()
commitbf298f83c35da854632c5be75733a4aa95a780bf
authorJun Koi <junkoi2004@gmail.com>
Thu, 6 May 2010 05:36:59 +0000 (6 14:36 +0900)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 30 Jun 2010 18:25:55 +0000 (30 20:25 +0200)
tree17a38e6d338aa55a64a73b81bae0727181a76f04
parent6fbab869257a87d9d80dec1a094827952448f27f
A bit optimization for tlb_set_page()

This patch avoids handling write watchpoints on read-only memory access.
It also breaks the searching loop for watchpoint once the setup for
handling watchpoint later is done.

Signed-off-by: Jun Koi <junkoi2004@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
exec.c