linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kanoj@kulten.engr.sgi.com (Kanoj Sarcar)
To: Neil Booth <NeilB@earthling.net>, linux-mm@kvack.org
Subject: Re: vmalloc.c question
Date: Fri, 19 Feb 1999 10:11:06 -0800	[thread overview]
Message-ID: <9902191011.ZM28911@kulten.engr.sgi.com> (raw)
In-Reply-To: Neil Booth <NeilB@earthling.net> "vmalloc.c question" (Feb 19,  7:24pm)

On Feb 19,  7:24pm, Neil Booth wrote:
> Subject: vmalloc.c question
> I have a simple question about vmalloc.c. I'm probably missing something
> obvious, but it appears to me that the list "vmlist" of the kernel's
> virtual memory areas is not protected by any kind of locking mechanism,
> and thus subject to races. (e.g. two CPUs trying to insert a new virtual
> memory block in the same place at the same time in get_vm_area).
>
> Or what am I missing?
>

Actually, the ia32 specific ioremap function also calls into the
get_vm_area() function. I was assuming that the giant kernel_lock
protects the "vmlist".

Kanoj
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
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-02-19 18:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-19 10:24 Neil Booth
1999-02-19 18:11 ` Kanoj Sarcar [this message]
1999-02-19 19:43 ` Benjamin C.R. LaHaise

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=9902191011.ZM28911@kulten.engr.sgi.com \
    --to=kanoj@kulten.engr.sgi.com \
    --cc=NeilB@earthling.net \
    --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