[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1ED22AF8-3CAC-468C-96D1-AEEDDC06F017@earthlink.net>
Date: Wed, 22 Jul 2015 14:37:14 -0700
From: Mitchell Erblich <erblichs@...thlink.net>
To: linux-kernel@...r.kernel.org
Cc: Mitchell Erblich <erblichs@...thlink.net>
Subject: mm/page_alloc.c : Intent to clone zone_watermark_ok()
Group,
This is a notification that local changes are believed to be needed to the zone_watermark_ok() : mm/page_alloc.c for a family of embedded devices.
The embedded device has no secondary storage thus cleaning dirty pages are not available and crossing below the min levels is unwarranted.
This function seems to contain the necessary logic with minor modifications and thus the intent is to duplicate most of its functionality.
The local function is create a new family of zone_watermark_num() based on the family of zone_watermark_ok() that now returns an int, number of free pages.
The number of free_pages, where a positive number is num of free pages is above the watermark at the order, etc and negative below.
Please inform me whether the equivalent function is already present in what release.
Thank you,
Mitchell Erblich
OS Engineer
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists