Re: [patch 06/24] lmb: add lmb_alloc_nid()

2008-03-31 Thread David Miller
From: Paul Mackerras <[EMAIL PROTECTED]> Date: Tue, 1 Apr 2008 15:15:46 +1100 > [EMAIL PROTECTED] writes: > > > From: David Miller <[EMAIL PROTECTED]> > > > > A variant of lmb_alloc() that tries to allocate memory on a specified NUMA > > node 'nid' but falls back to normal lmb_alloc() if that fa

Re: [patch 06/24] lmb: add lmb_alloc_nid()

2008-03-31 Thread Paul Mackerras
[EMAIL PROTECTED] writes: > From: David Miller <[EMAIL PROTECTED]> > > A variant of lmb_alloc() that tries to allocate memory on a specified NUMA > node 'nid' but falls back to normal lmb_alloc() if that fails. ... > +static u64 __init lmb_alloc_nid_unreserved(u64 start, u64 end, > +

[patch 06/24] lmb: add lmb_alloc_nid()

2008-03-28 Thread akpm
n Herrenschmidt <[EMAIL PROTECTED]> Cc: Thomas Gleixner <[EMAIL PROTECTED]> Cc: Ingo Molnar <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- include/linux/lmb.h |2 lib/lmb.c | 86 +----- 2 files change

[LMB]: Add lmb_alloc_nid()

2008-03-24 Thread David Miller
as it has something entirely similar. [LMB]: Add lmb_alloc_nid() A variant of lmb_alloc() that tries to allocate memory on a specified NUMA node 'nid' but falls back to normal lmb_alloc() if that fails. The caller provides a 'nid_range' function pointer which assists the al