mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: alad@hss.hns.com
To: linux-kernel@vger.kernel.org
Subject: vmscan.c: shrink_cache() doubt
Date: Sat, 29 Dec 2001 13:48:48 +0530	[thread overview]
Message-ID: <65256B31.002E1834.00@sandesh.hss.hns.com> (raw)



In shrink_cache(), we have

          if (!page->buffers && (page_count(page) != 1 || !page->mapping))
               goto page_mapped;
          .
          .
          .
page_mapped:
          if (--max_mapped >=0)
               continue;


Assume page->buffers == NULL and page->count == 1, then why jump to page_mapped
if page->mapping == NULL ??

-- Amol




             reply	other threads:[~2001-12-29  8:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-29  8:18 alad [this message]
2001-12-29  8:41 ` Andrew Morton

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=65256B31.002E1834.00@sandesh.hss.hns.com \
    --to=alad@hss.hns.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®