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)
commitd5bc5fd3fcb7b8dfb431694a8c8052466504c10c
treeaabd10454570bc8602867ce650344e2025b0569e
parent8382d914ebf72092aa15cdc2a5dcedb2daa0209d
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