Skip to contentSkip to conversation

dev-oldmem-remove-the-interface.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 8, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Subject: [merged] dev-oldmem-remove-the-interface.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 08 Jul 2013 12:36:17 -0700

The patch titled
Subject: /dev/oldmem: Remove the interface
has been removed from the -mm tree. Its filename was
dev-oldmem-remove-the-interface.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Zhang Yanfei <[email protected]>
Subject: /dev/oldmem: Remove the interface

/dev/oldmem provides the interface for us to access the "old memory" in the dump-capture kernel. Unfortunately, no one actually uses this interface.

And this interface could actually cause some real problems if used on ia64 where the cached/uncached accesses are mixed. See the discussion from the

So Eric suggested that we should remove /dev/oldmem as an unused piece of code.

[[email protected]: mention /dev/oldmem obsolescence in devices.txt]
Cc Vivek Goyal <[email protected]>
Cc Dave Hansen <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Benjamin Herrenschmidt <[email protected]>
Cc Fenghua Yu <[email protected]>
Cc Heiko Carstens <[email protected]>
Cc Martin Schwidefsky <[email protected]>
Cc Matt Fleming <[email protected]>
Cc Michael Holzheu <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Ralf Baechle <[email protected]>
Cc Tony Luck <[email protected]>

---

 Documentation/devices.txt |    3 --
 drivers/char/mem.c        |   47 ------------------------------------
 2 files changed, 1 insertion(+), 49 deletions(-)
Documentation/devices.txt renamed from Documentation/devices.txt~dev-oldmem-remove-the-interface +1 -2
diff -puN Documentation/devices.txt~dev-oldmem-remove-the-interface Documentation/devices.txt
@@ -100,8 +100,7 @@ Your cooperation is appreciated.
 		 10 = /dev/aio		Asynchronous I/O notification interface
 		 11 = /dev/kmsg		Writes to this come out as printk's, reads
 					export the buffered printk records.
-		 12 = /dev/oldmem	Used by crashdump kernels to access
-					the memory of the kernel that crashed.
+		 12 = /dev/oldmem	OBSOLETE - replaced by /proc/vmcore
 
   1 block	RAM disk
 		  0 = /dev/ram0		First RAM disk
drivers/char/mem.c renamed from drivers/char/mem.c~dev-oldmem-remove-the-interface +0 -47

77 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are

origin.patch
linux-next.patch mm-remove-duplicated-call-of-get_pfn_range_for_nid.patch mm-remove-duplicated-call-of-get_pfn_range_for_nid-v2.patch mm-remove-duplicated-call-of-get_pfn_range_for_nid-v2-fix.patch mm-vmallocc-unbreak-__vunmap.patch mm-vmallocc-remove-dead-code-in-vb_alloc.patch mm-vmallocc-remove-unused-purge_fragmented_blocks_thiscpu.patch mm-vmallocc-remove-alloc_map-from-vmap_block.patch mm-vmallocc-emit-the-failure-message-before-return.patch mm-vmallocc-rename-vm_unlist-to-vm_uninitialized.patch mm-vmallocc-check-vm_uninitialized-flag-in-s_show-instead-of-show_numa_info.patch include-linux-gfph-fix-the-comment-for-gfp_zone_table.patch mm-remove-zone_type-argument-of-build_zonelists_node.patch mm-remove-unused-functions-is_normal_idx-normal-dma32-dma.patch mm-remove-unlikely-from-the-current_order-test.patch mm-remove-unused-__put_page.patch mm-sparsec-put-clear_hwpoisoned_pages-within-config_memory_hotremove.patch mm-pgtable-dont-accumulate-addr-during-pgd-prepopulate-pmd.patch mm-vmallocc-fix-an-overflow-bug-in-alloc_vmap_area.patch