Re: [PATCH] TASK_KILLABLE version 2

2007-12-06 Thread Matthew Wilcox
On Mon, Sep 24, 2007 at 04:16:48PM -0400, Bob Bell wrote: > I've been testing this patch on my systems. It's working for me when > I read() a file. Asynchronous write()s seem okay, too. However, > synchronous writes (caused by either calling fsync() or fcntl() to > release a lock) prevent the

Re: [PATCH] TASK_KILLABLE version 2

2007-12-06 Thread Matthew Wilcox
On Mon, Sep 24, 2007 at 04:16:48PM -0400, Bob Bell wrote: I've been testing this patch on my systems. It's working for me when I read() a file. Asynchronous write()s seem okay, too. However, synchronous writes (caused by either calling fsync() or fcntl() to release a lock) prevent the

Re: [PATCH] TASK_KILLABLE version 2

2007-09-28 Thread Nick Piggin
On Wednesday 26 September 2007 21:57, Ric Wheeler wrote: > Bob Bell wrote: > > On Sat, Sep 01, 2007 at 08:43:49PM -0600, Matthew Wilcox wrote: > >> Here's the second version of TASK_KILLABLE. A few changes since > >> version 1: > > > > > > > >> I obviously haven't covered every place that can

Re: [PATCH] TASK_KILLABLE version 2

2007-09-28 Thread Nick Piggin
On Wednesday 26 September 2007 21:57, Ric Wheeler wrote: Bob Bell wrote: On Sat, Sep 01, 2007 at 08:43:49PM -0600, Matthew Wilcox wrote: Here's the second version of TASK_KILLABLE. A few changes since version 1: snip I obviously haven't covered every place that can result in a

Re: [PATCH] TASK_KILLABLE version 2

2007-09-26 Thread Ric Wheeler
Bob Bell wrote: On Sat, Sep 01, 2007 at 08:43:49PM -0600, Matthew Wilcox wrote: Here's the second version of TASK_KILLABLE. A few changes since version 1: I obviously haven't covered every place that can result in a process sleeping uninterruptibly while attempting an operation. But

Re: [PATCH] TASK_KILLABLE version 2

2007-09-26 Thread Ric Wheeler
Bob Bell wrote: On Sat, Sep 01, 2007 at 08:43:49PM -0600, Matthew Wilcox wrote: Here's the second version of TASK_KILLABLE. A few changes since version 1: snip I obviously haven't covered every place that can result in a process sleeping uninterruptibly while attempting an operation. But

Re: [PATCH] TASK_KILLABLE version 2

2007-09-24 Thread Bob Bell
On Sat, Sep 01, 2007 at 08:43:49PM -0600, Matthew Wilcox wrote: Here's the second version of TASK_KILLABLE. A few changes since version 1: I obviously haven't covered every place that can result in a process sleeping uninterruptibly while attempting an operation. But sync_page (patch 4/5)

Re: [PATCH] TASK_KILLABLE version 2

2007-09-24 Thread Bob Bell
On Sat, Sep 01, 2007 at 08:43:49PM -0600, Matthew Wilcox wrote: Here's the second version of TASK_KILLABLE. A few changes since version 1: snip I obviously haven't covered every place that can result in a process sleeping uninterruptibly while attempting an operation. But sync_page (patch

[PATCH] TASK_KILLABLE version 2

2007-09-01 Thread Matthew Wilcox
Here's the second version of TASK_KILLABLE. A few changes since version 1: - Don't split up TASK_INTERRUPTIBLE and TASK_UNINTERRUPTIBLE. TASK_WAKESIGNAL and TASK_LOADAVG were pretty much equivalent, and since we had to keep __TASK_{UN,}INTERRUPTIBLE anyway, splitting them made little

[PATCH] TASK_KILLABLE version 2

2007-09-01 Thread Matthew Wilcox
Here's the second version of TASK_KILLABLE. A few changes since version 1: - Don't split up TASK_INTERRUPTIBLE and TASK_UNINTERRUPTIBLE. TASK_WAKESIGNAL and TASK_LOADAVG were pretty much equivalent, and since we had to keep __TASK_{UN,}INTERRUPTIBLE anyway, splitting them made little