From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264289AbTEGULP (ORCPT ); Wed, 7 May 2003 16:11:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264298AbTEGULO (ORCPT ); Wed, 7 May 2003 16:11:14 -0400 Received: from webmail.hamiltonfunding.la ([12.162.17.40]:17458 "EHLO umhlanga.STRATNET.NET") by vger.kernel.org with ESMTP id S264289AbTEGULM (ORCPT ); Wed, 7 May 2003 16:11:12 -0400 To: root@chaos.analogic.com Cc: Linux kernel Subject: Re: top stack (l)users for 2.5.69 References: <20030507132024.GB18177@wohnheim.fh-wedel.de> <20030507135657.GC18177@wohnheim.fh-wedel.de> <52k7d2pqwm.fsf@topspin.com> <52bryeppb3.fsf@topspin.com> <52n0hyo85x.fsf@topspin.com> X-Message-Flag: Warning: May contain useful information X-Priority: 1 X-MSMail-Priority: High From: Roland Dreier Date: 07 May 2003 13:23:43 -0700 In-Reply-To: Message-ID: <52issmo69c.fsf@topspin.com> User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 07 May 2003 20:23:46.0202 (UTC) FILETIME=[8FA507A0:01C314D6] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org [ misinformation snipped ] OK, my real last word on the subject. When the kernel is running on behalf of a user process, there is more context than just the struct task_struct part of current. There is a kernel stack, which must be per process since each process can have its own call chain of kernel functions. By all means, see switch_to(). Look at what it does to ESP. - Roland