mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gilad Ben-Yossef <gilad@benyossef.com>
To: imran.badr@cavium.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel memory swap..
Date: 10 Aug 2002 02:19:43 +0300	[thread overview]
Message-ID: <1028935183.28028.9.camel@gby.benyossef.com> (raw)
In-Reply-To: <09b101c23fce$398781f0$9e10a8c0@IMRANPC>

On Fri, 2002-08-09 at 20:57, Imran Badr wrote:
> 
> Hi,
> 
> If I allocate some memory using kmalloc() in the linux device driver and
> will it ever be swapped to hard disk? If yes, then how can I lock the page?

AFAIK, kmalloced memory is never swapped.

Gilad.

-- 
Gilad Ben-Yossef <gilad@benyossef.com>
http://benyossef.com

"Money talks, bullshit walks and GNU awks."
  -- Shachar "Sun" Shemesh, debt collector for the GNU/Yakuza


      parent reply	other threads:[~2002-08-09 23:15 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-07 12:55 Why 'mrproper'? Bill Davidsen
2002-08-07 13:18 ` Chris Chabot
2002-08-07 13:58   ` DevilKin
2002-08-07 15:08     ` Thunder from the hill
2002-08-07 17:30       ` Heinz Diehl
2002-08-07 14:13   ` Tomas Szepe
2002-08-07 13:32 ` Matti Aarnio
2002-08-07 23:12   ` Bill Davidsen
2002-08-07 23:23     ` Thunder from the hill
2002-08-07 13:46 ` Sean Neakums
2002-08-07 17:00 ` Andries Brouwer
2002-08-07 17:13   ` Thunder from the hill
2002-08-07 18:51     ` Andries Brouwer
2002-08-07 20:07       ` Thunder from the hill
2002-08-07 21:07         ` Andries Brouwer
2002-08-07 23:28   ` Bill Davidsen
2002-08-09 17:47 ` Kelsey Hudson
2002-08-09 17:57   ` kernel memory swap Imran Badr
2002-08-09 19:43     ` Richard B. Johnson
2002-08-09 23:19     ` Gilad Ben-Yossef [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=1028935183.28028.9.camel@gby.benyossef.com \
    --to=gilad@benyossef.com \
    --cc=imran.badr@cavium.com \
    --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

all inboxes | Powered by JetHome®