David,

This is late for follow up, but I wanted to know if this patch was accepted
or not.  If not, I'll post it to the linuxvm.org/patches directory.  Please
let me know.

Thanks,

Mark Post

-----Original Message-----
From: dkennedy [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 5:02 PM
To: [EMAIL PROTECTED]
Subject: [Patch] Patch for IUCV initialization delay



Some people have been commenting about slowness in starting up IUCV
connections to the TCPIP service on z/VM.  Some mailing list messages
on this topic include:

http://www.marist.edu/htbin/wlvtype?LINUX-VM.25123
http://www.marist.edu/htbin/wlvtype?LINUX-VM.25137

It appears the issue with this is because of a race condition in the
drivers/s390/net/iucv.c code.  The patch provided in this email should
remove the race condition.

The netiucv driver registers a handler with the iucv code.  This handler
is supposed to recieve all packets that are sent with a specific pathid.
What ends up happening is that the connection established message is
received after the connection request is sent but before the handler is
registered.  This patch solves this issue by turning off IUCV Control
Interrupts before issuing the connection request and reestablishes them
after registering the handler.

This patch can be applied to the latest 2.4 and 2.5 kernel series.  I have
submitted this patch to [EMAIL PROTECTED]

If you have any questions or comments, please don't hesitate to contact me.

Thank you.

--
David Kennedy, Senior Linux Consultant, Linuxcare, Inc.
613.562.9594 tel, 613.562.9304 fax
[EMAIL PROTECTED], http://www.linuxcare.com/
Linuxcare.  Putting open source to work.

Reply via email to