]> git.baikalelectronics.ru Git - kernel.git/commit
mm: deduplicate memory overcommitment code
authorAndrey Ryabinin <aryabinin@virtuozzo.com>
Thu, 17 Mar 2016 21:18:50 +0000 (14:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Mar 2016 22:09:34 +0000 (15:09 -0700)
commita101fbc364a8512efb67b1ff6b77f44e084f6cdd
tree66e70a955436cd15a170b848fdba9563bf30cb37
parent19d81e1b3567eb7656c03dbe783beb0f7b562607
mm: deduplicate memory overcommitment code

Currently we have two copies of the same code which implements memory
overcommitment logic.  Let's move it into mm/util.c and hence avoid
duplication.  No functional changes here.

Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c
mm/nommu.c
mm/util.c