Thread (8 messages) 8 messages, 4 authors, 2002-07-25

Re: [PATCH] updated low-latency zap_page_range

From: Linus Torvalds <torvalds@transmeta.com>
Date: 2002-07-25 01:17:14
Also in: lkml

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.

		Linus

--
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help