public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: cel@kernel.org
Cc: stable@vger.kernel.org, linux-nfs@vger.kernel.org,
	NeilBrown <neilb@suse.de>, Jon Hunter <jonathanh@nvidia.com>
Subject: Re: [PATCH 5.15] sunrpc: exclude from freezer when waiting for requests:
Date: Wed, 12 Jun 2024 16:46:54 +0200	[thread overview]
Message-ID: <2024061245-climate-sedation-d03f@gregkh> (raw)
In-Reply-To: <20240607131048.8795-1-cel@kernel.org>

On Fri, Jun 07, 2024 at 09:10:48AM -0400, cel@kernel.org wrote:
> From: NeilBrown <neilb@suse.de>
> 
> 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@nvidia.com>
> Signed-off-by: NeilBrown <neilb@suse.de>
> ---
>  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

      reply	other threads:[~2024-06-12 14:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-07 13:10 [PATCH 5.15] sunrpc: exclude from freezer when waiting for requests: cel
2024-06-12 14:46 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2024061245-climate-sedation-d03f@gregkh \
    --to=greg@kroah.com \
    --cc=cel@kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox