From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 22 May 2002 04:09:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 22 May 2002 04:09:40 -0400 Received: from warden3-p.diginsite.com ([208.147.64.186]:31907 "HELO warden3.diginsite.com") by vger.kernel.org with SMTP id ; Wed, 22 May 2002 04:09:40 -0400 Date: Wed, 22 May 2002 01:06:08 -0700 (PDT) From: David Lang To: Linus Torvalds cc: "David S. Miller" , , Subject: Re: Linux-2.5.17 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org what about SMP where you may have multiple children hit this at the same time on different CPUs? David Lang On Tue, 21 May 2002, Linus Torvalds wrote: > - if there is no process on th erun-queue, take our parent > > The "parent" fallback is nice because (a) we're guaranteed to have a > parent and it is easily found and (b) we're going to wake our parent up > soon enough in "notify_parent()", so if the current runqueue is empty, the > parent is one of the likelier processes to end up there.. > > But no, I've not looked into the details. We've never stolen a mm from > anybody else before (lazy TLB _gives_ a mm to the next process, it doesn't > take it from anybody), so it might have nasty locking issues or something. > > Linus