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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/