This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/include/linux
Larry Bassel bad999e743 mm: make counts of CMA free pages correct
Both patches needed, second patch (among other things) fixes
a bug in the first.

commit 2139cbe627b8910ded55148f87ee10f7485408ed
Author: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Date:   Mon Oct 8 16:32:00 2012 -0700

    cma: fix counting of isolated pages

    Isolated free pages shouldn't be accounted to NR_FREE_PAGES counter.  Fix
    it by properly decreasing/increasing NR_FREE_PAGES counter in
    set_migratetype_isolate()/unset_migratetype_isolate() and removing counter
    adjustment for isolated pages from free_one_page() and split_free_page().

    Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
    Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
    Cc: Marek Szyprowski <m.szyprowski@samsung.com>
    Cc: Michal Nazarewicz <mina86@mina86.com>
    Cc: Minchan Kim <minchan@kernel.org>
    Cc: Mel Gorman <mgorman@suse.de>
    Cc: Hugh Dickins <hughd@google.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    [lbassel@codeaurora.org: backport from 3.7, small changes needed]
    Signed-off-by: Larry Bassel <lbassel@codeaurora.org>

commit d1ce749a0db12202b711d1aba1d29e823034648d
Author: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Date:   Mon Oct 8 16:32:02 2012 -0700

    cma: count free CMA pages

    Add NR_FREE_CMA_PAGES counter to be later used for checking watermark in
    __zone_watermark_ok().  For simplicity and to avoid #ifdef hell make this
    counter always available (not only when CONFIG_CMA=y).

    [akpm@linux-foundation.org: use conventional migratetype naming]
    Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
    Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
    Cc: Marek Szyprowski <m.szyprowski@samsung.com>
    Cc: Michal Nazarewicz <mina86@mina86.com>
    Cc: Minchan Kim <minchan@kernel.org>
    Cc: Mel Gorman <mgorman@suse.de>
    Cc: Hugh Dickins <hughd@google.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    [lbassel@codeaurora.org: backport from 3.7, small changes needed]
    Signed-off-by: Larry Bassel <lbassel@codeaurora.org>

Change-Id: I7d4f5fe0b6931192706337e0b730f43e7cccd031
Signed-off-by: Larry Bassel <lbassel@codeaurora.org>
Signed-off-by: Neha Pandey <nehap@codeaurora.org>
2013-03-07 15:23:58 -08:00
..
2013-02-27 18:16:16 -08:00
2012-04-23 14:23:32 +03:00
2012-04-27 11:03:38 -06:00
2011-11-02 16:07:03 -07:00
2012-04-09 13:57:51 -07:00
2013-02-27 18:13:43 -08:00
2011-10-26 15:43:25 -04:00
2012-03-20 21:29:46 -04:00
2013-02-25 11:30:04 -08:00
2012-03-16 20:35:02 +00:00
2012-03-16 20:35:02 +00:00
2013-02-25 11:29:27 -08:00
2012-02-28 16:02:54 +01:00
2012-01-03 22:54:57 -05:00
2011-10-29 21:20:22 +02:00
2012-04-09 13:57:52 -07:00
2012-03-29 15:38:31 +10:30
2012-03-23 16:58:38 -07:00
2013-02-25 11:29:22 -08:00
2011-12-13 09:26:45 +00:00
2012-03-20 21:29:37 -04:00
2012-03-20 21:29:53 -04:00
2013-02-20 02:50:23 -08:00
2013-03-07 15:23:48 -08:00
2012-02-20 19:46:36 +11:00
2012-01-04 08:56:31 -06:00
2011-10-31 20:19:04 +00:00
2012-05-22 14:01:06 -07:00
2013-02-20 01:31:50 -08:00
2011-11-26 14:59:39 -05:00
2012-04-30 15:30:18 -07:00
2011-12-11 18:25:16 -05:00
2012-01-12 20:13:04 -08:00
2011-09-14 15:24:51 -04:00
2013-03-04 12:44:09 -08:00
2013-02-25 11:33:57 -08:00
2013-02-20 02:50:20 -08:00
2012-04-12 12:57:08 +02:00
2012-02-28 17:10:21 +00:00
2012-04-09 13:53:16 -07:00
2012-04-27 10:46:45 +08:00
2012-04-09 13:57:58 -07:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-27 22:45:26 -04:00
2013-02-08 15:04:34 -08:00
2013-03-07 15:23:23 -08:00
2012-01-03 22:55:17 -05:00
2013-02-27 18:13:08 -08:00
2012-01-09 13:52:09 +01:00
2012-03-08 10:50:35 -08:00
2013-03-04 12:45:02 -08:00
2012-03-21 17:54:57 -07:00
2012-03-08 10:50:35 -08:00
2012-01-17 15:40:51 -08:00
2011-12-27 11:26:41 +02:00
2011-09-16 19:20:20 -04:00
2013-02-25 11:29:50 -08:00
2012-03-15 21:41:34 +01:00
2012-03-03 15:04:45 -05:00
2013-02-25 11:29:50 -08:00
2013-03-07 15:23:34 -08:00
2013-02-25 11:32:22 -08:00
2011-11-14 00:47:54 -05:00
2012-03-05 15:26:47 -05:00
2012-03-21 17:54:58 -07:00
2012-03-21 17:55:01 -07:00
2012-01-06 12:10:26 -08:00
2012-03-16 21:49:24 +01:00
2013-02-25 11:29:50 -08:00
2011-12-13 09:26:45 +00:00
2011-11-02 16:07:02 -07:00
2013-02-25 11:29:28 -08:00
2013-02-25 11:29:28 -08:00
2013-02-25 11:31:56 -08:00
2012-03-20 21:29:38 -04:00
2013-02-27 18:16:43 -08:00
2012-01-03 22:55:07 -05:00
2013-02-25 11:32:34 -08:00
2012-03-28 18:30:03 +01:00
2012-03-08 11:38:50 -08:00
2012-03-12 22:19:13 +01:00
2012-01-09 09:33:57 +09:00
2012-05-01 09:40:19 -04:00
2012-03-06 11:01:33 +02:00
2012-03-19 16:53:08 -04:00
2011-12-13 09:26:45 +00:00
2011-10-31 17:30:47 -07:00
2012-05-16 13:27:23 -07:00
2013-03-04 12:47:43 -08:00
2013-02-25 11:29:18 -08:00
2012-01-03 22:54:56 -05:00
2012-03-22 19:43:43 -07:00
2012-04-10 22:39:17 -06:00
2013-03-04 12:45:08 -08:00
2011-11-02 16:07:02 -07:00
2012-04-11 09:36:00 +01:00
2012-03-08 10:50:35 -08:00
2013-02-20 02:50:29 -08:00
2013-02-25 11:29:50 -08:00
2011-09-14 15:24:51 -04:00