Re: MM deadlock [was: Re: arca-vm-8...]

Linus Torvalds
1999-01-12T17:58:17Z

On Tue, 12 Jan 1999, Stephen C. Tweedie wrote:
>
> On 11 Jan 1999 00:04:11 -0600, ebiederm+eric@ccr.net (Eric W. Biederman)
> said:
>
> > Oh, and just as a side note we are currently unfairly penalizing
> > threaded programs by doing for_each_task instead of for_each_mm in the
> > swapout code...
>
> I know, on my TODO list...

Actually, this one is _really_ easy to fix.

The truly trivial fix is to just move "swap_cnt" into the mm structure,
and you're all done. You'd still walk the list with for_each_task(), but
it no longer matters.

Linus