lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101222182022.a5d5da8d.akpm@linux-foundation.org>
Date:	Wed, 22 Dec 2010 18:20:22 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	David Rientjes <rientjes@...gle.com>
Cc:	linux-mm@...ck.org, linux-kernel@...r.kernel.org,
	Haicheng Li <haicheng.li@...ux.intel.com>, lethal@...ux-sh.org,
	Andi Kleen <ak@...ux.intel.com>,
	Shaohui Zheng <shaohui.zheng@...ux.intel.com>,
	dave@...ux.vnet.ibm.com, Greg KH <gregkh@...e.de>
Subject: Re: [3/7, v9] NUMA Hotplug Emulator: Add node hotplug emulation

On Wed, 22 Dec 2010 17:38:44 -0800 (PST) David Rientjes <rientjes@...gle.com> wrote:

> On Wed, 22 Dec 2010, Andrew Morton wrote:
> 
> > > Index: linux-hpe4/mm/memory_hotplug.c
> > > ===================================================================
> > > --- linux-hpe4.orig/mm/memory_hotplug.c	2010-11-30 12:40:43.757622001 +0800
> > > +++ linux-hpe4/mm/memory_hotplug.c	2010-11-30 14:02:33.877622002 +0800
> > > @@ -924,3 +924,63 @@
> > >  }
> > >  #endif /* CONFIG_MEMORY_HOTREMOVE */
> > >  EXPORT_SYMBOL_GPL(remove_memory);
> > > +
> > > +#ifdef CONFIG_DEBUG_FS
> > > +#include <linux/debugfs.h>
> > > +
> > > +static struct dentry *memhp_debug_root;
> > > +
> > > +static ssize_t add_node_store(struct file *file, const char __user *buf,
> > > +				size_t count, loff_t *ppos)
> > > +{
> > > +	nodemask_t mask;
> > 
> > NODEMASK_ALLOC()?
> > 
> 
> We traditionally haven't been using NODEMASK_ALLOC() in sysfs (or, in this 
> case, debugfs) functions because they're never deep in a call chain.  Even 
> for 4K node support, which isn't a supported config on any arch that 
> allows CONFIG_MEMORY_HOTPLUG, this would only be 512 bytes on the short 
> stack.

I bet linux-2.6.227 supports a meganode.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ