Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761960AbYCHBfy (ORCPT ); Fri, 7 Mar 2008 20:35:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757003AbYCHBfq (ORCPT ); Fri, 7 Mar 2008 20:35:46 -0500 Received: from relay1.sgi.com ([192.48.171.29]:49352 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752515AbYCHBfq (ORCPT ); Fri, 7 Mar 2008 20:35:46 -0500 Date: Fri, 7 Mar 2008 19:35:43 -0600 From: Paul Jackson To: David Rientjes Cc: akpm@linux-foundation.org, clameter@sgi.com, Lee.Schermerhorn@hp.com, ak@suse.de, linux-kernel@vger.kernel.org Subject: Re: [patch -mm 2/2] mempolicy: use default_policy mode instead of MPOL_DEFAULT Message-Id: <20080307193543.6a55ff8d.pj@sgi.com> In-Reply-To: References: <20080307192845.0492c6f9.pj@sgi.com> Organization: SGI X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.12.0; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 688 Lines: 18 David wrote: > I chose this because checks in mpol_new() to return NULL if the mode is > MPOL_DEFAULT is purely based on the fact that, as the default system > policy, policy task or VMA pointers are set to &default_policy. You're just as fast! Reasonable answer - thanks. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson 1.940.382.4214 -- 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/