mm: vmscan: shrink_slab: rename max_pass -> freeable
authorVladimir Davydov <vdavydov@parallels.com>
Thu, 3 Apr 2014 21:47:32 +0000 (14:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Oct 2014 19:21:29 +0000 (12:21 -0700)
commit8e524793fdfb061fc31936d9adaa026d7bdc916c
treeda13c667a4d5895d2a7e315927a727f591aa061c
parent12f2f0bab442ecdff45d67ff1c3d0b21f46794bd
mm: vmscan: shrink_slab: rename max_pass -> freeable

commit d5bc5fd3fcb7b8dfb431694a8c8052466504c10c upstream.

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>
Signed-off-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mm/vmscan.c