On (06/04/15 16:04), Minchan Kim wrote: [..] > How about using slab shrinker? > If there is memory pressure, it would be called by VM and we will > try compaction without user's intervention and excessive object > scanning should be avoid by your zs_can_compact.
hm, interesting. ok, have a patch to trigger compaction from shrinker, but need to test it more. will send the updated patchset tomorrow, I think. -ss > The concern I had about fragmentation spread out all over pageblock > should be solved as another issue. I'm plaing to make zsmalloced > page migratable. I hope we should work out it firstly to prevent > system heavy memory fragmentation by automatic compaction. > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/