Skip to contentSkip to conversation

+ vmcore-enable-proc-vmcore-mmap-for-s390.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Jul 26, 2013

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: + vmcore-enable-proc-vmcore-mmap-for-s390.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 26 Jul 2013 13:20:57 -0700

The patch titled
Subject: vmcore: enable /proc/vmcore mmap for s390
has been added to the -mm tree. Its filename is
vmcore-enable-proc-vmcore-mmap-for-s390.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/vmcore-enable-proc-vmcore-mmap-for-s390.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/vmcore-enable-proc-vmcore-mmap-for-s390.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 ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Michael Holzheu <[email protected]>
Subject: vmcore: enable /proc/vmcore mmap for s390

The patch "s390/vmcore: Implement remap_oldmem_pfn_range for s390" allows now to use mmap also on s390.

So enable mmap for s390 again.

Cc HATAYAMA Daisuke <[email protected]>
Cc Jan Willeke <[email protected]>
Cc Vivek Goyal <[email protected]>

---

 fs/proc/vmcore.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/proc/vmcore.c renamed from fs/proc/vmcore.c~vmcore-enable-proc-vmcore-mmap-for-s390 +1 -1
diff -puN fs/proc/vmcore.c~vmcore-enable-proc-vmcore-mmap-for-s390 fs/proc/vmcore.c
@@ -327,7 +327,7 @@ static inline char *alloc_elfnotes_buf(s
  * regions in the 1st kernel pointed to by PT_LOAD entries) into
  * virtually contiguous user-space in ELF layout.
  */
-#if defined(CONFIG_MMU) && !defined(CONFIG_S390)
+#ifdef CONFIG_MMU
 static int mmap_vmcore(struct file *file, struct vm_area_struct *vma)
 {
 	size_t size = vma->vm_end - vma->vm_start;

_

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

vmcore-introduce-elf-header-in-new-memory-feature.patch s390-vmcore-use-elf-header-in-new-memory-feature.patch vmcore-introduce-remap_oldmem_pfn_range.patch s390-vmcore-implement-remap_oldmem_pfn_range-for-s390.patch vmcore-enable-proc-vmcore-mmap-for-s390.patch s390-vmcore-use-vmcore-for-zfcpdump.patch