From: Dave Hansen <dave.hansen@intel.com>
To: "Guilherme G. Piccoli" <gpiccoli@igalia.com>,
x86@kernel.org, linux-kernel@vger.kernel.org
Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de,
dave.hansen@linux.intel.com, hpa@zytor.com, luto@kernel.org,
corbet@lwn.net, linux-doc@vger.kernel.org, kernel-dev@igalia.com,
kernel@gpiccoli.net, Andre Almeida <andrealmeid@igalia.com>,
Fenghua Yu <fenghua.yu@intel.com>,
Joshua Ashton <joshua@froggi.es>, Melissa Wen <mwen@igalia.com>,
Paul Gofman <pgofman@codeweavers.com>,
Pavel Machek <pavel@denx.de>,
Pierre-Loup Griffais <pgriffais@valvesoftware.com>,
Tony Luck <tony.luck@intel.com>,
Zebediah Figura <zfigura@codeweavers.com>
Subject: Re: [PATCH V2] x86/split_lock: Add sysctl to control the misery mode
Date: Fri, 21 Oct 2022 12:07:00 -0700 [thread overview]
Message-ID: <ad716b6f-3d1a-8aab-b452-2e01769348dd@intel.com> (raw)
In-Reply-To: <267fb708-9fae-f651-d8c6-e34a873d668f@igalia.com>
On 10/21/22 12:03, Guilherme G. Piccoli wrote:
...
>> if (need_release_sem)
>> up(...);
>>
>> That's nice and compact. It's also logically easy to follow because you
>> can see how the need_release_sem gets set only after the
>> down_interruptible(). It's also nice to have both sites share the
>> 'need_release_sem' naming for grepping.
>>
>
> ...but, this is a very good suggestion, and will eliminate the need for
> two delayed_works, right?
Yes, that too.
prev parent reply other threads:[~2022-10-21 19:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-14 18:05 [PATCH V2] x86/split_lock: Add sysctl to control the misery mode Guilherme G. Piccoli
2022-10-14 18:17 ` André Almeida
2022-10-14 18:20 ` Guilherme G. Piccoli
2022-10-14 18:22 ` André Almeida
2022-10-14 18:26 ` Luck, Tony
2022-10-15 0:19 ` Guilherme G. Piccoli
2022-10-16 3:00 ` Bagas Sanjaya
2022-10-16 12:26 ` Bagas Sanjaya
2022-10-17 13:57 ` Guilherme G. Piccoli
2022-10-21 16:56 ` Guilherme G. Piccoli
2022-10-21 17:27 ` Dave Hansen
2022-10-21 19:03 ` Guilherme G. Piccoli
2022-10-21 19:07 ` Dave Hansen [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=ad716b6f-3d1a-8aab-b452-2e01769348dd@intel.com \
--to=dave.hansen@intel.com \
--cc=andrealmeid@igalia.com \
--cc=bp@alien8.de \
--cc=corbet@lwn.net \
--cc=dave.hansen@linux.intel.com \
--cc=fenghua.yu@intel.com \
--cc=gpiccoli@igalia.com \
--cc=hpa@zytor.com \
--cc=joshua@froggi.es \
--cc=kernel-dev@igalia.com \
--cc=kernel@gpiccoli.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@kernel.org \
--cc=mingo@redhat.com \
--cc=mwen@igalia.com \
--cc=pavel@denx.de \
--cc=pgofman@codeweavers.com \
--cc=pgriffais@valvesoftware.com \
--cc=tglx@linutronix.de \
--cc=tony.luck@intel.com \
--cc=x86@kernel.org \
--cc=zfigura@codeweavers.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