Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753121AbaJXGrY (ORCPT ); Fri, 24 Oct 2014 02:47:24 -0400 Received: from lgeamrelo02.lge.com ([156.147.1.126]:39513 "EHLO lgeamrelo02.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751377AbaJXGqk (ORCPT ); Fri, 24 Oct 2014 02:46:40 -0400 X-Original-SENDERIP: 165.186.175.39 X-Original-MAILFROM: gioh.kim@lge.com From: Gioh Kim To: Greg Kroah-Hartman , John Stultz , Rebecca Schultz Zavin Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, gunho.lee@lge.com, gioh.kim@lge.com Subject: [RFCv2 0/3] enable pool shrinking in page unit Date: Fri, 24 Oct 2014 15:47:25 +0900 Message-Id: <1414133248-639-1-git-send-email-gioh.kim@lge.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/