Re: VM-related Oops: 2.4.15pre1

Linus Torvalds (torvalds@transmeta.com)
Sat, 17 Nov 2001 19:12:51 -0800


In article <20011117225327.5368.qmail@thales.mathematik.uni-ulm.de> you write:
>
>I think this one liner (diffed against 2.4.14) could fix this Oops:

It really shouldn't matter - at that point we have the page locked, and
we know the page has buffers, so the page cannot go away from under us:
we can delay the "increment page count" simply because we know somebody
else (the buffers) hold on to the page.

Which is not to say that I disagree with the patch itself: it tends to
be good practice to not depend on quite-so-subtle locking rules. It just
really shouldn't make any difference to the problem.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/