From: sheng qiu <herbert1984106@gmail.com>
To: linux-mm@kvack.org
Subject: about memory zone
Date: Wed, 30 Nov 2011 10:01:05 -0600 [thread overview]
Message-ID: <CAB7xdiknXNrNA6Yczr6h0b8w4Smz1k86jm3POqecOdfVFu7kGA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 869 bytes --]
Hi everyone,
i am doing some research work that need to utilize the swapping stuff of
linux kernel. i add one separate zone, which only used for my application,
i prevent the other application or kernel from allocating from that zone. i
marked every page that allocated form my zone with reclaimable flag. but
when my zone is nearly full, which will trigger the kswapd to swap out some
pages, the balance_pgdat found the reclaimable pages inside my zone is 0.
because the NR_INACTIVE_FILE, NR_ACTIVE_FILE, NR_INACTIVE_ANON,
NR_ACTIVE_ANON lru list are all empty. i do not know why kernel did not do
any statistics on my own zone.
Does anyone know why this happen? and how to solve this? i need swapping
support on my own zone too.
Thanks,
Sheng
--
Sheng Qiu
Texas A & M University
Room 302 Wisenbaker
email: herbert1984106@gmail.com
College Station, TX 77843-3259
[-- Attachment #2: Type: text/html, Size: 1022 bytes --]
reply other threads:[~2011-11-30 16:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAB7xdiknXNrNA6Yczr6h0b8w4Smz1k86jm3POqecOdfVFu7kGA@mail.gmail.com \
--to=herbert1984106@gmail.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