On Fri, Sep 06, 2013 at 03:48:04PM +, Christoph Lameter wrote:
> On Fri, 6 Sep 2013, Joonsoo Kim wrote:
>
> > }
> > *num = nr_objs;
> > - *left_over = slab_size - nr_objs*buffer_size - mgmt_size;
> > + *left_over = slab_size - (nr_objs * buffer_size) - mgmt_size;
> > }
>
> What
On Fri, Sep 06, 2013 at 03:48:04PM +, Christoph Lameter wrote:
On Fri, 6 Sep 2013, Joonsoo Kim wrote:
}
*num = nr_objs;
- *left_over = slab_size - nr_objs*buffer_size - mgmt_size;
+ *left_over = slab_size - (nr_objs * buffer_size) - mgmt_size;
}
What is the point
On Fri, 6 Sep 2013, Joonsoo Kim wrote:
> }
> *num = nr_objs;
> - *left_over = slab_size - nr_objs*buffer_size - mgmt_size;
> + *left_over = slab_size - (nr_objs * buffer_size) - mgmt_size;
> }
What is the point of this change? Drop it.
--
To unsubscribe from this list:
On Fri, 6 Sep 2013, Joonsoo Kim wrote:
}
*num = nr_objs;
- *left_over = slab_size - nr_objs*buffer_size - mgmt_size;
+ *left_over = slab_size - (nr_objs * buffer_size) - mgmt_size;
}
What is the point of this change? Drop it.
--
To unsubscribe from this list: send the
This logic is not simple to understand so that making separate function
helping readability. Additionally, we can use this change in the
following patch which implement for freelist to have another sized index
in according to nr objects.
Signed-off-by: Joonsoo Kim
diff --git a/mm/slab.c
This logic is not simple to understand so that making separate function
helping readability. Additionally, we can use this change in the
following patch which implement for freelist to have another sized index
in according to nr objects.
Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com
diff
This logic is not simple to understand so that making separate function
helping readability. Additionally, we can use this change in the
following patch which implement for freelist to have another sized index
in according to nr objects.
Signed-off-by: Joonsoo Kim
diff --git a/mm/slab.c
This logic is not simple to understand so that making separate function
helping readability. Additionally, we can use this change in the
following patch which implement for freelist to have another sized index
in according to nr objects.
Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com
diff
8 matches
Mail list logo