mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andriy Shevchenko <andriy.shevchenko@intel.com>
To: Runyu Xiao <runyu.xiao@seu.edu.cn>
Cc: "Jonathan Cameron" <jic23@kernel.org>,
	"David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	"Karol Wrona" <k.wrona@samsung.com>,
	"Kyungmin Park" <kyungmin.park@samsung.com>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	stable@vger.kernel.org, "Jianhao Xu" <jianhao.xu@seu.edu.cn>
Subject: Re: [PATCH] iio: ssp: Serialize watchdog timer state changes
Date: Sun, 4 Oct 2026 11:37:59 +0300	[thread overview]
Message-ID: <asIQZ7no-0OrOGn0@ashevche-desk.local> (raw)
In-Reply-To: <20261004053915.1138888-1-runyu.xiao@seu.edu.cn>

On Sun, Oct 04, 2026 at 01:39:15PM +0800, Runyu Xiao wrote:
> On Wed, Sep 30, 2026 at 03:03:19PM +0800, Runyu Xiao wrote:

...

> > struct ssp_data {
> >     struct timer_list wdt_timer;
> >     struct mutex wdt_lock;
> >     bool wdt_enabled;
> >     struct work_struct work_wdt;
> > };
> 
> On the x86_64 build, pahole reports wdt_timer at offset 16, wdt_lock at
> 56, wdt_enabled at 80, and work_wdt at 88; sizeof(struct ssp_data) is
> 816 bytes. There is a 7-byte hole after wdt_enabled.

Right, so you can make it 3, correct?

-- 
With Best Regards,
Andy Shevchenko



  reply	other threads:[~2026-10-04  8:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-30  7:03 Runyu Xiao
2026-09-30  9:58 ` Andy Shevchenko
2026-10-04  5:39   ` Runyu Xiao
2026-10-04  8:37     ` Andriy Shevchenko [this message]
2026-10-04  9:31       ` Runyu Xiao
2026-10-04  5:39   ` [PATCH v2] " Runyu Xiao
2026-10-04  8:40     ` Andriy Shevchenko

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=asIQZ7no-0OrOGn0@ashevche-desk.local \
    --to=andriy.shevchenko@intel.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jianhao.xu@seu.edu.cn \
    --cc=jic23@kernel.org \
    --cc=k.wrona@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    --cc=runyu.xiao@seu.edu.cn \
    --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

all inboxes | Powered by JetHome®