Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 16 Mar 2002 20:15:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 16 Mar 2002 20:15:02 -0500 Received: from hq.fsmlabs.com ([209.155.42.197]:46098 "EHLO hq.fsmlabs.com") by vger.kernel.org with ESMTP id ; Sat, 16 Mar 2002 20:14:50 -0500 Date: Sat, 16 Mar 2002 18:13:38 -0700 From: yodaiken@fsmlabs.com To: Daniel Phillips Cc: yodaiken@fsmlabs.com, Robert Love , Mikael Pettersson , linux kernel Subject: Re: 2.4.18 Preempt Freezeups Message-ID: <20020316181338.A26242@hq.fsmlabs.com> In-Reply-To: <3C9153A7.292C320@ianduggan.net> <1016219530.904.21.camel@phantasy> <20020315174036.A5068@hq.fsmlabs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from phillips@bonn-fries.net on Sun, Mar 17, 2002 at 01:33:04AM +0100 Organization: FSM Labs Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 17, 2002 at 01:33:04AM +0100, Daniel Phillips wrote: > On March 16, 2002 01:40 am, yodaiken@fsmlabs.com wrote: > > > > Without preempt: > > x = movefrom processor register; // if preemption is on, we can be preempted and restart // on another processor so x will be wrong > > do_something with x > > > > is safe in SMP > > With [preempt] it requires a lock. > > It must be a trick question. Why would it? See comment. > > -- > Daniel -- --------------------------------------------------------- Victor Yodaiken Finite State Machine Labs: The RTLinux Company. www.fsmlabs.com www.rtlinux.com - 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/