projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm/compaction: cleanup isolate_freepages()
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
mm
/
page-writeback.c
diff --git
a/mm/page-writeback.c
b/mm/page-writeback.c
index
d013dba
..
9f45f87
100644
(file)
--- a/
mm/page-writeback.c
+++ b/
mm/page-writeback.c
@@
-1324,9
+1324,9
@@
static inline void bdi_dirty_limits(struct backing_dev_info *bdi,
*bdi_thresh = bdi_dirty_limit(bdi, dirty_thresh);
if (bdi_bg_thresh)
*bdi_thresh = bdi_dirty_limit(bdi, dirty_thresh);
if (bdi_bg_thresh)
- *bdi_bg_thresh = div_u64((u64)*bdi_thresh *
- background_thresh,
-
dirty_thresh)
;
+ *bdi_bg_thresh = di
rty_thresh ? di
v_u64((u64)*bdi_thresh *
+
background_thresh,
+
dirty_thresh) : 0
;
/*
* In order to avoid the stacked BDI deadlock we need
/*
* In order to avoid the stacked BDI deadlock we need