rwsemaphores and modules

2001-01-20 Thread Paul Mackerras
up Paul. -- Paul Mackerras, Open Source Research Fellow, Linuxcare, Inc. +61 2 6262 8990 tel, +61 2 6262 8991 fax [EMAIL PROTECTED], http://www.linuxcare.com.au/ Linuxcare. Support for the revolution. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH] fix for ppp_async lockup in 2.4.0

2001-01-14 Thread Paul Mackerras
I meant to add that I have tested the patch I sent on both UP and SMP; PPP connections work fine and the exploit program doesn't hang the system. Paul. -- Paul Mackerras, Open Source Research Fellow, Linuxcare, Inc. +61 2 6262 8990 tel, +61 2 6262 8991 fax [EMAIL PROTECTED],

[PATCH] fix for ppp_async lockup in 2.4.0

2001-01-14 Thread Paul Mackerras
The following patch fixes the lockup inside ppp_async_push which can occur if you set both the master and slave of a pty to PPP line discipline. The patch essentially makes 3 changes to ppp_async.c: 1. We detect the recursion that can occur if the tty driver's write function calls back to the

ENOMEM on socket writes

2001-01-11 Thread Paul Mackerras
waiting until the write has a chance of succeeding. About the only thing that I can see to do is just to spin trying the write over and over - does anyone have a better idea? Paul. -- Paul Mackerras, Open Source Research Fellow, Linuxcare, Inc. +61 2 6262 8990 tel, +61 2 6262 8991 fax [EMAI

Re: gettimeofday() non-monotonic on uniprocessor system with ntp turned off?

2000-12-19 Thread Paul Mackerras
running backwards. Looking at the code in the kernel, I can't see why this would happen. Could you send me the code for your test program so I can chase this? Paul. -- Paul Mackerras, Senior Open Source Researcher, Linuxcare, Inc. +61 2 6262 8990 tel, +61 2 6262 8991 fax [EMAIL PROTECTED], http:

page->mapping == 0

2000-10-29 Thread Paul Mackerras
e we want (i.e. page->mapping and page->index are still correct), and go back and look up the page again if not. Presumably there will be quite a few places besides do_generic_file_read where that check would be needed also. Regards, Paul. -- Paul Mackerras, Senior Open Source Researcher

pcmcia fixes for apple powerbook

2000-09-16 Thread Paul Mackerras
David, The patch below fixes some problems I found in trying to use the in-kernel pcmcia/cardbus support in 2.4.0-test9-pre1 on my 1999 G3 powerbook, which has a TI 1211 cardbus controller. The first part of the patch fixes a simple endianness problem in cs.c. Following that is a small change th

pcmcia fixes for apple powerbook

2000-09-16 Thread Paul Mackerras
David, The patch below fixes some problems I found in trying to use the in-kernel pcmcia/cardbus support in 2.4.0-test8 on my 1999 G3 powerbook, which has a TI 1211 cardbus controller. The first part of the patch fixes a simple endianness problem in cs.c. Following that is a small change that re

Re: PowerPC Linux for AS/400 & RS/6000 Hardware

2000-09-13 Thread Paul Mackerras
L: [EMAIL PROTECTED] > > S: Maintained Suggestion: do it like this: LINUX FOR POWERPC AS/400 & RS/6000 P: Dwayne Grant McConnell M: [EMAIL PROTECTED] P: Tom Gall M: [EMAIL PROTECTED] W: http://oss.software.ibm.com/developerworks/opensource/linux/project

[PATCH] fix ISA dependencies in pcmcia stuff

2000-09-01 Thread Paul Mackerras
Linus, The patch below adds #ifdef CONFIG_ISA to a couple of places in the pcmcia drivers. This patch allows me to use the cardbus slot on my Apple powerbook under linux-2.4.0-test8-pre1. Regards, Paul. diff -urN linux/drivers/pcmcia/cardbus.c bk/drivers/pcmcia/cardbus.c --- linux/drivers/pcmc

[PATCH] add PPP filtering

2000-09-01 Thread Paul Mackerras
ahan and Al Longyear, and * subsequently hacked by Paul Mackerras. * - * ==FILEVERSION 2417== + * ==FILEVERSION 2902== */ #include @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -121,6 +122,10 @@ struct sk_buff_head mrq;

<    2   3   4   5   6   7