Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 24 Sep 2002 02:29:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 24 Sep 2002 02:29:06 -0400 Received: from pizda.ninka.net ([216.101.162.242]:41151 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id ; Tue, 24 Sep 2002 02:29:06 -0400 Date: Mon, 23 Sep 2002 23:24:13 -0700 (PDT) Message-Id: <20020923.232413.08022213.davem@redhat.com> To: rusty@rustcorp.com.au Cc: mingo@elte.hu, torvalds@transmeta.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] streq() From: "David S. Miller" In-Reply-To: <20020924061722.688A32C0A6@lists.samba.org> References: <20020924061722.688A32C0A6@lists.samba.org> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 535 Lines: 14 From: Rusty Russell Date: Tue, 24 Sep 2002 16:04:33 +1000 For runtime checks (which are never as good) you could change the GFP_ defined to set the high bit. Another idea is to make a gfp_flags_t, that worked very well for things like mm_segment_t. - 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/