--655616-1389835268-983220199=:7414
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.4.30.0102262144001.7414@elte.hu>
On Mon, 26 Feb 2001, Andrea Arcangeli wrote:
> The highmem changes in 2.4.2ac3 has a couple of bugs, one relevant
> that can generate deadlocks (re-enable interrupts with io_request_lock
> acquired).
oops, right, the emergency-pool patch was just a quick hack to check
whether this is the final problem affecting RL highmem systems.
the attached highmem-2.4.2-A0 patch does the jist of your fixes, against
-ac4. Differences: no need to complicate highmem.c with pool-fillup on
bootup. It will get refilled after the first disk-accesses anyway.
i'm unsure about the other changes done by your patch, could you explain
them? Notably the pgalloc-3level.h and fault.c changes. Thanks,
Ingo
--655616-1389835268-983220199=:7414
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="highmem-2.4.2-A0"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.30.0102262143190.7414@elte.hu>
Content-Description:
Content-Disposition: ATTACHMENT; FILENAME="highmem-2.4.2-A0"
LS0tIGxpbnV4L21tL2hpZ2htZW0uYy5vcmlnCU1vbiBGZWIgMjYgMjM6MzM6
MTcgMjAwMQ0KKysrIGxpbnV4L21tL2hpZ2htZW0uYwlNb24gRmViIDI2IDIz
OjM3OjAyIDIwMDENCkBAIC0yMTcsNiArMjE3LDcgQEANCiBzdGF0aWMgaW5s
aW5lIHZvaWQgYm91bmNlX2VuZF9pbyAoc3RydWN0IGJ1ZmZlcl9oZWFkICpi
aCwgaW50IHVwdG9kYXRlKQ0KIHsNCiAJc3RydWN0IHBhZ2UgKnBhZ2U7DQor
CXVuc2lnbmVkIGxvbmcgZmxhZ3M7DQogCXN0cnVjdCBsaXN0X2hlYWQgKnRt
cDsNCiAJc3RydWN0IGJ1ZmZlcl9oZWFkICpiaF9vcmlnID0gKHN0cnVjdCBi
dWZmZXJfaGVhZCAqKShiaC0+Yl9wcml2YXRlKTsNCiANCkBAIC0yMzEsMjcg
KzIzMiwyNyBAQA0KIAkJX19mc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yZ2VuY3lfbG9jayk7DQorCQlzcGlu
X3VubG9ja19pcnFyZXN0b3JlKCZlbWVyZ2VuY3lfbG9jaywgZmxhZ3MpOw0K
IAl9DQogfQ0KIA0KQEAgLTI5Nyw2ICsyOTgsMTIgQEANCiAJc3Bpbl91bmxv
Y2tfaXJxKCZlbWVyZ2VuY3lfbG9jayk7DQogCWlmIChwYWdlKQ0KIAkJcmV0
dXJuIHBhZ2U7DQorDQorCXJ1bl90YXNrX3F1ZXVlKCZ0cV9kaXNrKTsNCisN
CisJY3VycmVudC0+cG9saWN5IHw9IFNDSEVEX1lJRUxEOw0KKwlfX3NldF9j
dXJyZW50X3N0YXRlKFRBU0tfUlVOTklORyk7DQorCXNjaGVkdWxlKCk7DQog
CWdvdG8gcmVwZWF0X2FsbG9jOw0KIH0NCiANCkBAIC0zMjgsNiArMzM1LDEy
IEBADQogCXNwaW5fdW5sb2NrX2lycSgmZW1lcmdlbmN5X2xvY2spOw0KIAlp
ZiAoYmgpDQogCQlyZXR1cm4gYmg7DQorDQorCXJ1bl90YXNrX3F1ZXVlKCZ0
cV9kaXNrKTsNCisNCisJY3VycmVudC0+cG9saWN5IHw9IFNDSEVEX1lJRUxE
Ow0KKwlfX3NldF9jdXJyZW50X3N0YXRlKFRBU0tfUlVOTklORyk7DQorCXNj
aGVkdWxlKCk7DQogCWdvdG8gcmVwZWF0X2FsbG9jOw0KIH0NCiANCg==
--655616-1389835268-983220199=:7414--
-
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/