Re: [PATCH v3] psi: get poll_work to run when calling poll syscall next time

2019-08-24 Thread Andrew Morton
On Fri, 23 Aug 2019 08:53:09 +0800 Joseph Qi wrote: > > Should this be backported into -stable kernels? > > > Sorry for missing that, should I resend it with cc stable tag? I added cc:stable to this patch.

Re: [PATCH v3] psi: get poll_work to run when calling poll syscall next time

2019-08-22 Thread Joseph Qi
On 19/8/23 06:21, Andrew Morton wrote: > On Wed, 21 Aug 2019 11:26:25 +0800 Joseph Qi > wrote: > >> Only when calling the poll syscall the first time can user >> receive POLLPRI correctly. After that, user always fails to >> acquire the event signal. >> >> Reproduce case: >> 1. Get the monito

Re: [PATCH v3] psi: get poll_work to run when calling poll syscall next time

2019-08-22 Thread Suren Baghdasaryan
On Thu, Aug 22, 2019 at 4:17 PM Andrew Morton wrote: > > On Thu, 22 Aug 2019 16:11:15 -0700 Suren Baghdasaryan > wrote: > > > On Thu, Aug 22, 2019 at 3:21 PM Andrew Morton > > wrote: > > > > > > On Wed, 21 Aug 2019 11:26:25 +0800 Joseph Qi > > > wrote: > > > > > > > Only when calling the pol

Re: [PATCH v3] psi: get poll_work to run when calling poll syscall next time

2019-08-22 Thread Andrew Morton
On Thu, 22 Aug 2019 16:11:15 -0700 Suren Baghdasaryan wrote: > On Thu, Aug 22, 2019 at 3:21 PM Andrew Morton > wrote: > > > > On Wed, 21 Aug 2019 11:26:25 +0800 Joseph Qi > > wrote: > > > > > Only when calling the poll syscall the first time can user > > > receive POLLPRI correctly. After tha

Re: [PATCH v3] psi: get poll_work to run when calling poll syscall next time

2019-08-22 Thread Suren Baghdasaryan
On Thu, Aug 22, 2019 at 3:21 PM Andrew Morton wrote: > > On Wed, 21 Aug 2019 11:26:25 +0800 Joseph Qi > wrote: > > > Only when calling the poll syscall the first time can user > > receive POLLPRI correctly. After that, user always fails to > > acquire the event signal. > > > > Reproduce case: >

Re: [PATCH v3] psi: get poll_work to run when calling poll syscall next time

2019-08-22 Thread Andrew Morton
On Wed, 21 Aug 2019 11:26:25 +0800 Joseph Qi wrote: > Only when calling the poll syscall the first time can user > receive POLLPRI correctly. After that, user always fails to > acquire the event signal. > > Reproduce case: > 1. Get the monitor code in Documentation/accounting/psi.txt > 2. Run i

[PATCH v3] psi: get poll_work to run when calling poll syscall next time

2019-08-20 Thread Joseph Qi
From: Jason Xing Only when calling the poll syscall the first time can user receive POLLPRI correctly. After that, user always fails to acquire the event signal. Reproduce case: 1. Get the monitor code in Documentation/accounting/psi.txt 2. Run it, and wait for the event triggered. 3. Kill and r