public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Oleg Nesterov <oleg@tv-sign.ru>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] BUILD_LOCK_OPS: cleanup preempt_disable() usage
Date: Thu, 19 Jan 2006 14:31:35 +0100	[thread overview]
Message-ID: <20060119133135.GA10230@elte.hu> (raw)
In-Reply-To: <43CFA5FD.BE1B2978@tv-sign.ru>


* Oleg Nesterov <oleg@tv-sign.ru> wrote:

> This patch changes the code from:
> 
> 	preempt_disable();
> 	for (;;) {
> 		...
> 		preempt_disable();
> 	}
> to:
> 	for (;;) {
> 		preempt_disable();
> 		...
> 	}
> 
> which seems more clean to me and saves a couple of bytes for
> each function.
> 
> Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>

good one!

Acked-by: Ingo Molnar <mingo@elte.hu>

	Ingo

      reply	other threads:[~2006-01-19 13:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-19 14:45 [PATCH] BUILD_LOCK_OPS: cleanup preempt_disable() usage Oleg Nesterov
2006-01-19 13:31 ` Ingo Molnar [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=20060119133135.GA10230@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@tv-sign.ru \
    /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