From: "Remy Bohmer" <linux@bohmer.net>
To: "Steven Rostedt" <rostedt@goodmis.org>
Cc: "Frédéric Weisbecker" <fweisbec@gmail.com>,
LKML <linux-kernel@vger.kernel.org>,
linux-rt-users <linux-rt-users@vger.kernel.org>,
"Peter Zijlstra" <peterz@infradead.org>,
"Clark Williams" <clark.williams@gmail.com>,
"Ingo Molnar" <mingo@elte.hu>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Arnaldo Carvalho de Melo" <acme@ghostprotocols.net>,
"Gregory Haskins" <ghaskins@novell.com>,
"Darren Hart" <dvhltc@us.ibm.com>
Subject: Re: [ANNOUNCE] The -rt git tree
Date: Tue, 9 Dec 2008 21:06:34 +0100 [thread overview]
Message-ID: <3efb10970812091206l2e6a17a6tc475a57b942cd28f@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.1.10.0812091248020.19115@gandalf.stny.rr.com>
Hello Steven,
It all sounds good!
But, I was wondering, why using the scripts to convert the spinlocks
over and over, instead of pushing only the new lock API to mainline
asap? That would save a lot of conversion complexity and sounds like
migrating the RT patch to mainline much easier. It sounds to me like a
major rename action, and as long as there is only a spinlock behind
the new API, there is a very low risk in breaking things.
Later on the rt-mutex can be integrated behind the new API. In the
mean time everybody can get used to the new locking API.
That would save complexity and improve stability of the rt-patchset,
because it does not need to be figured out over and over if there are
new locks in new code that need to be converted back to spinlocks...
(In fact we only need to focus from there on new code that use the
spinlock API, and if it is really required to use that.)
Kind Regards,
Remy
2008/12/9 Steven Rostedt <rostedt@goodmis.org>:
>
> On Tue, 9 Dec 2008, Fr?d?ric Weisbecker wrote:
>>
>> Hi Steve.
>>
>> That's a good news.
>>
>> But after converting these spinlocks into lock_t, how will you synchronize with
>> the mainline on each release? You will have a huge amount of conflicts
>> at every merges...
>
> This is why master is separate from rt-master. The rt-master will grow
> like tip/master does. But the master will be recreated each time.
> Basically, the creation of master is this:
>
>
> git checkout master
> git reset --hard rt-master
> ./scripts/convert-spinlocks
> git commit -a -m 'Convert all spinlocks to lock_t'
> ./scripts/convert-locks
> git commit -a -m 'Convert some locks back to spinlock_t'
>
> Thus we do not need to worry about the conflicts caused by the lock
> conversion. That will be done automatically each time we create a new
> master.
>
> -- Steve
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
next prev parent reply other threads:[~2008-12-09 20:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-09 16:13 Steven Rostedt
2008-12-09 17:08 ` Frédéric Weisbecker
2008-12-09 17:52 ` Steven Rostedt
2008-12-09 18:37 ` Frédéric Weisbecker
2008-12-09 20:06 ` Remy Bohmer [this message]
2008-12-09 20:17 ` Steven Rostedt
2008-12-10 6:35 ` [PATCH][RT] lock.h: fix spelling of contended Sven-Thorsten Dietrich
2008-12-10 6:53 ` [PATCH][RT] Compile-time fix Sven-Thorsten Dietrich
2008-12-10 11:46 ` Steven Rostedt
2008-12-10 16:23 ` Gregory Haskins
2008-12-10 17:47 ` Steven Rostedt
2008-12-10 11:42 ` [PATCH][RT] lock.h: fix spelling of contended Steven Rostedt
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=3efb10970812091206l2e6a17a6tc475a57b942cd28f@mail.gmail.com \
--to=linux@bohmer.net \
--cc=acme@ghostprotocols.net \
--cc=clark.williams@gmail.com \
--cc=dvhltc@us.ibm.com \
--cc=fweisbec@gmail.com \
--cc=ghaskins@novell.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/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®