linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: george anzinger <george@mvista.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Robert Love <rml@tech9.net>, Andrew Morton <akpm@zip.com.au>,
	riel@conectiva.com.br, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org
Subject: Re: [PATCH] updated low-latency zap_page_range
Date: Wed, 24 Jul 2002 18:39:18 -0700	[thread overview]
Message-ID: <3D3F56C6.B045E8A@mvista.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0207241820170.5944-100000@home.transmeta.com>

Linus Torvalds wrote:
> 
> On 24 Jul 2002, Robert Love wrote:
> >
> >       if (preempt_count() == 1 && need_resched())
> >
> > Then we get "if (0 && ..)" which should hopefully be evaluated away.
> 
> I think preempt_count() is not unconditionally 0 for non-preemptible
> kernels, so I don't think this is a compile-time constant.
> 
> That may be a bug in preempt_count(), of course.
> 
Didn't we just put bh_count and irq_count in the same
word???
-- 
George Anzinger   george@mvista.com
High-res-timers: 
http://sourceforge.net/projects/high-res-timers/
Real time sched:  http://sourceforge.net/projects/rtsched/
Preemption patch:
http://www.kernel.org/pub/linux/kernel/people/rml
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

  parent reply	other threads:[~2002-07-25  1:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-25  0:29 Robert Love
2002-07-25  0:45 ` Andrew Morton
2002-07-25  1:16   ` Robert Love
2002-07-25  1:19     ` Andrew Morton
2002-07-25  1:21     ` Linus Torvalds
2002-07-25  1:29       ` Robert Love
2002-07-25  1:39       ` george anzinger [this message]
2002-07-25  5:19         ` Linus Torvalds

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=3D3F56C6.B045E8A@mvista.com \
    --to=george@mvista.com \
    --cc=akpm@zip.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=riel@conectiva.com.br \
    --cc=rml@tech9.net \
    --cc=torvalds@transmeta.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