Re: [PATCH 5.15] sunrpc: exclude from freezer when waiting for requests:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 07, 2024 at 09:10:48AM -0400, cel@xxxxxxxxxx wrote:
> From: NeilBrown <neilb@xxxxxxx>
> 
> Prior to v6.1, the freezer will only wake a kernel thread from an
> uninterruptible sleep.  Since we changed svc_get_next_xprt() to use and
> IDLE sleep the freezer cannot wake it.  We need to tell the freezer to
> ignore it instead.
> 
> To make this work with only upstream commits, 5.15.y would need
> commit f5d39b020809 ("freezer,sched: Rewrite core freezer logic")
> which allows non-interruptible sleeps to be woken by the freezer.
> 
> Fixes: 9b8a8e5e8129 ("nfsd: don't allow nfsd threads to be signalled.")
> Tested-by: Jon Hunter <jonathanh@xxxxxxxxxx>
> Signed-off-by: NeilBrown <neilb@xxxxxxx>
> ---
>  fs/nfs/callback.c     | 2 +-
>  fs/nfsd/nfs4proc.c    | 3 ++-
>  net/sunrpc/svc_xprt.c | 4 ++--
>  3 files changed, 5 insertions(+), 4 deletions(-)

Sorry for the delay, now queued up.

greg k-h




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux