diff options
author | David Rientjes <rientjes@google.com> | 2009-01-06 14:39:29 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 15:59:02 -0800 |
commit | 364aeb2849789b51bf4b9af2ddd02fee7285c54e (patch) | |
tree | 4a24ea43a2a76ae744571f3c7b5022aa1107599e /Documentation/sysctl/vm.txt | |
parent | 58a01a45721bf7bd3a41a86248c3cb02a6b0c501 (diff) | |
download | kernel_samsung_smdk4412-364aeb2849789b51bf4b9af2ddd02fee7285c54e.zip kernel_samsung_smdk4412-364aeb2849789b51bf4b9af2ddd02fee7285c54e.tar.gz kernel_samsung_smdk4412-364aeb2849789b51bf4b9af2ddd02fee7285c54e.tar.bz2 |
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 'Documentation/sysctl/vm.txt')
0 files changed, 0 insertions, 0 deletions