From: Gioh Kim <gioh.kim@lge.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
John Stultz <john.stultz@linaro.org>,
Rebecca Schultz Zavin <rebecca@android.com>
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
gunho.lee@lge.com, gioh.kim@lge.com
Subject: [RFC 0/2] enable pool shrinking in page unit
Date: Thu, 23 Oct 2014 21:52:18 +0900 [thread overview]
Message-ID: <1414068740-9553-1-git-send-email-gioh.kim@lge.com> (raw)
Hello,
Current shrinking is not page unit, block unit.
But shrinker returns the pools size with page unit.
So it is confused.
And there is no ways to shrink at any moment and any amount.
I have 2 patches:
1. Patch 1/2: make pool be shrinked by page unit
This patch trys to shrink pool in page unit.
2. Patch 2/2: enable debugfs to shrink pool directly
This patch enable debugfs to specify shrink amount.
Thanks for any feedback.
This patchset is based on linux-next-20141023.
Gioh Kim (2):
staging: ion: shrink page-pool by page unit
staging: ion: debugfs to shrink pool
drivers/staging/android/ion/ion.c | 31 +++++++------------------
drivers/staging/android/ion/ion_page_pool.c | 5 ++--
drivers/staging/android/ion/ion_system_heap.c | 7 ++++--
3 files changed, 16 insertions(+), 27 deletions(-)
--
1.7.9.5
next reply other threads:[~2014-10-23 12:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-23 12:52 Gioh Kim [this message]
2014-10-23 12:52 ` [RFC 1/2] staging: ion: shrink page-pool by " Gioh Kim
2014-10-23 20:36 ` Devendra Naga
2014-10-23 23:16 ` Gioh Kim
2014-10-23 23:31 ` Gioh Kim
2014-10-23 23:49 ` Devendra Naga
2014-10-23 12:52 ` [RFC 2/2] staging: ion: debugfs to shrink pool Gioh Kim
2014-10-27 11:42 ` Dan Carpenter
2014-10-27 12:52 ` Dan Carpenter
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=1414068740-9553-1-git-send-email-gioh.kim@lge.com \
--to=gioh.kim@lge.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=gunho.lee@lge.com \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rebecca@android.com \
/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®