linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFCv2 0/3] enable pool shrinking in page unit
@ 2014-10-24  6:47 Gioh Kim
  2014-10-24  6:47 ` [RFCv2 1/3] staging: ion: shrink page-pool by " Gioh Kim
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Gioh Kim @ 2014-10-24  6:47 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 pool size in page unit,
so it is confused.

And there is no way to control pool size and shrink pool directly.

I have 3 patches:

1. Patch 1/3: make pool be shrinked by page unit
This patch trys to shrink pool in page unit.

2. Patch 2/3: enable debugfs to shrink page directly
This patch enables debugfs to specify shrink amount.

3. Patch 3/3: limit pool size
This patch specifies pool size limit.

This patchset is based on linux-next-20141023.

Gioh Kim (3):
  staging: ion: shrink page-pool by page unit
  staging: ion: debugfs to shrink pool
  staging: ion: limit pool size

 drivers/staging/android/ion/Kconfig           |    4 ++++
 drivers/staging/android/ion/ion.c             |   31 +++++++------------------
 drivers/staging/android/ion/ion_page_pool.c   |   31 +++++++++++++++----------
 drivers/staging/android/ion/ion_system_heap.c |    7 ++++--
 4 files changed, 36 insertions(+), 37 deletions(-)

-- 
1.7.9.5


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

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

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24  6:47 [RFCv2 0/3] enable pool shrinking in page unit Gioh Kim
2014-10-24  6:47 ` [RFCv2 1/3] staging: ion: shrink page-pool by " Gioh Kim
2014-10-24 20:09   ` Laura Abbott
2014-10-27  0:01     ` Gioh Kim
2014-10-24  6:47 ` [RFCv2 2/3] staging: ion: debugfs to shrink pool Gioh Kim
2014-10-24 20:38   ` Laura Abbott
2014-10-27  0:24     ` Gioh Kim
2014-10-24  6:47 ` [RFCv2 3/3] staging: ion: limit pool size Gioh Kim
2014-10-24 20:53   ` Laura Abbott
2014-10-27  0:48     ` Gioh Kim

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).