linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: eric@biederman.org (Eric W. Biederman)
To: linux-mm@kvack.org
Subject: Re: shm_alloc and friends
Date: 26 May 2000 09:07:37 -0500	[thread overview]
Message-ID: <m1ya4xl80m.fsf@frodo.biederman.org> (raw)
In-Reply-To: Russell King's message of "Thu, 25 May 2000 15:36:16 +0100 (BST)"

Russell King <rmk@arm.linux.org.uk> writes:

> Alan Cox writes:
> > > Problems:
> > >  - memsetting the vmalloced area to initialise the pte's.
> > >    (Note: pte_clear can't be used, because that is expected to be used
> > 
> > Sorry that breaks S/390. You cannot use memset here.
> 
> Suggestions on a fix for that?

Purge pte_t from the code.  Just use swp_entry_t.
The page cache has all of the necessary mechanisms for testing
to see if a page is present or not already.

That should make memset safe as well...

Eric

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

      parent reply	other threads:[~2000-05-26 14:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-25 14:24 Russell King
2000-05-25 14:31 ` Alan Cox
2000-05-25 14:36   ` Russell King
2000-05-25 14:59     ` Alan Cox
2000-05-25 15:20       ` Russell King
2000-05-25 15:59         ` Alan Cox
2000-05-25 16:01         ` Benjamin C.R. LaHaise
2000-05-25 16:04           ` Russell King
2000-05-26 14:07     ` Eric W. Biederman [this message]

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=m1ya4xl80m.fsf@frodo.biederman.org \
    --to=eric@biederman.org \
    --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