mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Barry K. Nathan" <barryn@pobox.com>
To: "Holger Hoffstätte" <holger@applied-asynchrony.com>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
Cc: stable@vger.kernel.org, patches@lists.linux.dev,
	linux-kernel@vger.kernel.org, torvalds@linux-foundation.org,
	akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org,
	patches@kernelci.org, lkft-triage@lists.linaro.org,
	pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com,
	sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de,
	conor@kernel.org, hargar@microsoft.com, broonie@kernel.org,
	Christian Brauner <brauner@kernel.org>
Subject: Re: [PATCH 6.15 000/588] 6.15.4-rc2 review
Date: Thu, 26 Jun 2025 01:59:32 -0700	[thread overview]
Message-ID: <7069cc77-a224-4753-8088-0302fc444710@pobox.com> (raw)
In-Reply-To: <6d3b0f28-98cb-46dd-b971-8a11e3b69d68@pobox.com>

On 6/25/25 05:15, Barry K. Nathan wrote:
> On 6/25/25 02:08, Holger Hoffstätte wrote:
>> On 2025-06-25 10:25, Greg Kroah-Hartman wrote:
>>> On Wed, Jun 25, 2025 at 10:00:56AM +0200, Holger Hoffstätte wrote:
>>>> (cc: Christian Brauner>
>>>>
>>>> Since 6.15.4-rc1 I noticed that some KDE apps (kded6, kate (the text 
>>>> editor))
>>>> started going into a tailspin with 100% per-process CPU.
>>>>
>>>> The symptom is 100% reproducible: open a new file with kate, save 
>>>> empty file,
>>>> make changes, save, watch CPU go 100%. perf top shows copy_to_user 
>>>> running wild.
>>>>
>>>> First I tried to reproduce on 6.15.3 - no problem, everything works 
>>>> fine.
>>>>
>>>> After checking the list of patches for 6.15.4 I reverted the 
>>>> anon_inode series
>>>> (all 3 for the first attempt) and the problem is gone.
>>>>
>>>> Will try to reduce further & can gladly try additional fixes, but 
>>>> for now
>>>> I'd say these patches are not yet suitable for stable.
>>>
>>> Does this same issue also happen for you on 6.16-rc3?
>>
>> Curiously it does *not* happen on 6.16-rc3, so that's good.
>> I edited/saved several files and everything works as it should.
>>
>> In 6.15.4-rc the problem occurs (as suspected) with:
>> anon_inode-use-a-proper-mode-internally.patch aka cfd86ef7e8e7 upstream.
>>
>> thanks
>> Holger
> 
> For what it's worth, I can confirm this reproduces easily and 
> consistently on Debian trixie's KDE (6.3.5), with either Wayland or X11. 
> It reproduces with kernel 6.15.4-rc2, and with 6.15.3+anon_inode-use-a- 
> proper-mode-internally.patch, but not with vanilla 6.15.3 or with 6.16-rc3.
> 
> By the way, my test VM has both GNOME and KDE installed. If I boot one 
> of the affected kernels and log into a GNOME session, I don't get any 
> GNOME processes chewing up CPU the way that some of the KDE processes 
> do. However, if I then start kate within the GNOME session and follow 
> the steps to reproduce (create a new file, save it immediately, type a 
> few characters, save again), kate still starts using 100% CPU.

After some testing and bisecting, I found that "anon_inode: use a proper 
mode internally" needs to be followed up with "fs: add S_ANON_INODE" 
(upstream commit 19bbfe7b5fcc) in order to avoid this regression.
-- 
-Barry K. Nathan  <barryn@pobox.com>

  reply	other threads:[~2025-06-26  8:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-24 12:30 Greg Kroah-Hartman
2025-06-24 12:50 ` Ronald Warsow
2025-06-24 14:05 ` Peter Schneider
2025-06-24 17:37 ` Florian Fainelli
2025-06-24 18:34 ` Luna Jernberg
2025-06-24 22:20 ` Christian Heusel
2025-06-25  7:24 ` Jon Hunter
2025-06-25  8:00 ` Holger Hoffstätte
2025-06-25  8:25   ` Greg Kroah-Hartman
2025-06-25  9:08     ` Holger Hoffstätte
2025-06-25 12:15       ` Barry K. Nathan
2025-06-26  8:59         ` Barry K. Nathan [this message]
2025-06-26 10:49           ` Greg Kroah-Hartman
2025-06-25  9:40 ` Takeshi Ogasawara
2025-06-25 10:15 ` Naresh Kamboju
2025-06-25 13:29 ` Justin Forbes
2025-06-25 19:48 ` Mark Brown
2025-06-25 23:16 ` Miguel Ojeda

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=7069cc77-a224-4753-8088-0302fc444710@pobox.com \
    --to=barryn@pobox.com \
    --cc=akpm@linux-foundation.org \
    --cc=brauner@kernel.org \
    --cc=broonie@kernel.org \
    --cc=conor@kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hargar@microsoft.com \
    --cc=holger@applied-asynchrony.com \
    --cc=jonathanh@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=lkft-triage@lists.linaro.org \
    --cc=patches@kernelci.org \
    --cc=patches@lists.linux.dev \
    --cc=pavel@denx.de \
    --cc=rwarsow@gmx.de \
    --cc=shuah@kernel.org \
    --cc=srw@sladewatkins.net \
    --cc=stable@vger.kernel.org \
    --cc=sudipm.mukherjee@gmail.com \
    --cc=torvalds@linux-foundation.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

all inboxes | Powered by JetHome®