linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Viro <viro@math.psu.edu>
To: Hugh Dickins <hugh@veritas.com>
Cc: Alan Cox <laughing@shared-source.org>,
	Rik van Riel <riel@conectiva.com.br>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.4.9-ac16 swapoff 2*vfree
Date: Thu, 27 Sep 2001 15:36:31 -0400 (EDT)	[thread overview]
Message-ID: <Pine.GSO.4.21.0109271535500.1671-100000@weyl.math.psu.edu> (raw)
In-Reply-To: <Pine.LNX.4.21.0109271956420.1095-100000@localhost.localdomain>



On Thu, 27 Sep 2001, Hugh Dickins wrote:

> 2.4.9-ac16 swapoff warns "Trying to vfree() nonexistent vm area":
> the new (outside locks) vfree added, the old (inside) not removed.

Oh, crap... Thanks for spotting.
 
> Hugh
> 
> --- 2.4.9-ac16/mm/swapfile.c	Thu Sep 27 19:10:00 2001
> +++ linux/mm/swapfile.c	Thu Sep 27 19:43:12 2001
> @@ -636,7 +636,6 @@
>  	p->swap_device = 0;
>  	p->max = 0;
>  	swap_map = p->swap_map;
> -	vfree(p->swap_map);
>  	p->swap_map = NULL;
>  	p->flags = 0;
>  	swap_device_unlock(p);
> 
> 


  reply	other threads:[~2001-09-27 19:36 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-27 17:51 Linux 2.4.9-ac16 Alan Cox
2001-09-27 18:26 ` Udo A. Steinberg
2001-09-27 18:28 ` Rik van Riel
2001-09-27 19:03 ` [PATCH] 2.4.9-ac16 swapoff 2*vfree Hugh Dickins
2001-09-27 19:36   ` Alexander Viro [this message]
2001-09-27 19:03 ` Linux 2.4.9-ac16 Tom Rini
2001-09-27 23:06   ` Alan Cox
2001-09-27 23:11     ` Tom Rini
2001-09-27 19:31 ` Kent Borg
2001-09-28  1:07 ` [REPORT] (PPC) Compile Error (Linux 2.4.9-ac[12-16]) Tsunehiko Baba
2001-09-28 14:15   ` Tom Rini
2001-09-28 14:40     ` Alan Cox
2001-09-28 14:41       ` Tom Rini
2001-09-28  5:21 ` [PATCH] link failur in Linux 2.4.9-ac16 around apm.o and sysrq.o junio
2001-09-28  5:47   ` junio
2001-09-28 15:41     ` Randy.Dunlap
2001-09-28 15:58     ` Crutcher Dunnavant
2001-09-28 15:30 ` Linux 2.4.9-ac16 Stefan Becker
2001-09-28 16:39   ` Rik van Riel
2001-09-28 17:15     ` Tim Connors
2001-09-28 20:52 ` Russell King
2001-09-27 21:57 [PATCH] 2.4.9-ac16 swapoff 2*vfree Leif Sawyer

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=Pine.GSO.4.21.0109271535500.1671-100000@weyl.math.psu.edu \
    --to=viro@math.psu.edu \
    --cc=hugh@veritas.com \
    --cc=laughing@shared-source.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@conectiva.com.br \
    /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;
as well as URLs for NNTP newsgroup(s).