mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robin Murphy <robin.murphy@arm.com>
To: Michael Kelley <mhklinux@outlook.com>,
	Jun Miao <jun.miao@intel.com>,
	"m.szyprowski@samsung.com" <m.szyprowski@samsung.com>
Cc: "iommu@lists.linux.dev" <iommu@lists.linux.dev>,
	"chenhgs@chinatelecom.cn" <chenhgs@chinatelecom.cn>,
	"fan.du@intel.com" <fan.du@intel.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] swiotlb: eliminate per-map atomic contention on used/hiwater tracking
Date: Tue, 23 Jun 2026 13:22:48 +0100	[thread overview]
Message-ID: <3be73669-0aa6-4dec-87ce-37b979953739@arm.com> (raw)
In-Reply-To: <SN6PR02MB415757A3F56268BE3AF01D35D4EE2@SN6PR02MB4157.namprd02.prod.outlook.com>

On 2026-06-23 3:35 am, Michael Kelley wrote:
[...]
> Another approach to the contention problem would be to have a separate
> CONFIG option that is narrower than CONFIG_DEBUG_FS, so that the
> computation of the hiwater mark can be dropped entirely in production
> environments. Or the setting could be dynamic at runtime via a
> static_call, defaulting to not computing the hiwater mark while still
> allowing a sysadmin to turn it on to see workload usage of the swiotlb.

Yeah, in terms of usefulness to admins, I'd imagine a sysctl to enable 
stats collection would probably be better than a config option - I doubt 
that most folks who just want to tune a standard distro kernel for their 
VM workload would want to have to rebuild it. A command line option 
might also be a fair compromise if that's how the eventual SWIOTLB 
tuning will be controlled anyway.

Thanks,
Robin.

  reply	other threads:[~2026-06-23 12:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20260622122114.2563254-1-jun.miao@intel.com>
2026-06-23  2:35 ` Michael Kelley
2026-06-23 12:22   ` Robin Murphy [this message]
2026-06-25  7:30   ` Du, Fan
2026-06-25 15:53     ` Michael Kelley
2026-06-26  3:12       ` Du, Fan
2026-06-26 16:00         ` Michael Kelley
2026-06-27 23:20           ` Du, Fan
2026-06-28  1:30             ` Michael Kelley
2026-07-01  2:53               ` Du, Fan
2026-07-02 16:00                 ` Michael Kelley
2026-07-13  1:18                   ` Du, Fan
2026-07-14  3:25 ` [PATCH] dma/swiotlb: make high watermark tracking boot-time opt-in Frank Chen

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=3be73669-0aa6-4dec-87ce-37b979953739@arm.com \
    --to=robin.murphy@arm.com \
    --cc=chenhgs@chinatelecom.cn \
    --cc=fan.du@intel.com \
    --cc=iommu@lists.linux.dev \
    --cc=jun.miao@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=mhklinux@outlook.com \
    /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

Powered by JetHome