All of lore.kernel.org
 help / color / mirror / Atom feed
* + nommu-dont-check-vm_region-vm_start-is-page-aligned-in-add_nommu_region.patch added to -mm tree
@ 2009-05-07 20:22 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2009-05-07 20:22 UTC (permalink / raw)
  To: mm-commits; +Cc: dhowells, gerg


The patch titled
     nommu: don't check vm_region::vm_start is page aligned in add_nommu_region()
has been added to the -mm tree.  Its filename is
     nommu-dont-check-vm_region-vm_start-is-page-aligned-in-add_nommu_region.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: nommu: don't check vm_region::vm_start is page aligned in add_nommu_region()
From: David Howells <dhowells@redhat.com>

Don't check vm_region::vm_start is page aligned in add_nommu_region()
because the region may reflect some non-page-aligned mapped file, such as
could be obtained from RomFS XIP.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/nommu.c |    2 --
 1 file changed, 2 deletions(-)

diff -puN mm/nommu.c~nommu-dont-check-vm_region-vm_start-is-page-aligned-in-add_nommu_region mm/nommu.c
--- a/mm/nommu.c~nommu-dont-check-vm_region-vm_start-is-page-aligned-in-add_nommu_region
+++ a/mm/nommu.c
@@ -515,8 +515,6 @@ static void add_nommu_region(struct vm_r
 
 	validate_nommu_regions();
 
-	BUG_ON(region->vm_start & ~PAGE_MASK);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-07 20:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-07 20:22 + nommu-dont-check-vm_region-vm_start-is-page-aligned-in-add_nommu_region.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.