Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1637735
| From | Laura Abbott <labbott@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] x86/mm: Set __vmalloc_start_set in numa_32.c |
| Date | 2017-05-08 23:30 +0200 |
| Message-ID | <tEYoa-Pg-19@gated-at.bofh.it> (permalink) |
| References | <tEWmm-80A-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
__vmalloc_start_set currently only gets set in initmem_init when
!CONFIG_NEED_MULTIPLE_NODES. This currently breaks detection of vmalloc
address with virt_addr_valid with CONFIG_NEED_MULTIPLE_NODES=y.
Set __vmalloc_start_set appropriately for that case as well.
Fixes: dc16ecf7fd1f ("x86-32: use specific __vmalloc_start_set flag in __virt_addr_valid")q
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Laura Abbott <labbott@redhat.com>
---
arch/x86/mm/numa_32.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/mm/numa_32.c b/arch/x86/mm/numa_32.c
index 6b7ce62..aca6295 100644
--- a/arch/x86/mm/numa_32.c
+++ b/arch/x86/mm/numa_32.c
@@ -100,5 +100,6 @@ void __init initmem_init(void)
printk(KERN_DEBUG "High memory starts at vaddr %08lx\n",
(ulong) pfn_to_kaddr(highstart_pfn));
+ __vmalloc_start_set = true;
setup_bootmem_allocator();
}
--
2.7.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [mm/usercopy] 517e1fbeb6: kernel BUG at arch/x86/mm/physaddr.c:78! Kees Cook <keescook@chromium.org> - 2017-05-08 00:10 +0200
Re: [mm/usercopy] 517e1fbeb6: kernel BUG at arch/x86/mm/physaddr.c:78! Laura Abbott <labbott@redhat.com> - 2017-05-08 20:50 +0200
Re: [mm/usercopy] 517e1fbeb6: kernel BUG at arch/x86/mm/physaddr.c:78! Kees Cook <keescook@chromium.org> - 2017-05-08 21:20 +0200
[PATCH] x86/mm: Set __vmalloc_start_set in numa_32.c Laura Abbott <labbott@redhat.com> - 2017-05-08 23:30 +0200
Re: [PATCH] x86/mm: Set __vmalloc_start_set in numa_32.c Kees Cook <keescook@chromium.org> - 2017-05-09 00:30 +0200
[tip:x86/urgent] x86/mm/32: Set the '__vmalloc_start_set' flag in initmem_init() tip-bot for Laura Abbott <tipbot@zytor.com> - 2017-05-09 08:50 +0200
csiph-web