通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索
查看: 4325|回复: 21
打印

linux内核修改来了 [复制链接]

军衔等级:

  二级军士长

注册:2011-4-19110
跳转到指定楼层
1#
发表于 2021-6-21 23:45:21 来自手机 |只看该作者 |倒序浏览
本帖最后由 ugly.tom 于 2021-6-22 10:34 编辑

大家看看改的咋样,还有这位的其他修改
13 days    tools/bootconfig: Fix error return code in apply_xbc()    Zhen Lei    1    -0/+1
2021-06-03    ieee802154: fix error return code in ieee802154_add_iface()    Zhen Lei    1    -1/+3
2021-05-27    HID: pidff: fix error return code in hid_pidff_init()    Zhen Lei    1    -0/+1
2021-05-24    vfio/pci: Fix error return code in vfio_ecap_init()    Zhen Lei    1    -1/+1
2021-05-24    cgroup: fix spelling mistakes    Zhen Lei    7    -12/+12
2021-05-22    lib: kunit: suppress a compilation warning of frame size    Zhen Lei    1    -0/+1
2021-05-17    net: bnx2: Fix error return code in bnx2_init_board()    Zhen Lei    1    -1/+1
2021-05-17    drm/exynos/decon5433: Remove redundant error printing in exynos5433_decon_pro...    Zhen Lei    1    -3/+1
2021-05-17    drm/exynos: Remove redundant error printing in exynos_dsi_probe()    Zhen Lei    1    -3/+1
2021-05-16    irqchip: Remove redundant error printing    Zhen Lei    3  

138ac4419f71e71d8075553fa04e484d.jpg (63.83 KB, 下载次数: 0)

138ac4419f71e71d8075553fa04e484d.jpg

举报本楼

军衔等级:

  二级军士长

注册:2011-4-19110
2#
发表于 2021-6-22 07:05:48 来自手机 |只看该作者

点评

highpeak  hw排NO.1,又要遭人抹黑了。 干得越多被喷得越多  详情 回复 发表于 2021-6-22 08:50

举报本楼

军衔等级:

  上等兵

注册:2021-2-2041
3#
发表于 2021-6-22 08:02:43 来自手机 |只看该作者
本帖最后由 苟利国 于 2021-6-22 08:09 编辑

这个改动很精妙。既节约了内存,又提高了cpu运行效率,还缩小了flash的占用。黑子就知道瞎喷。鸿蒙的运行效率就是高。

举报本楼

军衔等级:

  新兵

注册:2017-3-13
4#
发表于 2021-6-22 08:19:57 |只看该作者
收藏

举报本楼

军衔等级:

  上校

注册:2004-10-26322
5#
发表于 2021-6-22 08:25:59 |只看该作者
当事者间的回复

On 2021/6/21 下午6:56, Leizhen (ThunderTown) wrote:
> Hello, Qu:
>
> My contributions to the kernel in the past have mainly been on optimizing the performance of the ARM64 SMMU driver,
> including the iova optimization, strict mode optimization, and the lazy mode optimization. Also working on the
> development of some ARM SoC drivers.

You indeed have done solid contribution to the kernel in the past, thus
better could have been done.

>
> When time and effort is allowed, I also contribute to other modules of Linux kernel, trying to find something can be
> improved, and some cleanup work is being done.

I'm not saying cleanup is not important, in fact we have routinely
cleanups of typos/grammar for btrfs. (And I guess mostly caused by myself?)

Please at least merge all those small fixes into a larger patchset, and
with a good cover letter to explain the reason (and auto-tool to do the
change if possible) for all the involved maintainers, so that all of us
are on the same page.

>
> In the future, I will continue to make more and more important contributions to the Linux community.

Even without checking the git log, I can easily think of some big
contributions from your employer, like EROFS and F2FS.
Thus I don't have any doubt about that.


If you guys just want more ideas, there are tons of better things can be
done, for both newbie and veteran, which IMHO can benefit everyone in
the community:

- Better kernel CI/Zero-day testing
   One of the better example is Intel LKP, it caught quite some bugs.
   (although sometimes not that reproducible)
   If you guys could have such facility running for not only upstream
   kernels but also maintainers' trees, I have no doubt it will be well
   received.

- BUG_ON() removal
   I'm pretty sure there are quite some code using BUG_ON() to handle
   errors, especially for -ENOMEM (just handled a dozen in btrfs).
   Can't imagine a maintainer don't like this (of course with proper
   commit message)

- Error injection tests
   Especially when combined with above BUG_ON() removal.
   Any everyone can also learn some tricks from BCC community.

- Better code refactor for super long parameter lists/super deep loops
   I'm definitely not referring functions like submit_extent_page().
   Although if anyone has better way to refactor such functions, it would
   definitely be a good move.

- More comprehensive metadata check for various filesystems
   Not sure about other fses, as they have much less metadata usage.
   But we have almost member by member check for all metadata, it may
   be an interesting idea to enhance other filesystems too.

- More upstream phone/tablet support
   Especially for guys even running upstream kernel on RPI CM4 like me,
   more ARM devices with upstream kernel support will just be more
   happiness.

   Not to mention this also means super long time support, way longer
   than the lifespan of those devices.

   It's super sad to see just less than a dozen phones/tablets got
   upstream kernel support.
   Even more frustrating that those mainlined devices are already pretty
   old and slow for today's standard.

   If you guys can change the trend, it would be wonderful.

- More testing on extra page size
   Well, this is more or less related to my personal work, testing
   btrfs subpage support on 64K page sized Aarch64 platforms.

   Despite of my impure motivation, tests on new page size would
   definitely help everyone.

   (Looking at some M1 chips which doesn't even  support 64K page size
    at all)

Thanks,
Qu

举报本楼

军衔等级:

  二级军士长

注册:2011-4-19110
6#
发表于 2021-6-22 08:30:41 来自手机 |只看该作者
Age    Commit message (Expand)    Author    Files    Lines
13 days    tools/bootconfig: Fix error return code in apply_xbc()    Zhen Lei    1    -0/+1
2021-06-03    ieee802154: fix error return code in ieee802154_add_iface()    Zhen Lei    1    -1/+3
2021-05-27    HID: pidff: fix error return code in hid_pidff_init()    Zhen Lei    1    -0/+1
2021-05-24    vfio/pci: Fix error return code in vfio_ecap_init()    Zhen Lei    1    -1/+1
2021-05-24    cgroup: fix spelling mistakes    Zhen Lei    7    -12/+12
2021-05-22    lib: kunit: suppress a compilation warning of frame size    Zhen Lei    1    -0/+1
2021-05-17    net: bnx2: Fix error return code in bnx2_init_board()    Zhen Lei    1    -1/+1
2021-05-17    drm/exynos/decon5433: Remove redundant error printing in exynos5433_decon_pro...    Zhen Lei    1    -3/+1
2021-05-17    drm/exynos: Remove redundant error printing in exynos_dsi_probe()    Zhen Lei    1    -3/+1
2021-05-16    irqchip: Remove redundant error printing    Zhen Lei    3  

举报本楼

军衔等级:

  二级军士长

注册:2011-4-19110
7#
发表于 2021-6-22 08:45:39 来自手机 |只看该作者
看看这位的其他提交

举报本楼

军衔等级:

  三级通信军士

注册:2020-10-27135
8#
发表于 2021-6-22 08:50:54 |只看该作者
ugly.tom 发表于 2021-6-22 07:05

hw排NO.1,又要遭人抹黑了。
干得越多被喷得越多

举报本楼

军衔等级:

  上校

注册:2004-10-26322
9#
发表于 2021-6-22 08:52:50 |只看该作者
因为该华为人提交补丁的近期风格和前期风格截然不同,即便没有KPI的考核,也让是让人感觉处于某压力下的行为。

其实倒不是对这名补丁提交者有什么看法,而是对具有相同背景的若干人的相同行为所处环境(提交这种无太大意义的还有其他若干人)的好奇。

举报本楼

军衔等级:

  中士

注册:2018-9-27171
10#
发表于 2021-6-22 09:51:58 |只看该作者
remove了一些warning,好高端的样子

举报本楼

军衔等级:

  上将

注册:2009-2-182194
11#
发表于 2021-6-22 10:01:32 |只看该作者
不懂,所以不说屁话

点评

非法用户  这样的回答,也算是连带羞辱了别人  详情 回复 发表于 2021-6-22 10:02

举报本楼

军衔等级:

  上校

注册:2004-10-26322
12#
发表于 2021-6-22 10:02:59 |只看该作者
oooooooo 发表于 2021-6-22 10:01
不懂,所以不说屁话

这样的回答,也算是连带羞辱了别人

举报本楼

军衔等级:

  上将

注册:2009-2-182194
13#
发表于 2021-6-22 10:04:49 |只看该作者
非法用户 发表于 2021-6-22 10:02
这样的回答,也算是连带羞辱了别人

我只是希望懂行的说话,不懂行的就别不懂装懂了

点评

非法用户  断章取义用你在另外帖子里的话回复吧  详情 回复 发表于 2021-6-22 10:30

举报本楼

军衔等级:

  中士

注册:2018-4-21132
14#
发表于 2021-6-22 10:25:57 来自手机 |只看该作者
居然不用中文 明显不艾锅  华为被第五纵队渗透的这么严重 看来国家反间谍 反内奸 还任重而道远啊 深感痛心

举报本楼

军衔等级:

  上校

注册:2004-10-26322
15#
发表于 2021-6-22 10:30:22 |只看该作者
oooooooo 发表于 2021-6-22 10:04
我只是希望懂行的说话,不懂行的就别不懂装懂了

断章取义用你在另外帖子里的话回复吧
楼主发帖就是允许人评论

举报本楼

军衔等级:

  上将

注册:2009-2-182194
16#
发表于 2021-6-22 10:57:20 |只看该作者
非法用户 发表于 2021-6-22 10:30
断章取义用你在另外帖子里的话回复吧

你这才是断章取义吧?我那个回复的本意是减少无意义的互相攻击,这里的回复本意也是减少无意义的回复。

点评

非法用户  我真的是断章取义啊,  详情 回复 发表于 2021-6-22 11:03

举报本楼

军衔等级:

  上校

注册:2004-10-26322
17#
发表于 2021-6-22 11:03:15 |只看该作者
oooooooo 发表于 2021-6-22 10:57
你这才是断章取义吧?我那个回复的本意是减少无意义的互相攻击,这里的回复本意也是减少无意义的回复。

我真的是断章取义啊,
断章取义用你在另外帖子里的话回复吧

举报本楼

军衔等级:

  上将

注册:2009-2-182194
18#
发表于 2021-6-22 11:04:07 |只看该作者
非法用户 发表于 2021-6-22 11:03
我真的是断章取义啊,

承认就好

点评

非法用户  我在回帖里首先声明了“断章取义”,也就不是所谓的“承认”。看帖子还得看完再回帖,不能总是想造一个稻草人出来  详情 回复 发表于 2021-6-22 13:41

举报本楼

军衔等级:

  中士

注册:2021-6-152
19#
发表于 2021-6-22 13:28:40 |只看该作者
别去修改老外的内核了,拿中文自己写一个不香吗?

点评

Suzhiwen  对,易语言写  详情 回复 发表于 2021-6-22 17:04

举报本楼

军衔等级:

  上校

注册:2004-10-26322
20#
发表于 2021-6-22 13:41:43 |只看该作者
oooooooo 发表于 2021-6-22 11:04
承认就好

我在回帖里首先声明了“断章取义”,也就不是所谓的“承认”。看帖子还得看完再回帖,不能总是想造一个稻草人出来

举报本楼

您需要登录后才可以回帖 登录 | 注册 |

Archiver|手机版|C114 ( 沪ICP备12002291号-1 )|联系我们 |网站地图  

GMT+8, 2024-4-25 09:45 , Processed in 0.198031 second(s), 19 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部