- mm-remove_mapping-safeness-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     patches/mm-remove_mapping-safeness fix

has been removed from the -mm tree.  Its filename is

     mm-remove_mapping-safeness-fix.patch

This patch was dropped because it was folded into mm-remove_mapping-safeness.patch

------------------------------------------------------
Subject: patches/mm-remove_mapping-safeness fix
From: Hugh Dickins <hugh@xxxxxxxxxxx>

remove_mapping() must check against page_mapping(page):
&swapper_space is implicit, never actually stored in page->mapping.

Signed-off-by: Hugh Dickins <hugh@xxxxxxxxxxx>
Cc: Nick Piggin <nickpiggin@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 mm/vmscan.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/vmscan.c~mm-remove_mapping-safeness-fix mm/vmscan.c
--- a/mm/vmscan.c~mm-remove_mapping-safeness-fix
+++ a/mm/vmscan.c
@@ -378,7 +378,7 @@ static pageout_t pageout(struct page *pa
 int remove_mapping(struct address_space *mapping, struct page *page)
 {
 	BUG_ON(!PageLocked(page));
-	BUG_ON(mapping != page->mapping);
+	BUG_ON(mapping != page_mapping(page));
 
 	write_lock_irq(&mapping->tree_lock);
 
_

Patches currently in -mm which might be from hugh@xxxxxxxxxxx are

origin.patch
mm-vm_bug_on.patch
mm-tracking-shared-dirty-pages.patch
mm-balance-dirty-pages.patch
mm-optimize-the-new-mprotect-code-a-bit.patch
mm-small-cleanup-of-install_page.patch
mm-fixup-do_wp_page.patch
mm-msync-cleanup.patch
mm-remove_mapping-safeness.patch
mm-remove_mapping-safeness-fix.patch
mm-swap-write-failure-fixup.patch
mm-swap-write-failure-fixup-fix.patch
standardize-pxx_page-macros.patch
page-invalidation-cleanup.patch
do_no_pfn.patch
do_no_pfn-tweaks.patch
mspec-driver.patch
shared-page-table-for-hugetlb-page-v2.patch
shared-page-table-for-hugetlb-page-v2-tidy.patch
shared-page-table-for-hugetlb-page-v2-comments.patch
make-prot_write-imply-prot_read.patch
valid_swaphandles-fix.patch
generic-infrastructure-for-acls.patch
generic-infrastructure-for-acls-update.patch
access-control-lists-for-tmpfs.patch
access-control-lists-for-tmpfs-cleanup.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux