Thank you, I applied this to an otherwise stock 2.2.13 kernel and got one
error:
patching file `linux/drivers/char/tty_io.c'
Hunk #1 FAILED at 652.
1 out of 3 hunks FAILED -- saving rejects to linux/drivers/char/tty_io.c.rej
Contents of tty_io.c.rej:
***************
*** 652,657 ****
struct inode *inode = file->f_dentry->d_inode;
up(&inode->i_sem);
if (down_interruptible(&inode->i_atomic_write)) {
down(&inode->i_sem);
return -ERESTARTSYS;
--- 652,658 ----
struct inode *inode = file->f_dentry->d_inode;
up(&inode->i_sem);
+ conditional_schedule();
if (down_interruptible(&inode->i_atomic_write)) {
down(&inode->i_sem);
return -ERESTARTSYS;
Patch is looking for:
if (down_interruptible(&inode->i_atomic_write)) {
But actual code is:
if (down_interruptible(&tty->atomic_write)) {
I added the conditional_schedual() before this line by hand, but thought
you, and anybody else trying to apply this patch, might like to know about
this. Thanks!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/