Re: Relayfs Question: Use of relay_reset(). Potential race?

2005-04-18 Thread Kingsley Cheung
On Mon, Apr 18, 2005 at 10:56:57AM -0500, Tom Zanussi wrote: > Kingsley Cheung writes: > > On Wed, Mar 23, 2005 at 08:02:54PM +1100, [EMAIL PROTECTED] wrote: > > > Hi > > > > > > I'm using relayfs to relay data from a kernel module to user space

Re: Relayfs Question: Use of relay_reset(). Potential race?

2005-04-18 Thread Kingsley Cheung
On Mon, Apr 18, 2005 at 10:56:57AM -0500, Tom Zanussi wrote: Kingsley Cheung writes: On Wed, Mar 23, 2005 at 08:02:54PM +1100, [EMAIL PROTECTED] wrote: Hi I'm using relayfs to relay data from a kernel module to user space on a SuSE 2.6.5 kernel. I'm not absolutely sure what

Relayfs Question: Use of relay_reset(). Potential race?

2005-04-17 Thread Kingsley Cheung
On Wed, Mar 23, 2005 at 08:02:54PM +1100, [EMAIL PROTECTED] wrote: > Hi > > I'm using relayfs to relay data from a kernel module to user space on > a SuSE 2.6.5 kernel. I'm not absolutely sure what version of relayfs > has been back ported to it. Hi Tom, Could you please have a look at the

Relayfs Question: Use of relay_reset(). Potential race?

2005-04-17 Thread Kingsley Cheung
On Wed, Mar 23, 2005 at 08:02:54PM +1100, [EMAIL PROTECTED] wrote: Hi I'm using relayfs to relay data from a kernel module to user space on a SuSE 2.6.5 kernel. I'm not absolutely sure what version of relayfs has been back ported to it. Hi Tom, Could you please have a look at the

Re: read() on relayfs channel returns premature 0

2005-03-28 Thread Kingsley Cheung
On Thu, Mar 24, 2005 at 01:11:39PM -0600, Tom Zanussi wrote: > Kingsley Cheung writes: > > On Wed, Mar 23, 2005 at 09:29:12AM -0600, Tom Zanussi wrote: > > > [EMAIL PROTECTED] writes: > > > > > > > > Now I understand that

Re: read() on relayfs channel returns premature 0

2005-03-28 Thread Kingsley Cheung
On Thu, Mar 24, 2005 at 01:11:39PM -0600, Tom Zanussi wrote: Kingsley Cheung writes: On Wed, Mar 23, 2005 at 09:29:12AM -0600, Tom Zanussi wrote: [EMAIL PROTECTED] writes: Now I understand that this is not the latest release of relayfs (there are the redux patches, which

Re: read() on relayfs channel returns premature 0

2005-03-23 Thread Kingsley Cheung
On Wed, Mar 23, 2005 at 09:29:12AM -0600, Tom Zanussi wrote: > [EMAIL PROTECTED] writes: > > > > Now I understand that this is not the latest release of relayfs (there > > are the redux patches, which I have yet to try). Nonetheless I'd like > > to know whether this behaviour is deliberate.

Re: read() on relayfs channel returns premature 0

2005-03-23 Thread Kingsley Cheung
On Wed, Mar 23, 2005 at 09:29:12AM -0600, Tom Zanussi wrote: [EMAIL PROTECTED] writes: Now I understand that this is not the latest release of relayfs (there are the redux patches, which I have yet to try). Nonetheless I'd like to know whether this behaviour is deliberate. Is it?

Re: [PATCH] relayfs crash

2005-02-06 Thread Kingsley Cheung
On Sun, Feb 06, 2005 at 10:42:27PM -0600, Tom Zanussi wrote: > Kingsley Cheung writes: > > > > To solve the problem I applied a patch similar to the one you posted > > back in July and it fixed the problem. Could we consider putting this > > patch into relayfs? It

[PATCH] relayfs crash

2005-02-06 Thread Kingsley Cheung
Hi Tom, I've been stress testing a module that uses relayfs on a custom built 2.6 kernel with relayfs patches in it. This test simply loaded and unloaded the module while a script loaded the system with forks of 'ls' in the background. It was conducted on a dual 3.00GHz Xeon box (I couldn't

[PATCH] relayfs crash

2005-02-06 Thread Kingsley Cheung
Hi Tom, I've been stress testing a module that uses relayfs on a custom built 2.6 kernel with relayfs patches in it. This test simply loaded and unloaded the module while a script loaded the system with forks of 'ls' in the background. It was conducted on a dual 3.00GHz Xeon box (I couldn't

Re: [PATCH] relayfs crash

2005-02-06 Thread Kingsley Cheung
On Sun, Feb 06, 2005 at 10:42:27PM -0600, Tom Zanussi wrote: Kingsley Cheung writes: To solve the problem I applied a patch similar to the one you posted back in July and it fixed the problem. Could we consider putting this patch into relayfs? Its similar to the one posted in July