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
[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,
> +
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
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