--8323328-1564037877-991731865=:2633
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.4.33.0106051107381.2837@localhost.localdomain>
the attached softirq-2.4.6-B2 patch against 2.4.6-pre1 includes additional
softirq fixes and cleanups:
- David S. Miller noticed that 64-bit architectures are broken due to
set_bit() on an int. Moved __cpu_raise_softirq into asm/softirq.h,
every architecture can now define its fastest way of flipping a bit.
- fixes module exports
- got rid of softirq_mask, because it's completely unused currently, and
just causes inlined overhead. There is a clear update path for other
architectures: __softirq_mask, __softirq_active is replaced by a single
__softirq_pending field. This change also simplified the do_softirq()
code.
- a small enable_local_bh() optimization
the patch compiles, boots & works just fine when applied to vanilla
2.4.6-pre1.
Ingo
--8323328-1564037877-991731865=:2633
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="softirq-2.4.6-B2"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.33.0106051104250.2633@localhost.localdomain>
Content-Description:
Content-Disposition: ATTACHMENT; FILENAME="softirq-2.4.6-B2"
LS0tIGxpbnV4L2tlcm5lbC9rc3ltcy5jLm9yaWcJVHVlIEp1biAgNSAwOTo1
OTo0NCAyMDAxDQorKysgbGludXgva2VybmVsL2tzeW1zLmMJVHVlIEp1biAg
NSAxMDowMDoxOCAyMDAxDQpAQCAtNTM1LDYgKzUzNSw5IEBADQogRVhQT1JU
X1NZTUJPTCh0YXNrbGV0X2luaXQpOw0KIEVYUE9SVF9TWU1CT0wodGFza2xl
dF9raWxsKTsNCiBFWFBPUlRfU1lNQk9MKF9fcnVuX3Rhc2tfcXVldWUpOw0K
K0VYUE9SVF9TWU1CT0woZG9fc29mdGlycSk7DQorRVhQT1JUX1NZTUJPTCh0
YXNrbGV0X3NjaGVkdWxlKTsNCitFWFBPUlRfU1lNQk9MKHRhc2tsZXRfaGlf
c2NoZWR1bGUpOw0KIA0KIC8qIGluaXQgdGFzaywgZm9yIG1vdmluZyBrdGhy
ZWFkIHJvb3RzIC0gb3Vn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kgJiYgc29mdGlycV9wZW5kaW5n
KF9fY3B1KSkgeyBkb19zb2Z0aXJxKCk7IF9fc3RpKCk7IH0gfSB3aGlsZSAo
MCkNCisjZGVmaW5lIF9fY3B1X3JhaXNlX3NvZnRpcnEoY3B1LG5yKSBzZXRf
Yml0KChuciksICZzb2Z0aXJxX3BlbmRpbmcoY3B1KSk7DQogI2RlZmluZSBp
bl9zb2Z0aXJxKCkgKGxvY2FsX2JoX2NvdW50KHNtcF9wcm9jZXNzb3JfaWQo
KSkgIT0gMCkNCiANCiAjZW5kaWYJLyogX19BU01fU09GVElSUV9IICovDQo=
--8323328-1564037877-991731865=:2633--
-
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/