Linux USB
 help / color / mirror / Atom feed
From: "Ömer Mete Kaya" <omermetekaya0@gmail.com>
To: oneukum@suse.com
Cc: netdev@vger.kernel.org, linux-usb@vger.kernel.org,
	"Ömer Mete Kaya" <omermetekaya0@gmail.com>
Subject: Re: [PATCH net v2] usbnet: fix smp_processor_id() use in preemptible context
Date: Mon,  7 Sep 2026 21:52:20 +0300	[thread overview]
Message-ID: <20260907185408.660755-1-omermetekaya0@gmail.com> (raw)
In-Reply-To: <6e0dbfed-cadd-4274-8165-886725413d0f@suse.com>

Hi Oliver,

Thank you for the review. You are right.

I used local_irq_save()/restore() thinking that softirq writers could
race on tstats. After checking the tstats update paths, I agreed that
preemption protection is sufficient for these accesses.


I will send v3 using preempt_disable()/preempt_enable() as suggested.

Best regards,

Ömer Mete Kaya

  reply	other threads:[~2026-09-07 18:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-03 16:54 [PATCH] usbnet: fix smp_processor_id() use in preemptible context Ömer Mete Kaya
2026-09-05 22:45 ` [PATCH net v2] " Ömer Mete Kaya
2026-09-07 11:38   ` Oliver Neukum
2026-09-07 18:52     ` Ömer Mete Kaya [this message]
2026-09-07 20:23       ` David Laight
2026-09-07 21:45         ` [PATCH net v4] " Ömer Mete Kaya
2026-09-09 21:47           ` netdev-bot+sashiko
2026-09-10  9:01             ` David Laight
2026-09-07 19:05     ` [PATCH] " Ömer Mete Kaya
2026-09-08  3:43   ` [PATCH net v2] " netdev-bot+sashiko

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=20260907185408.660755-1-omermetekaya0@gmail.com \
    --to=omermetekaya0@gmail.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=oneukum@suse.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