summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorDavid Rientjes2009-01-06 23:39:29 +0100
committerLinus Torvalds2009-01-07 00:59:02 +0100
commit364aeb2849789b51bf4b9af2ddd02fee7285c54e (patch)
tree4a24ea43a2a76ae744571f3c7b5022aa1107599e /kernel/sysctl.c
parentmm/page_alloc.c: eliminate NULL test and memset after alloc_bootmem (diff)
downloadkernel-qcow2-linux-364aeb2849789b51bf4b9af2ddd02fee7285c54e.tar.gz
kernel-qcow2-linux-364aeb2849789b51bf4b9af2ddd02fee7285c54e.tar.xz
kernel-qcow2-linux-364aeb2849789b51bf4b9af2ddd02fee7285c54e.zip
mm: change dirty limit type specifiers to unsigned long
The background dirty and dirty limits are better defined with type specifiers of unsigned long since negative writeback thresholds are not possible. These values, as returned by get_dirty_limits(), are normally compared with ZVC values to determine whether writeback shall commence or be throttled. Such page counts cannot be negative, so declaring the page limits as signed is unnecessary. Acked-by: Peter Zijlstra <peterz@infradead.org> Cc: Dave Chinner <david@fromorbit.com> Cc: Christoph Lameter <cl@linux-foundation.org> Signed-off-by: David Rientjes <rientjes@google.com> Cc: Andrea Righi <righi.andrea@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions