All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yin Kangkai <kernel@holddreams.com>
To: Nitin Gupta <ngupta@vflare.org>
Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk>,
	Pekka Enberg <penberg@cs.helsinki.fi>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] [mmotm] ramzswap: add handlers for various swap events
Date: Tue, 29 Dec 2009 00:26:48 +0800	[thread overview]
Message-ID: <20091228162648.GA29309@kai-nas> (raw)
In-Reply-To: <1261963200-7136-2-git-send-email-ngupta@vflare.org>

On 2009-12-28, 06:50 +0530, Nitin Gupta wrote:
> +	ret = register_swap_event_notifier(&ramzswap_swapon_nb,
> +				SWAP_EVENT_SWAPON, 0);
> +	if (ret) {
> +		pr_err("Error registering swapon notifier\n");
> +		goto out;
> +	}
> +
> +	ret = register_swap_event_notifier(&ramzswap_swapoff_nb,
> +				SWAP_EVENT_SWAPOFF, 0);
> +	if (ret) {

Sorry, but an unregister here?

> +		pr_err("Error registering swapoff notifier\n");
> +		goto out;
> +	}
> +

  reply	other threads:[~2009-12-28 16:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-28  1:19 [PATCH 1/2] [mmotm] Add notifiers for various swap events Nitin Gupta
2009-12-28  1:20 ` [PATCH 2/2] [mmotm] ramzswap: add handlers " Nitin Gupta
2009-12-28 16:26   ` Yin Kangkai [this message]
2009-12-29  2:42     ` Nitin Gupta
2009-12-28  6:13 ` [PATCH 1/2] [mmotm] Add notifiers " Pekka Enberg
2009-12-28 10:21   ` Nitin Gupta
2009-12-28 15:02 ` Andi Kleen
2009-12-28 15:37   ` Nitin Gupta
2009-12-28 17:29     ` Andi Kleen
2009-12-28 18:43       ` Pekka Enberg
2009-12-28 19:23         ` Andi Kleen
2009-12-29  2:41           ` Nitin Gupta

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=20091228162648.GA29309@kai-nas \
    --to=kernel@holddreams.com \
    --cc=akpm@linux-foundation.org \
    --cc=hugh.dickins@tiscali.co.uk \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ngupta@vflare.org \
    --cc=penberg@cs.helsinki.fi \
    /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.