lkml.org 
[lkml]   [2015]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86/numa: kernel stack corruption fix
Hi, Xishi

[snip]
> >> arch/x86/mm/numa.c | 3 ++-
> >> 1 file changed, 2 insertions(+), 1 deletion(-)
> >>
> >> --- linux.orig/arch/x86/mm/numa.c
> >> +++ linux/arch/x86/mm/numa.c
> >> @@ -484,7 +484,8 @@ static void __init numa_clear_kernel_nod
> >>
> >> /* Mark all kernel nodes. */
> >> for_each_memblock(reserved, r)
> >> - node_set(r->nid, numa_kernel_nodes);
>
> Hi Dave,
>
> How about add some comment here? if set numa=off, numa_meminfo may not include
> all the memblock.reserved memory. e.g. trim_snb_memory()

Sure, I can do that. I will send an update if there's no other comments.

> >> + if (r->nid != MAX_NUMNODES)
> >> + node_set(r->nid, numa_kernel_nodes);
> >>
> >> /* Clear MEMBLOCK_HOTPLUG flag for memory in kernel nodes. */
> >> for (i = 0; i < numa_meminfo.nr_blks; i++) {
> >>
> >
>

Thanks
Dave
>


\
 
 \ /
  Last update: 2015-04-02 06:01    [W:0.164 / U:41.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site