public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: David Mosberger <davidm@hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] race conditions in ia32 subsystem
Date: Fri, 18 Jan 2002 18:14:08 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590698805879@msgid-missing> (raw)

A while we discussed the race conditions that are present in the ia32
subsystem when the page size is greater than 4KB.  It occurred to me
that these problems can be fixed easily and cleanly by using the
get_user_pages() routine (this routine was introduced in 2.4.17, if
memory serves).

The basic idea would be to use the address space's mmap_sem instead of
the global ia32_mmap_sem and to use get_user_pages() instead of
copy_from_user()/copy_to_user() to access memory.

Does someone want to take a stab at doing this?

	--david


             reply	other threads:[~2002-01-18 18:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-18 18:14 David Mosberger [this message]
2002-01-18 18:54 ` [Linux-ia64] race conditions in ia32 subsystem n0ano

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=marc-linux-ia64-105590698805879@msgid-missing \
    --to=davidm@hpl.hp.com \
    --cc=linux-ia64@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