]> Git Repo - linux.git/commit
proc: add cond_resched to /proc/kpage* read/write loop
authorVladimir Davydov <[email protected]>
Wed, 9 Sep 2015 22:35:51 +0000 (15:35 -0700)
committerLinus Torvalds <[email protected]>
Thu, 10 Sep 2015 20:29:01 +0000 (13:29 -0700)
commitd3691d2c6d3e72624c987bbef6f322631bbb2d5d
treef87defd1e939131c6c46ab826ec0f901f59cbc95
parentf074a8f49eb87cde95ac9d040ad5e7ea4f029738
proc: add cond_resched to /proc/kpage* read/write loop

Reading/writing a /proc/kpage* file may take long on machines with a lot
of RAM installed.

Signed-off-by: Vladimir Davydov <[email protected]>
Suggested-by: Andres Lagar-Cavilla <[email protected]>
Reviewed-by: Andres Lagar-Cavilla <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Raghavendra K T <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Greg Thelen <[email protected]>
Cc: Michel Lespinasse <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Cc: Cyrill Gorcunov <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/proc/page.c
This page took 0.051643 seconds and 4 git commands to generate.