lkml.org 
[lkml]   [1998]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kswapd's priority

On Fri, 26 Jun 1998, Rik van Riel wrote:

> > take a look at rw_swap_page(). If served with wait==1, it does wait for
> > swapout to finish. When a process is sleeping there, it _is_ waiting for
> > kswapd too (kswapd is probably busy trying to free some pages as well).
>
> Uhmm, no. If a process is sleeping there, it's probably because
> it's doing the I/O in it's _own_ context.

i didnt mean it literally, i ment it in a more abstract way. If a process
has to swapout a page, then probably kswapd is running too, because memory
is tight. Otherwise the direct coupling between 'no memory for process X'
and 'kswapd' is pretty loose, and done through swap_tick(), which is
pretty much unsuitable to carry any RT-priority ...

-- mingo



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.870 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site