Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 28 Jul 2002 16:06:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 28 Jul 2002 16:06:18 -0400 Received: from mx1.elte.hu ([157.181.1.137]:40169 "HELO mx1.elte.hu") by vger.kernel.org with SMTP id ; Sun, 28 Jul 2002 16:06:17 -0400 Date: Sun, 28 Jul 2002 22:08:19 +0200 (CEST) From: Ingo Molnar Reply-To: Ingo Molnar To: Oleg Nesterov Cc: linux-kernel@vger.kernel.org Subject: Re: [announce, patch] Thread-Local Storage (TLS) support for Linux, 2.5.28 In-Reply-To: <3D443B8C.7C2028B0@tv-sign.ru> 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 Content-Length: 676 Lines: 23 On Sun, 28 Jul 2002, Oleg Nesterov wrote: > + * Load the per-thread Thread-Local Storage descriptor. > + * > + * NOTE: it's faster to do the two stores unconditionally > + * than to branch away. > + */ > + load_TLS_desc(next, cpu); > + > + /* > * Save away %fs and %gs. No need to save %es and %ds, as actually, shouldnt this be done after saving the current %fs and %gs, and before loading the next %fs and %gs? Ingo - 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/