通信人家园

标题: linux内核修改来了  [查看完整版帖子] [打印本页]

时间:  2021-6-21 23:45
作者: ugly.tom     标题: linux内核修改来了

本帖最后由 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 (2021-6-21 23:45, 63.83 KB) / 下载次数 0
https://www.txrjy.com/forum.php?mod=attachment&aid=NDg3MDA2fDE4ZGNkYjE5fDE3NTI5MTIxNTF8MHww
时间:  2021-6-22 07:05
作者: ugly.tom


时间:  2021-6-22 08:02
作者: 苟利国

本帖最后由 苟利国 于 2021-6-22 08:09 编辑

这个改动很精妙。既节约了内存,又提高了cpu运行效率,还缩小了flash的占用。黑子就知道瞎喷。鸿蒙的运行效率就是高。
时间:  2021-6-22 08:19
作者: w19274622

收藏
时间:  2021-6-22 08:25
作者: 非法用户

当事者间的回复

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

时间:  2021-6-22 08:30
作者: ugly.tom

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  
时间:  2021-6-22 08:45
作者: ugly.tom

看看这位的其他提交
时间:  2021-6-22 08:50
作者: highpeak

ugly.tom 发表于 2021-6-22 07:05

hw排NO.1,又要遭人抹黑了。
干得越多被喷得越多
时间:  2021-6-22 08:52
作者: 非法用户

因为该华为人提交补丁的近期风格和前期风格截然不同,即便没有KPI的考核,也让是让人感觉处于某压力下的行为。

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

remove了一些warning,好高端的样子
时间:  2021-6-22 10:01
作者: oooooooo

不懂,所以不说屁话
时间:  2021-6-22 10:02
作者: 非法用户

oooooooo 发表于 2021-6-22 10:01
不懂,所以不说屁话

这样的回答,也算是连带羞辱了别人
时间:  2021-6-22 10:04
作者: oooooooo

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

我只是希望懂行的说话,不懂行的就别不懂装懂了
时间:  2021-6-22 10:25
作者: cvvv1942

居然不用中文 明显不艾锅  华为被第五纵队渗透的这么严重 看来国家反间谍 反内奸 还任重而道远啊 深感痛心
时间:  2021-6-22 10:30
作者: 非法用户

oooooooo 发表于 2021-6-22 10:04
我只是希望懂行的说话,不懂行的就别不懂装懂了

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

时间:  2021-6-22 10:57
作者: oooooooo

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

你这才是断章取义吧?我那个回复的本意是减少无意义的互相攻击,这里的回复本意也是减少无意义的回复。
时间:  2021-6-22 11:03
作者: 非法用户

oooooooo 发表于 2021-6-22 10:57
你这才是断章取义吧?我那个回复的本意是减少无意义的互相攻击,这里的回复本意也是减少无意义的回复。

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

时间:  2021-6-22 11:04
作者: oooooooo

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

承认就好
时间:  2021-6-22 13:28
作者: 布洛芬缓释

别去修改老外的内核了,拿中文自己写一个不香吗?
时间:  2021-6-22 13:41
作者: 非法用户

oooooooo 发表于 2021-6-22 11:04
承认就好

我在回帖里首先声明了“断章取义”,也就不是所谓的“承认”。看帖子还得看完再回帖,不能总是想造一个稻草人出来
时间:  2021-6-22 13:46
作者: oooooooo

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

那下次把话说清楚,你那个回复谁知道你说的是自己啊
时间:  2021-6-22 17:04
作者: Suzhiwen

布洛芬缓释 发表于 2021-6-22 13:28
别去修改老外的内核了,拿中文自己写一个不香吗?

对,易语言写




通信人家园 (https://www.txrjy.com/) Powered by C114