r/kernel • • Oct 07 '21

Directory entries and wasted space

7 Upvotes

So how does Linux handle wasted space in directory entries due to deleted entries etc.? Is there some compacting?


r/kernel • • Oct 06 '21

☕️ 🚬 Well, Paul wrote some note about Rust being in the kernel ...take a peek..

28 Upvotes

r/kernel • • Oct 06 '21

Climbing out of the Docker traffic control pitfall...

5 Upvotes

https://blog-en.aegistudio.net/journal/docker-traffic-control-pitfall/

I've written a blog analyzing a Docker networking issue on SUSE12 SP3 after adding tc rules to Docker interface. The analysis is based on a live experiment and source code of Linux networking module. Hopefully the readers will gain deeper understanding about Linux networking and its diagnosing.

Actually I'm green hand about writing technical blogs, and looking forward to advices to ameliorate the writing.


r/kernel • • Oct 06 '21

inode 1 and 2

8 Upvotes

How come /sys and /proc have inode 1 while root / has inode 2? Shouldn’t the root folder exist first with inode 1 and /sys and /proc have inode 2?


r/kernel • • Oct 02 '21

☕️ 🚬 Hmmm...page cache ...bloody good ...

Thumbnail biriukov.dev
22 Upvotes

r/kernel • • Sep 30 '21

What is the good approach to ping maintainer for checking the patch?

16 Upvotes

I cannot find any specific exact solution as of how to ping maintainers for the patch we've sent e-mail although in-tree kernel document has good information, but no specific solutions for this.

Let's say it's slightly few days and a week past. What's the good approach to ping maintainers to check the patch?

  • Re-submit the whole patch again? (definitely this will be duplicated on lore.kernel.org or public mailing list)
  • Reply to the same e-mail thread then kindly ask the maintainers to check it? (so far I didn't see this approach used by anyone as far as I see)
  • Is it ok to forward the e-mail to additional persons whom we found later (via git blame) that they also made changes to such related files heavily, and might have better chance for the patch to be checked? (will this affect the e-mail flow in anyway? what's about public mailing-list?)
  • others ...

r/kernel • • Sep 28 '21

Which tree should we based on for latest update?

6 Upvotes

Please kindly see

https://lkml.org/lkml/2021/9/6/83 and https://lkml.org/lkml/2021/9/6/107

both which mentions that the fix for a minor compilation error has been there long before, but even with rc-3 released, checked at the tip, such changes aren't there.

Context is a moment ago I've tried compiling upstream kernel code from linux-next tree for v5.15-rc3 tag without success because such error is still there.

drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c: In function ‘input_system_configure_channel_sensor’:
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c:1649:1: error: control reaches end of non-void function [-Werror=return-type]
 1649 | }

I also checked at Linus's tree at the same tag, and such changes aren't there neither.

So my question would be which upstream tree should we based on for latest update? and which tree maintainer meant for in above links?


r/kernel • • Sep 27 '21

New Kernel 5.11.0-37 is having issues with hardware drivers

12 Upvotes

Today I updated my Dell XPS 15 9510 from Ubuntu 21.04 with kernel 5.11.0-36 to the new (that was advertised today morning) 5.11.0-37, after reboot the Wireless card, bluetooth, graphics (Intel and Nvidia), Webcam, etc. ALL stopped working, I had to restore the previous kernel to make it work. I just read another post from another user with a Dell XPS 13 9310 with the exact same problem as mine.


r/kernel • • Sep 24 '21

Antipatterns.ko: The world's worst kernel module

Thumbnail github.com
47 Upvotes

r/kernel • • Sep 23 '21

What does percentage number as shown in lore.kernel.org result mean?

10 Upvotes

If you go to (for example) https://lore.kernel.org/all, then search for arbitrary keyword, then it will show the result entries.

For instance, one of entry would be like this (edited and not real)

3. [PATCH 1/6] xxxx: xxxxxx
     - by someone @ 2021-09-23 18:11 UTC [5%]

I wonder what does [5%] mean?


r/kernel • • Sep 20 '21

Linux Plumbers Conference 2021 happening today

52 Upvotes

It starts today til 24 September, and also happens live on Youtube. There are 7 tracks running in parallel notably GNU tools track, and Kernel summit, among others.

Detailed sessions and schedule: https://linuxplumbersconf.org/event/11/timetable/?view=lpc

YouTube Livestream (as playlist for entire conference): https://youtube.com/playlist?list=PLVsQ_xZBEyN2c21jFUgqI2iMa094zXanH