lkml.org 
[lkml]   [2013]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [REPOST PATCH 1/4] slab: factor out calculate nr objects in cache_estimate
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.




\
 
 \ /
  Last update: 2013-09-06 18:01    [W:0.280 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site