mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Oleg Nesterov <oleg@tv-sign.ru>
To: linux-kernel@vger.kernel.org, Andrew Morton <akpm@zip.com.au>
Subject: Re: [PATCH] batched freeing of anon pages
Date: Sun, 01 Sep 2002 18:33:38 +0400	[thread overview]
Message-ID: <3D722542.94ABBDDB@tv-sign.ru> (raw)

Hello.

Now nr variable is unused in tlb_flush_mmu().

--- 2.5.33/include/asm-generic/tlb.h~	Sun Sep  1 15:16:08 2002
+++ 2.5.33/include/asm-generic/tlb.h	Sun Sep  1 18:18:38 2002
@@ -67,8 +67,6 @@
 
 static inline void tlb_flush_mmu(mmu_gather_t *tlb, unsigned long start, unsigned long end)
 {
-	unsigned long nr;
-
 	if (!tlb->need_flush) {
 		tlb->avoided_flushes++;
 		return;
@@ -77,7 +75,6 @@
 	tlb->flushes++;
 
 	tlb_flush(tlb);
-	nr = tlb->nr;
 	if (!tlb_fast_mode(tlb)) {
 		free_pages_and_swap_cache(tlb->pages, tlb->nr);
 		tlb->nr = 0;


Oleg.

                 reply	other threads:[~2002-09-01 14:24 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=3D722542.94ABBDDB@tv-sign.ru \
    --to=oleg@tv-sign.ru \
    --cc=akpm@zip.com.au \
    --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®