]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit30bdbb78009e67767983085e302bec6d97afc679
tree8d4084215738d98a6eed66cd7e971e9cca5f279a
parentd977d56ce5b3e8842236f2f9e7483d4914c9592e
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