public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/2] enable pool shrinking in page unit
@ 2014-10-23 12:52 Gioh Kim
  2014-10-23 12:52 ` [RFC 1/2] staging: ion: shrink page-pool by " Gioh Kim
  2014-10-23 12:52 ` [RFC 2/2] staging: ion: debugfs to shrink pool Gioh Kim
  0 siblings, 2 replies; 9+ messages in thread
From: Gioh Kim @ 2014-10-23 12:52 UTC (permalink / raw)
  To: Greg Kroah-Hartman, John Stultz, Rebecca Schultz Zavin
  Cc: devel, linux-kernel, gunho.lee, gioh.kim

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-10-27 12:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-23 12:52 [RFC 0/2] enable pool shrinking in page unit Gioh Kim
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox