From: Philippe Gerum In-Reply-To: <4576842B.1090203@domain.hid> References: <4576842B.1090203@domain.hid> Content-Type: text/plain Date: Thu, 14 Dec 2006 21:50:35 +0100 Message-Id: <1166129435.23946.161.camel@domain.hid> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Xenomai-core] Re: [Adeos-main] [RFC] type-based spinlock op selection Reply-To: rpm@xenomai.org List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: adeos-main@gna.org, xenomai-core On Wed, 2006-12-06 at 09:49 +0100, Jan Kiszka wrote: > Hi, > > reading through the I-pipe patch I noticed that there are quite a few > spin_lock->spin_lock_hw and similar conversions. Having the conversion > mechanism of the -rt patch in mind, I wrote the attached I-pipe cleanup > that applies a similar pattern on this issue. Gives more than 10k patch > size reduction for x86 and a bit more safety against minor variations of > the patched code. Still, review of the lock usages keeps on being > required as the lock user could assume running IRQs off while I-pipe may > not guarantee this. Merged after refactoring in 1.6-02/x86. Thanks. -- Philippe.