[patch] mempool-2.5.1-D2

Ingo Molnar (mingo@elte.hu)
Fri, 14 Dec 2001 20:13:49 +0100 (CET)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

--8323328-1044705119-1008357229=:14764
Content-Type: TEXT/PLAIN; charset=US-ASCII

Andrew Morton noticed another bug, run_tasklist() should not be called as
TASK_UNINTERRUPTIBLE. The attached patch fixes this.

Ingo

--8323328-1044705119-1008357229=:14764
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="mempool-2.5.1-D2"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.33.0112142013490.14764@localhost.localdomain>
Content-Description:
Content-Disposition: attachment; filename="mempool-2.5.1-D2"

LS0tIGxpbnV4L21tL21lbXBvb2wuYy5vcmlnCUZyaSBEZWMgMTQgMTY6NTU6
MTIgMjAwMQ0KKysrIGxpbnV4L21tL21lbXBvb2wuYwlGcmkgRGVjIDE0IDE4
OjAzOjA3IDIwMDENCkBAIC0xNzYsNyArMTc2LDggQEANCiAgKg0KICAqIHRo
aXMgZnVuY3Rpb24gb25seSBzbGVlcHMgaWYgdGhlIGFsbG9jX2ZuIGZ1bmN0
aW9uIHNsZWVwcyBvcg0KICAqIHJldHVybnMgTlVMTC4gTm90ZSB0aGF0IGR1
ZSB0byBwcmVhbGxvY2F0aW9uLCB0aGlzIGZ1bmN0aW9uDQotICogKm5ldmVy
KiBmYWlscy4NCisgKiAqbmV2ZXIqIGZhaWxzIHdoZW4gY2FsbGVkIGZyb20g
cHJvY2VzcyBjb250ZXh0cy4gKGl0IG1pZ2h0DQorICogZmFpbCBpZiBjYWxs
ZWQgZnJvbSBhbiBJUlEgY29udGV4dC4pDQogICovDQogdm9pZCAqIG1lbXBv
b2xfYWxsb2MobWVtcG9vbF90ICpwb29sLCBpbnQgZ2ZwX21hc2spDQogew0K
QEAgLTE4NSw3ICsxODYsNyBAQA0KIAlzdHJ1Y3QgbGlzdF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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/