Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 28 Jul 2002 16:12:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 28 Jul 2002 16:12:07 -0400 Received: from mx2.elte.hu ([157.181.151.9]:14216 "HELO mx2.elte.hu") by vger.kernel.org with SMTP id ; Sun, 28 Jul 2002 16:12:06 -0400 Date: Sun, 28 Jul 2002 22:14:07 +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: 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: 569 Lines: 18 On Sun, 28 Jul 2002, Ingo Molnar wrote: > > So load_TLS_desc(next, cpu) must be called before > > loading next->fs,next->gs in __switch_to() ? > > hm, right. I'm wondering, why did the tls_test code still work? okay, the tls_test.c code worked only because the code didnt context-switch after installing the TLS. 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/