Messages in this thread | | | Date | Wed, 16 Apr 2008 09:48:55 +0200 | From | Mikael Pettersson <> | Subject | Re: [PATCH v2] mm: Fix possible off-by-one in walk_pte_range() |
| |
Johannes Weiner writes: > From: Johannes Weiner <hannes@saeurebad.de> > Subject: [PATCH] mm: Fix possible off-by-one in walk_pte_range() > > After the loop in walk_pte_range() pte might point to the first address > after the pmd it walks. The pte_unmap() is then applied to something > bad. > > Spotted by Roel Kluin and Andreas Schwab. > > Signed-off-by: Johannes Weiner <hannes@saeurebad.de> > CC: Roel Kluin <12o3l@tiscali.nl> > CC: Andreas Schwab <schwab@suse.de> > CC: Matt Mackall <mpm@selenic.com> > CC: Andrew Morton <akpm@linux-foundation.org>
Thanks, v2 looks much nicer.
Acked-by: Mikael Pettersson <mikpe@it.uu.se>
| |