Re: Trouble with 116 (was Re: Notebooks)

Alan Modra (alan@spri.levels.unisa.edu.au)
Wed, 19 Aug 1998 17:55:14 +0930 (CST)


On Wed, 19 Aug 1998, Craig Schlenter wrote:
> [snip, Linus]
> > that should _obviously_ read
> >
> > current->flags &= ~PF_MEMALLOC;
> >
> I had my box 'lock-up' on me with a slightly modified 2.1.116. I'm running
> with the above line fixed and with the page ageing #ifdef set to 1 instead

Did you catch the test too?

if (current->flags & PF_MEMALLOC) {

should be

if (!(current->flags & PF_MEMALLOC)) {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html