zcache为什么被从内核剔除了?感觉很好的东西啊

内核编译和嵌入式产品的设计与开发
回复
科学之子
帖子: 2284
注册时间: 2013-05-26 6:58
系统: Debian 9

zcache为什么被从内核剔除了?感觉很好的东西啊

#1

帖子 科学之子 » 2015-12-28 2:22

zcache为什么被从内核剔除了?感觉很好的东西啊
site:(kernel.org) zcache ChangeLog 也没有搜出什么来...
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: zcache为什么被从内核剔除了?感觉很好的东西啊

#2

帖子 poloshiao » 2015-12-28 7:15

http://askubuntu.com/a/625731
https://bugs.launchpad.net/ubuntu/+sour ... ug/1256503
http://git.kernel.org/cgit/linux/kernel ... 6eb9e428f7
zcache is obsolete and not used anymore, Bob Liu has rewritten it and is submitting it for inclusion through the main -mm tree, as it should have been done in the first place...
科学之子
帖子: 2284
注册时间: 2013-05-26 6:58
系统: Debian 9

Re: zcache为什么被从内核剔除了?感觉很好的东西啊

#3

帖子 科学之子 » 2015-12-29 0:57

poloshiao 写了:http://askubuntu.com/a/625731
https://bugs.launchpad.net/ubuntu/+sour ... ug/1256503
http://git.kernel.org/cgit/linux/kernel ... 6eb9e428f7
zcache is obsolete and not used anymore, Bob Liu has rewritten it and is submitting it for inclusion through the main -mm tree, as it should have been done in the first place...

不好意思...这个结果我也自行搜索到过,但这句话什么意思,不明白,能说一下吗,感谢.
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: zcache为什么被从内核剔除了?感觉很好的东西啊

#4

帖子 vickycq » 2015-12-29 3:09

原始的 zcache 过于复杂,由于过时且使用率低,已于 Linux 3.11 移除
由 BobLiu 重写的 zcache 正通过 linux-mm 寻求重新加入。

Linux-mm of the moment - mmotm:
http://www.ozlabs.org/~akpm/mmotm/
Zram和(新)zcache已经进入staging tree,但staging tree中的代码中有时也是“失落的世界”的代名词。
Bob Liu 写了:Although the current version of zcache in staging tree has already done those
works mentioned above, the implementation is too complicated to be merged into
upstream.
What I'm looking for is a new way for zcache towards upstream.
The first change is no more staging tree.
Second is implemented a simple cleancache backend at first, which is based on
the zbud allocation same as zswap.
https://lkml.org/lkml/2013/7/24/249
https://lwn.net/Articles/562254/
http://linux-mm.org/
https://en.wikipedia.org/wiki/Mm_tree
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
头像
adam8157
帖子: 2794
注册时间: 2009-03-05 16:31
联系:

Re: zcache为什么被从内核剔除了?感觉很好的东西啊

#5

帖子 adam8157 » 2015-12-29 10:32

简单说就是没人用, 代码写的不好维护的不好也不推荐用, 等ng版的吧
回复