Instead of checking the limit before calling numa_add(), check the limit
only when we already know we're going to add a new node.
Signed-off-by: Eduardo Habkost
Reviewed-by: Eric Blake
---
vl.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/vl.c b/vl.c
index 586a
Instead of checking the limit before calling numa_add(), check the limit
only when we already know we're going to add a new node.
Signed-off-by: Eduardo Habkost
Reviewed-by: Eric Blake
---
Changes v2:
- Implement the change without adding numa_node_add() function
---
vl.c | 10 ++
1 fi
On 01/16/2013 08:24 AM, Eduardo Habkost wrote:
> Instead of checking the limit before calling numa_add(), check the limit
> only when we already know we're going to add a new node.
>
> Signed-off-by: Eduardo Habkost
> ---
> Changes v2:
> - Implement the change without adding numa_node_add() func
Instead of checking the limit before calling numa_add(), check the limit
only when we already know we're going to add a new node.
Signed-off-by: Eduardo Habkost
---
Changes v2:
- Implement the change without adding numa_node_add() function
---
vl.c | 10 ++
1 file changed, 6 insertions(