All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed L Cashin <ecashin@uga.edu>
To: linux-kernel@vger.kernel.org
Subject: comment for forget_pte
Date: Mon, 19 May 2003 12:06:25 -0400	[thread overview]
Message-ID: <87he7qhqf2.fsf@cs.uga.edu> (raw)
In-Reply-To: 87n0hm7esy.fsf@uga.edu

Hi.  The kernelnewbies list didn't answer, so I'm asking here.  It's
not a big deal, but it might be a little documentation bug.
---------------

What is the meaning of the comment above forget_pte?  It's a void
function, so there's no value returned.  


/*
 * Return indicates whether a page was freed so caller can adjust rss
 */
static inline void forget_pte(pte_t page)
{
	if (!pte_none(page)) {
		printk("forget_pte: old mapping existed!\n");
		BUG();
	}
}


-- 
--Ed L Cashin     PGP public key: http://noserose.net/e/pgp/


           reply	other threads:[~2003-05-19 15:53 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <87n0hm7esy.fsf@uga.edu>]

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=87he7qhqf2.fsf@cs.uga.edu \
    --to=ecashin@uga.edu \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.