]> git.baikalelectronics.ru Git - kernel.git/commit
mm: vmscan: shrink_slab: rename max_pass -> freeable
authorVladimir Davydov <vdavydov@parallels.com>
Thu, 3 Apr 2014 21:47:32 +0000 (14:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:00 +0000 (16:21 -0700)
commit4cd748d5d3ef0048650b43c1395fcdea7444e11c
treeaabd10454570bc8602867ce650344e2025b0569e
parent322f8dae02b889634c4e8d0199081a41e26334b1
mm: vmscan: shrink_slab: rename max_pass -> freeable

The name `max_pass' is misleading, because this variable actually keeps
the estimate number of freeable objects, not the maximal number of
objects we can scan in this pass, which can be twice that.  Rename it to
reflect its actual meaning.

Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c