]> git.baikalelectronics.ru Git - kernel.git/commit
mm: polish virtual memory accounting
authorKonstantin Khlebnikov <koct9i@gmail.com>
Wed, 3 Feb 2016 00:57:46 +0000 (16:57 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Feb 2016 16:28:43 +0000 (08:28 -0800)
commite913e759e5b763f1fafabb743fefc3823b3dfcc4
tree8d4084215738d98a6eed66cd7e971e9cca5f279a
parent9b0e5832e8efc5dc4aea1f093e919d94b4976ad8
mm: polish virtual memory accounting

* add VM_STACK as alias for VM_GROWSUP/DOWN depending on architecture
* always account VMAs with flag VM_STACK as stack (as it was before)
* cleanup classifying helpers
* update comments and documentation

Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
Tested-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/filesystems/proc.txt
include/linux/mm.h
include/linux/mm_types.h
mm/internal.h