Fw: Re: top stack (l)users for 2.5.67

Randy.Dunlap (rddunlap@osdl.org)
Mon, 14 Apr 2003 17:18:15 -0700


This is a multi-part message in MIME format.

--Multipart_Mon__14_Apr_2003_17:18:15_-0700_09f11948
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

I'm reposting these 2 patches in case anyone is interested in them.

~Randy

Begin forwarded message:

Date: Mon, 14 Apr 2003 13:26:12 -0700
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: J=F6rn Engel <joern@wohnheim.fh-wedel.de>
Subject: Re: top stack (l)users for 2.5.67

On Mon, 14 Apr 2003 21:44:42 +0200 J=F6rn Engel <joern@wohnheim.fh-wedel.de=
> wrote:

| On Mon, 14 April 2003 12:38:10 -0700, Randy.Dunlap wrote:
| > On Mon, 14 Apr 2003 19:30:47 +0200 J=F6rn Engel <joern@wohnheim.fh-wede=
l.de> wrote:
| >=20
| >=20
| > | 0xc05e2733 ida_ioctl: sub $0x54=
c,%esp
| >=20
| > patch posted 2003.APR.03 (on lkml); Steve Cameron saw it...
| >=20
| > | 0xc0fb00e3 device_new_if: sub $0x52=
0,%esp
| >=20
| > patch posted 2003.APR.03 (on linux-net);
| > no reply from Nenad Corbic (ncorbic@sangoma.com)
|=20
| Hm, all these stack reduction patches are relevant to -je as well.
| Could I have a copy of those two?

--Multipart_Mon__14_Apr_2003_17:18:15_-0700_09f11948
Content-Type: application/octet-stream;
name="wan-stack.patch"
Content-Disposition: attachment;
filename="wan-stack.patch"
Content-Transfer-Encoding: base64

cGF0Y2hfbmFtZToJd2FuLXN0YWNrLnBhdGNoCnBhdGNoX3ZlcnNpb246CTIwMDMtMDQtMDIuMjA6
NTk6NDkKYXV0aG9yOgkJUmFuZHkuRHVubGFwIDxyZGR1bmxhcEBvc2RsLm9yZz4KZGVzY3JpcHRp
b246CXJlZHVjZSBzdGFjayBpbiBuZXQvd2Fucm91dGVyL3dhbm1haW4uYzo6ZGV2aWNlX25ld19p
ZigpCg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d2FuZGV2LCBkZXYsICZjb25mKTsKKwkJZXJyID0gd2FuZGV2LT5uZXdfaWYod2FuZGV2LCBkZXYs
IGNuZik7CiAJfQogCiAJaWYgKCFlcnIpIHsKQEAgLTczOSw3ICs3NTMsOCBAQAogCQkJCSsrd2Fu
ZGV2LT5uZGV2OwogCiAJCQkJdW5sb2NrX2FkYXB0ZXJfaXJxKCZ3YW5kZXYtPmxvY2ssICZzbXBf
ZmxhZ3MpOwotCQkJCXJldHVybiAwOwkvKiBkb25lICEhISAqLworCQkJCWVyciA9IDA7CS8qIGRv
bmUgISEhICovCisJCQkJZ290byBjb25mZnJlZTsKIAkJCX0KIAkJfQogCQlpZiAod2FuZGV2LT5k
ZWxfaWYpCkBAIC03NTIsMTggKzc2NywxOSBAQAogCQlkZXYtPnByaXYgPSBOVUxMOwogCX0KIAot
CiAjaWZkZWYgQ09ORklHX1dBTlBJUEVfTVVMVFBQUAotCWlmIChjb25mLmNvbmZpZ19pZCA9PSBX
QU5DT05GSUdfTVBQUCkKKwlpZiAoY25mLT5jb25maWdfaWQgPT0gV0FOQ09ORklHX01QUFApCiAJ
CWtmcmVlKHBwcGRldik7CiAJZWxzZQogCQlrZnJlZShkZXYpOwogI2Vsc2UKIAkvKiBTeW5jIFBQ
UCBpcyBkaXNhYmxlZCAqLwotCWlmIChjb25mLmNvbmZpZ19pZCAhPSBXQU5DT05GSUdfTVBQUCkK
KwlpZiAoY25mLT5jb25maWdfaWQgIT0gV0FOQ09ORklHX01QUFApCiAJCWtmcmVlKGRldik7CiAj
ZW5kaWYKIAorIGNvbmZmcmVlOgorCWtmcmVlKGNuZik7CiAJcmV0dXJuIGVycjsKIH0KIAo=

--Multipart_Mon__14_Apr_2003_17:18:15_-0700_09f11948
Content-Type: application/octet-stream;
name="cpqarray-stack.patch"
Content-Disposition: attachment;
filename="cpqarray-stack.patch"
Content-Transfer-Encoding: base64

cGF0Y2hfbmFtZToJY3BxYXJyYXktc3RhY2sucGF0Y2gKcGF0Y2h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cihoYmFbY3Rscl0tPmN0bHJfc2ln
LCAoaW50KilhcmcpOwo=

--Multipart_Mon__14_Apr_2003_17:18:15_-0700_09f11948--
-
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/