From: Ingo Molnar <mingo@elte.hu>
To: eliad lubovsky <eliadl@013.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Handle kernel page faults using task gate
Date: Thu, 30 Jun 2005 09:11:01 +0200 [thread overview]
Message-ID: <20050630071101.GB26239@elte.hu> (raw)
In-Reply-To: <1120114635.3422.2.camel@localhost.localdomain>
* eliad lubovsky <eliadl@013.net> wrote:
> How do I clear the 'busy' bit?
> I set my TSS descriptor with
> __set_tss_desc(cpu, GDT_ENTRY_PAGE_FAULT_TSS, &pagefault_tss);
i suspect you have to clear the busy bit in the pagefault handler
itself. The CPU marks it as busy upon fault. I guess it would be OK to
just do the above __set_tss_desc() for _every_ pagefault, that too will
clear the busy bit, but you are probably better off just clearing that
bit manually:
cpu_gdt_table[cpu][GDT_ENTRY_TSS].b &= 0xfffffdff;
Ingo
next prev parent reply other threads:[~2005-06-30 7:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-28 22:18 Handle kernel page faults using task gate eliad lubovsky
2005-06-29 13:09 ` Ingo Molnar
2005-06-29 15:43 ` eliad lubovsky
2005-06-29 19:27 ` Ingo Molnar
2005-06-30 6:57 ` eliad lubovsky
2005-06-30 7:11 ` Ingo Molnar [this message]
2005-07-01 1:23 ` eliad lubovsky
-- strict thread matches above, loose matches on Subject: below --
2005-06-30 16:53 Chuck Ebbert
2005-06-30 16:53 Chuck Ebbert
2005-07-01 4:40 Chuck Ebbert
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=20050630071101.GB26239@elte.hu \
--to=mingo@elte.hu \
--cc=eliadl@013.net \
--cc=linux-kernel@vger.kernel.org \
/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