From: Jeongho Choi <jh1012.choi@samsung.com>
To: Steven Rostedt <rostedt@goodmis.org>, mhiramat@kernel.org
Cc: jh1012.choi@samsung.com, linux-trace-kernel@vger.kernel.org,
linux-kernel@vger.kernel.org, ji2yoon.jo@samsung.com,
minki.jang@samsung.com, hajun.sung@samsung.com
Subject: Re: [BUG] tracing: Too many tries to read user space
Date: Thu, 16 Jul 2026 15:27:49 +0900 [thread overview]
Message-ID: <20260716062749.GA904@KORCO121415.samsungds.net> (raw)
In-Reply-To: <20260713102343.74baba5b@gandalf.local.home>
[-- Attachment #1: Type: text/plain, Size: 1949 bytes --]
On Mon, Jul 13, 2026 at 10:23:43AM -0400, Steven Rostedt wrote:
> On Mon, 13 Jul 2026 12:16:59 +0900
> Masami Hiramatsu (Google) <mhiramat@kernel.org> wrote:
>
> > > I also kept this around in case it was needed. Looks like it may be needed.
> >
> > Hmm, it's not clear whether this is the result of a scheduling storm
> > caused by kernel threads. But maybe worth to try.
>
> I don't see what else it could be.
>
> >
> > Jeongho, can you try this patch? Or/and you maybe also try using
> > mlock the LMKD process memory which is passed to trace_marker.
>
> Yes, Jeongho, can you please test this patch and also see if mlocking the
> memory used by trace_marker would help too?
>
> -- Steve
>
Hi Steven adn Masami,
Sorry for the delayed response.
I would like to share the current situation.
This issue occurred during the verification process of our latest Exynos
chip development.
Unfortunately, this problem is not being further reproduced.
We have continued testing the unmodified kernel on about 40 devices for
roughly 10 hours per day for approximately one week.
Because the baseline kernel no longer reproduces the problem at a
measurable rate, I do not think that a test with the proposed patch, or
with the LMKD buffer mlocked, would currently allow us to determine
whether either change improves the issue. A non-reproduction with the
patch would be indistinguishable from the current baseline result.
Versions that can be deployed for verification with a large
number of devices are limited to official release-ready versions.
I can only test the test patches you shared by building them
individually and testing them on the few devices I have.
Therefore, at this point I cannot provide a conclusive test result for
the proposed patch. I can still perform limited build and functional
testing on a small number of devices, but I would not be able to verify
whether the patch changes the reproduction rate.
Thanks,
Jeongho
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
prev parent reply other threads:[~2026-07-16 6:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20260708123754epcas2p1f15cc305ddb09f97164491d750769ef7@epcas2p1.samsung.com>
2026-07-08 12:37 ` [BUG] tracing: Too many tries to read user space Jeongho Choi
2026-07-08 13:18 ` Steven Rostedt
2026-07-09 0:04 ` Masami Hiramatsu
2026-07-10 3:22 ` Masami Hiramatsu
2026-07-10 11:46 ` Steven Rostedt
2026-07-13 2:55 ` Masami Hiramatsu
2026-07-10 12:33 ` Steven Rostedt
2026-07-13 3:16 ` Masami Hiramatsu
2026-07-13 14:23 ` Steven Rostedt
2026-07-16 6:27 ` Jeongho Choi [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=20260716062749.GA904@KORCO121415.samsungds.net \
--to=jh1012.choi@samsung.com \
--cc=hajun.sung@samsung.com \
--cc=ji2yoon.jo@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=mhiramat@kernel.org \
--cc=minki.jang@samsung.com \
--cc=rostedt@goodmis.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