public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: Andrew Morton <akpm@digeo.com>
Cc: mikpe@csd.uu.se, pavel@suse.cz, miltonm@bga.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fix oops on resume from apm bios initiated suspend
Date: Thu, 29 May 2003 01:10:04 +0200	[thread overview]
Message-ID: <3ED541CC.5010305@colorfullife.com> (raw)
In-Reply-To: <20030528152827.5387e033.akpm@digeo.com>

Andrew Morton wrote:

>Also, is there any point in doing load_LDT(&current->active_mm->context)
>for a kernel thread?
>  
>
Yes.
If the next thread switch is to a user space process that uses 
kernel_thread->active_mm as user_thread->mm, then switch_to does not 
load the ldt. (switch_to, in <asm-i386/mmu_context.h>)
--
    Manfred


  parent reply	other threads:[~2003-05-28 22:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-28  6:43 [PATCH] fix oops on resume from apm bios initiated suspend Milton Miller
2003-05-28 11:14 ` Pavel Machek
2003-05-28 13:15   ` mikpe
2003-05-28 14:18     ` Pavel Machek
2003-05-28 22:28     ` Andrew Morton
2003-05-28 23:05       ` Pavel Machek
2003-05-28 23:19         ` Nigel Cunningham
2003-05-28 23:36           ` Pavel Machek
2003-05-28 23:10       ` Manfred Spraul [this message]
2003-05-29  8:44 ` Alex Riesen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ED541CC.5010305@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@csd.uu.se \
    --cc=miltonm@bga.com \
    --cc=pavel@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox