From: KOSAKI Motohiro <kosaki.motohiro@gmail.com>
To: Rafael Aquini <aquini@redhat.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
akpm@linux-foundation.org, hughd@google.com, shli@kernel.org,
kzak@redhat.com, jmoyer@redhat.com, kosaki.motohiro@gmail.com,
riel@redhat.com, lwoodman@redhat.com, mgorman@suse.de
Subject: Re: [PATCH 02/02] swapon: allow a more flexible swap discard policy
Date: Sun, 26 May 2013 12:32:17 -0400 [thread overview]
Message-ID: <51A23911.3060802@gmail.com> (raw)
In-Reply-To: <6346c223ca2acb30b35480b9d51638466aac5fe6.1369530033.git.aquini@redhat.com>
(5/26/13 12:31 AM), Rafael Aquini wrote:
> Introduce the necessary changes to swapon(8) allowing a sysadmin to leverage
> the new changes introduced to sys_swapon by "swap: discard while swapping
> only if SWAP_FLAG_DISCARD_PAGES", therefore allowing a more flexible set of
> choices when selection the discard policy for mounted swap areas.
> This patch introduces the following optional arguments to the already
> existent swapon(8) "--discard" option, in order to allow a discard type to
> be selected at swapon time:
> * once : only single-time area discards are issued. (swapon)
> * pages : discard freed pages before they are reused.
> If no policy is selected both discard types are enabled. (default)
>
> Signed-off-by: Rafael Aquini <aquini@redhat.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
WARNING: multiple messages have this Message-ID (diff)
From: KOSAKI Motohiro <kosaki.motohiro@gmail.com>
To: Rafael Aquini <aquini@redhat.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
akpm@linux-foundation.org, hughd@google.com, shli@kernel.org,
kzak@redhat.com, jmoyer@redhat.com, kosaki.motohiro@gmail.com,
riel@redhat.com, lwoodman@redhat.com, mgorman@suse.de
Subject: Re: [PATCH 02/02] swapon: allow a more flexible swap discard policy
Date: Sun, 26 May 2013 12:32:17 -0400 [thread overview]
Message-ID: <51A23911.3060802@gmail.com> (raw)
In-Reply-To: <6346c223ca2acb30b35480b9d51638466aac5fe6.1369530033.git.aquini@redhat.com>
(5/26/13 12:31 AM), Rafael Aquini wrote:
> Introduce the necessary changes to swapon(8) allowing a sysadmin to leverage
> the new changes introduced to sys_swapon by "swap: discard while swapping
> only if SWAP_FLAG_DISCARD_PAGES", therefore allowing a more flexible set of
> choices when selection the discard policy for mounted swap areas.
> This patch introduces the following optional arguments to the already
> existent swapon(8) "--discard" option, in order to allow a discard type to
> be selected at swapon time:
> * once : only single-time area discards are issued. (swapon)
> * pages : discard freed pages before they are reused.
> If no policy is selected both discard types are enabled. (default)
>
> Signed-off-by: Rafael Aquini <aquini@redhat.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
next prev parent reply other threads:[~2013-05-26 16:32 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-26 4:31 [PATCH 00/02] swap: allowing a more flexible DISCARD policy V2 Rafael Aquini
2013-05-26 4:31 ` Rafael Aquini
2013-05-26 4:31 ` [PATCH 01/02] swap: discard while swapping only if SWAP_FLAG_DISCARD_PAGES Rafael Aquini
2013-05-26 4:31 ` Rafael Aquini
2013-05-26 11:44 ` KOSAKI Motohiro
2013-05-26 11:44 ` KOSAKI Motohiro
2013-05-26 13:52 ` Rafael Aquini
2013-05-26 13:52 ` Rafael Aquini
2013-05-26 14:55 ` KOSAKI Motohiro
2013-05-26 14:55 ` KOSAKI Motohiro
2013-05-26 15:30 ` Rafael Aquini
2013-05-26 15:30 ` Rafael Aquini
2013-05-26 16:02 ` KOSAKI Motohiro
2013-05-26 16:02 ` KOSAKI Motohiro
2013-06-28 2:14 ` Shaohua Li
2013-06-28 2:14 ` Shaohua Li
2013-05-26 4:31 ` [PATCH 02/02] swapon: allow a more flexible swap discard policy Rafael Aquini
2013-05-26 4:31 ` Rafael Aquini
2013-05-26 16:32 ` KOSAKI Motohiro [this message]
2013-05-26 16:32 ` KOSAKI Motohiro
2013-08-23 11:03 ` Karel Zak
2013-08-23 11:03 ` Karel Zak
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=51A23911.3060802@gmail.com \
--to=kosaki.motohiro@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=aquini@redhat.com \
--cc=hughd@google.com \
--cc=jmoyer@redhat.com \
--cc=kzak@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lwoodman@redhat.com \
--cc=mgorman@suse.de \
--cc=riel@redhat.com \
--cc=shli@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.