Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.24-git7 /mm/oom_kill.c

Filename:/mm/oom_kill.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.6.24-git6  2.6.24-git5  2.6.24-git4  2.6.24-git3  2.6.24-git2  2.6.24 
(Following) 2.6.24-git8  2.6.24-git9  2.6.24-git10  2.6.24-git11  2.6.24-git12  2.6.24-git13 

Location
[  2.6.24-git7
  [  mm
     o  oom_kill.c

Patch

diff --git a/mm/oom_kill.c b/mm/oom_kill.c
index 91a081a..96473b4 100644
--- a/mm/oom_kill.c
+++ b/mm/oom_kill.c
@@ -286,7 +286,7 @@ static void __oom_kill_task(struct task_struct *p, int verbose)
     * all the memory it needs. That way it should be able to
     * exit() and clear out its resources quickly...
     */
-   p->time_slice = HZ;
+   p->rt.time_slice = HZ;
    set_tsk_thread_flag(p, TIF_MEMDIE);
 
    force_sig(SIGKILL, p);


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.