lkml.org 
[lkml]   [2015]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectmm/page_alloc.c : Intent to clone zone_watermark_ok()
From
Date
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




\
 
 \ /
  Last update: 2015-07-23 00:01    [W:0.028 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site