-
Notifications
You must be signed in to change notification settings - Fork 16
What are the benefits of using a custom kernel? #27
Comments
The only reason I use a self-compiled Linux kernel is to be up to date with Linux upstream. I prefer to be as bleeding edge as possible to ensure there are no regressions that would impact me, as it is easier to catch problems when they happen versus further down the line. I have been rather busy so I have not been publishing releases as frequently as I would like but the source is up to date if you want to compile it yourself. |
So, in other words, there is no functional advantages or performance improvement in using wsl with the custom kernel? I use wsl for web development and want to understand if it makes sense to use a custom kernel. |
I wouldn't expect there to be any functional or noticeable performance improvements with this kernel over the stock WSL2 one. |
Ok, thanks! |
__nft_release_hooks() is called from pre_netns exit path which unregisters the hooks, then the NETDEV_UNREGISTER event is triggered which unregisters the hooks again. [ 565.221461] WARNING: CPU: 18 PID: 193 at net/netfilter/core.c:495 __nf_unregister_net_hook+0x247/0x270 [...] [ 565.246890] CPU: 18 PID: 193 Comm: kworker/u64:1 Tainted: G E 5.18.0-rc7+ #27 [ 565.253682] Workqueue: netns cleanup_net [ 565.257059] RIP: 0010:__nf_unregister_net_hook+0x247/0x270 [...] [ 565.297120] Call Trace: [ 565.300900] <TASK> [ 565.304683] nf_tables_flowtable_event+0x16a/0x220 [nf_tables] [ 565.308518] raw_notifier_call_chain+0x63/0x80 [ 565.312386] unregister_netdevice_many+0x54f/0xb50 Unregister and destroy netdev hook from netns pre_exit via kfree_rcu so the NETDEV_UNREGISTER path see unregistered hooks. Fixes: 767d121 ("netfilter: nftables: fix possible UAF over chains from packet path in netns") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
ERROR: code indent should use tabs where possible #27: FILE: fs/ntfs/attrib.c:598: +^I^I a->name_length * sizeof(ntfschar);$ total: 1 errors, 0 warnings, 8 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/ntfs-fix-use-after-free-in-ntfs_ucsncmp-v3.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: ChenXiaoSong <chenxiaosong2@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ERROR: code indent should use tabs where possible #27: FILE: fs/ntfs/attrib.c:598: +^I^I a->name_length * sizeof(ntfschar);$ total: 1 errors, 0 warnings, 8 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/ntfs-fix-use-after-free-in-ntfs_ucsncmp-v3.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: ChenXiaoSong <chenxiaosong2@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ERROR: code indent should use tabs where possible #26: FILE: mm/zsmalloc.c:1562: + * kunmap_atomic(d_addr). For more details see$ ERROR: code indent should use tabs where possible #27: FILE: mm/zsmalloc.c:1563: + * Documentation/mm/highmem$ total: 2 errors, 0 warnings, 10 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/zsmalloc-zs_object_copy-replace-email-link-to-doc.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Alexey Romanov <avromanov@sberdevices.ru> Cc: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ERROR: code indent should use tabs where possible #26: FILE: mm/zsmalloc.c:1562: + * kunmap_atomic(d_addr). For more details see$ ERROR: code indent should use tabs where possible #27: FILE: mm/zsmalloc.c:1563: + * Documentation/mm/highmem$ total: 2 errors, 0 warnings, 10 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/zsmalloc-zs_object_copy-replace-email-link-to-doc.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Alexey Romanov <avromanov@sberdevices.ru> Cc: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ERROR: code indent should use tabs where possible #26: FILE: mm/zsmalloc.c:1562: + * kunmap_atomic(d_addr). For more details see$ ERROR: code indent should use tabs where possible #27: FILE: mm/zsmalloc.c:1563: + * Documentation/mm/highmem$ total: 2 errors, 0 warnings, 10 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/zsmalloc-zs_object_copy-replace-email-link-to-doc.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Alexey Romanov <avromanov@sberdevices.ru> Cc: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ERROR: code indent should use tabs where possible #26: FILE: mm/zsmalloc.c:1562: + * kunmap_atomic(d_addr). For more details see$ ERROR: code indent should use tabs where possible #27: FILE: mm/zsmalloc.c:1563: + * Documentation/mm/highmem$ total: 2 errors, 0 warnings, 10 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/zsmalloc-zs_object_copy-replace-email-link-to-doc.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Alexey Romanov <avromanov@sberdevices.ru> Cc: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ERROR: code indent should use tabs where possible #26: FILE: mm/zsmalloc.c:1562: + * kunmap_atomic(d_addr). For more details see$ ERROR: code indent should use tabs where possible #27: FILE: mm/zsmalloc.c:1563: + * Documentation/mm/highmem$ total: 2 errors, 0 warnings, 10 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/zsmalloc-zs_object_copy-replace-email-link-to-doc.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Alexey Romanov <avromanov@sberdevices.ru> Cc: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ERROR: code indent should use tabs where possible #26: FILE: mm/zsmalloc.c:1562: + * kunmap_atomic(d_addr). For more details see$ ERROR: code indent should use tabs where possible #27: FILE: mm/zsmalloc.c:1563: + * Documentation/mm/highmem$ total: 2 errors, 0 warnings, 10 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/zsmalloc-zs_object_copy-replace-email-link-to-doc.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Alexey Romanov <avromanov@sberdevices.ru> Cc: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ERROR: code indent should use tabs where possible #26: FILE: mm/zsmalloc.c:1562: + * kunmap_atomic(d_addr). For more details see$ ERROR: code indent should use tabs where possible #27: FILE: mm/zsmalloc.c:1563: + * Documentation/mm/highmem$ total: 2 errors, 0 warnings, 10 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/zsmalloc-zs_object_copy-replace-email-link-to-doc.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Alexey Romanov <avromanov@sberdevices.ru> Cc: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ERROR: code indent should use tabs where possible #26: FILE: mm/zsmalloc.c:1562: + * kunmap_atomic(d_addr). For more details see$ ERROR: code indent should use tabs where possible #27: FILE: mm/zsmalloc.c:1563: + * Documentation/mm/highmem$ total: 2 errors, 0 warnings, 10 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/zsmalloc-zs_object_copy-replace-email-link-to-doc.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Alexey Romanov <avromanov@sberdevices.ru> Cc: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ERROR: code indent should use tabs where possible #26: FILE: mm/zsmalloc.c:1562: + * kunmap_atomic(d_addr). For more details see$ ERROR: code indent should use tabs where possible #27: FILE: mm/zsmalloc.c:1563: + * Documentation/mm/highmem$ total: 2 errors, 0 warnings, 10 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/zsmalloc-zs_object_copy-replace-email-link-to-doc.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Alexey Romanov <avromanov@sberdevices.ru> Cc: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ERROR: code indent should use tabs where possible #26: FILE: mm/zsmalloc.c:1562: + * kunmap_atomic(d_addr). For more details see$ ERROR: code indent should use tabs where possible #27: FILE: mm/zsmalloc.c:1563: + * Documentation/mm/highmem$ total: 2 errors, 0 warnings, 10 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/zsmalloc-zs_object_copy-replace-email-link-to-doc.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Alexey Romanov <avromanov@sberdevices.ru> Cc: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Hi! π
Sorry for the silly question β what are the benefits of using a custom kernel? Maybe some functionality appears which is not present in the standard Microsoft kernel or there are some performance improvements?
Could you at least briefly tell me what I can get by using your custom kernel?
The text was updated successfully, but these errors were encountered: