linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Stephen C. Tweedie" <sct@redhat.com>
To: James Simmons <jsimmons@edgeglobal.com>
Cc: Marcus Sundberg <erammsu@kieray1.p.y.ki.era.ericsson.se>,
	linux-mm@kvack.org
Subject: Re: mm->mmap_sem
Date: Thu, 30 Sep 1999 00:00:23 +0100 (BST)	[thread overview]
Message-ID: <14322.39431.416869.698005@dukat.scot.redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.10.9909271527030.7835-100000@imperial.edgeglobal.com>

Hi,

On Mon, 27 Sep 1999 15:31:28 -0400 (EDT), James Simmons
<jsimmons@edgeglobal.com> said:

>> No, you are trying to do _mandatory_ locking enforced by the kernel.
>> For cooperative locking on sane GFX hardware a userspace spinlock is
>> indeed all that is required, but for the broken hardware you are talking
>> about kernel locking would be required.

> What are all the broken cards out their? I was reading my old Matrox
> Millenium I docs and even that card supports similutaneous access to 
> the accel engine and framebuffer. If the number of cards that are that
> broken are small then I just will not support them.

I think that there's a large number of them.  The XI and XFree86 folk
would probably know which ones exactly.

>> This means that when the accel engine is initiated you must unmap all
>> pages of the framebuffer (8k pages on modern cards), install a no-page
>> handler and flush the TLBs of all processors.

> All the processors!! Thats really bad.

Yes.  That is the specific case which makes this impractical to do in
software.  It would be bad enough on one CPU, but having to do it on all
requires sending inter-CPU interrupts, and that is simply too slow for a
fast graphics engine.

--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/

  reply	other threads:[~1999-09-29 23:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-22 21:02 mm->mmap_sem James Simmons
1999-09-24  0:07 ` mm->mmap_sem Stephen C. Tweedie
1999-09-24 14:59   ` mm->mmap_sem James Simmons
1999-09-24 18:09     ` mm->mmap_sem Stephen C. Tweedie
1999-09-25  1:24       ` mm->mmap_sem James Simmons
1999-09-25 14:55         ` mm->mmap_sem Andrea Arcangeli
1999-09-25 16:50           ` mm->mmap_sem James Simmons
1999-09-25 17:06             ` mm->mmap_sem Andrea Arcangeli
1999-09-26  1:19               ` mm->mmap_sem James Simmons
1999-09-26 14:07                 ` mm->mmap_sem Andrea Arcangeli
1999-09-27  8:55                 ` mm->mmap_sem Marcus Sundberg
1999-09-27 19:31                   ` mm->mmap_sem James Simmons
1999-09-29 23:00                     ` Stephen C. Tweedie [this message]
1999-09-30  0:17                       ` mm->mmap_sem James Simmons
1999-09-30  0:23                         ` mm->mmap_sem Benjamin C.R. LaHaise
1999-09-30 14:59                           ` mm->mmap_sem James Simmons
1999-09-30 15:15                             ` mm->mmap_sem Benjamin C.R. LaHaise
1999-09-30 16:05                               ` mm->mmap_sem James Simmons
1999-09-30 14:54                         ` mm->mmap_sem Stephen C. Tweedie
1999-09-27 14:16                 ` mm->mmap_sem Stephen C. Tweedie
1999-09-27 20:22                   ` mm->mmap_sem James Simmons
1999-09-27 14:13             ` mm->mmap_sem Stephen C. Tweedie
1999-09-27  8:08     ` mm->mmap_sem Neil Conway

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=14322.39431.416869.698005@dukat.scot.redhat.com \
    --to=sct@redhat.com \
    --cc=erammsu@kieray1.p.y.ki.era.ericsson.se \
    --cc=jsimmons@edgeglobal.com \
    --cc=linux-mm@kvack.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