OSDN Git Service

mm/gup.c: update the documentation
[tomoyo/tomoyo-test1.git] / mm / vmscan.c
index a37c87b..b2f5deb 100644 (file)
@@ -1878,13 +1878,13 @@ static unsigned noinline_for_stack move_pages_to_lru(struct lruvec *lruvec,
 
 /*
  * If a kernel thread (such as nfsd for loop-back mounts) services
- * a backing device by writing to the page cache it sets PF_LESS_THROTTLE.
+ * a backing device by writing to the page cache it sets PF_LOCAL_THROTTLE.
  * In that case we should only throttle if the backing device it is
  * writing to is congested.  In other cases it is safe to throttle.
  */
 static int current_may_throttle(void)
 {
-       return !(current->flags & PF_LESS_THROTTLE) ||
+       return !(current->flags & PF_LOCAL_THROTTLE) ||
                current->backing_dev_info == NULL ||
                bdi_write_congested(current->backing_dev_info);
 }